Re: [PATCH 3/4] drm/i915: Convert wait_for(I915_READ(reg)) to intel_wait_for_register()

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

 



On Thu, Jun 30, 2016 at 02:27:55PM +0100, Tvrtko Ursulin wrote:
> On 30/06/16 12:30, Chris Wilson wrote:
> >By using the out-of-line intel_wait_for_register() not only do we can
> >efficiency from using the hybrid wait_for() contained within, but we
> >avoid code bloat from the numerous inlined loops:
> >
> >    text    data     bss     dec     hex filename
> >1078551    4557     416 1083524  108884 drivers/gpu/drm/i915/i915.ko
> >1070775    4557     416 1075748  106a24 drivers/gpu/drm/i915/i915.ko
> >
> >Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>

> Read it all and did not spot any errors.
> 
> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>

I think I will split this patch into per-file changes just to help
bisection, just in case. I just wanted to share how big an impact this
is. (There are still more we can do mostly for vlv sidebands.)

Mind if I keep your r-b tag on splitting?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://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