Re: [PATCH] drm/i915: Also perform gpu reset under execlist mode.

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

 



On Thu, Jun 25, 2015 at 10:40:15PM +0800, bing.niu@xxxxxxxxx wrote:
> From: "Niu,Bing" <bing.niu@xxxxxxxxx>
> 
> It is found that i915 will not reset gpu under execlist mode when
> unload module. that will lead to some issues when unload/load module
> with different submission mode. e.g. from execlist mode to ring
> buffer mode via loading/unloading i915. Because HW is not in a reset
> state and registers are not clean under such condition.

Now the reason we have the reset there is to disable writes to the power
context after the memory is released. Your complaint above can easily be
read as the driver is unable to correctly initialisae itself from a
random GPU state, which is a fault in driver initialisation.

Have you observed stray memory writes from the GPU after the module is
unloaded? If not, this would seem to be just a band-aid.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
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