Re: DRM_I915_GEM_OBJECT_MAX_PIN_COUNT failure on -current

From: Michael Butler <imb_at_protected-networks.net>
Date: Tue, 13 Dec 2016 13:45:28 -0500
On 12/13/16 12:07, Konstantin Belousov wrote:
> On Tue, Dec 13, 2016 at 11:49:37AM -0500, Michael Butler wrote:
>> I've been bitten by this twice on a KDE desktop in the last 24 hours ..
>> same error on both occasions :-(
>>
>> error: [drm:pid1197:i915_gem_object_pin] *ERROR* WARN ON: obj->pin_count
>> == DRM_I915_GEM_OBJECT_MAX_PIN_COUNT
>> pid 1197 (Xorg), uid 0: exited on signal 6 (core dumped)
>>
>>   [ .. ]
>>
>> error: [drm:pid16212:i915_gem_object_pin] *ERROR* WARN ON:
>> obj->pin_count == DRM_I915_GEM_OBJECT_MAX_PIN_COUNT
>> pid 16212 (Xorg), uid 0: exited on signal 6 (core dumped)
>>
>> I see only one change in the dev/drm2 sources (r309712) but there have
>> been many in the vm code.
>>
>> Any hints/pointers appreciated,
>
> This is indeed a bug in r309712, it seems.  Please try this.
>
> diff --git a/sys/dev/drm2/i915/i915_gem.c b/sys/dev/drm2/i915/i915_gem.c
> index 2a53ae8f8ed..0fa5249e553 100644
> --- a/sys/dev/drm2/i915/i915_gem.c
> +++ b/sys/dev/drm2/i915/i915_gem.c
> _at__at_ -1521,7 +1521,7 _at__at_ retry:

  [ .. ]

That seems to have fixed it - thanks for the quick response :-)

	Michael
Received on Tue Dec 13 2016 - 17:45:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:09 UTC