Re: [PATCH] drm/i915: Don't scream if there's no context for reset stats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 10, 2014 at 7:30 PM, Ben Widawsky <ben@xxxxxxxxxxxx> wrote:
> On Mon, Mar 10, 2014 at 09:44:22AM +0100, Daniel Vetter wrote:
>> It can happen ...
>>
>> Fix up the check to match pre-gen6 reality where we don't have hw
>> contexts and hence also don't need to set the reset status on them.
>>
>> This blows up when running any gpu reset testcase since for pre-gen6
>> request->ctx is NULL. With this my ilk here is happy again.
>>
>> This regression has been introduced in
>>
>> commit 44e2c0705a19e09d7b0f30a591f92e473e5ef89e
>> Author: Mika Kuoppala <mika.kuoppala@xxxxxxxxxxxxxxx>
>> Date:   Thu Jan 30 16:01:15 2014 +0200
>>
>>     drm/i915: Use i915_hw_context to set reset stats
>>
>> Cc: Mika Kuoppala <mika.kuoppala@xxxxxxxxxxxxxxx>
>> Cc: Ben Widawsky <ben@xxxxxxxxxxxx>
>> Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxx>
>
> Did you try playing around with setting last_context to
> private_default_context? That is more in line with the original outlined
> approach of "every platform has a context, be they fake, or real."

Nope. Currently the tests for that are a bit busted, so I think we
should do that when we fix things up generally. Mika seems to be
working on this. For now this keeps my machines happy. There's also
the problem that our QA seems to have missed this ...
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux