[Intel-gfx] [PATCH 2/2] drm/i915: Use wait_for_atomic_us when waiting for gt fifo

Mika Kuoppala mika.kuoppala at linux.intel.com
Wed May 3 09:54:27 UTC 2017


Chris Wilson <chris at chris-wilson.co.uk> writes:

>>  #define __raw_posting_read(dev_priv__, reg__) (void)__raw_i915_read32((dev_priv__), (reg__))
>>  
>> @@ -181,28 +182,26 @@ static inline u32 fifo_free_entries(struct drm_i915_private *dev_priv)
>>  
>>  static int __gen6_gt_wait_for_fifo(struct drm_i915_private *dev_priv)
>
> As this is patch 2/2, we could drop the int return here, and just make
> this a void function now.
> -Chris

Made it void and pushed. Thanks for the original 1/2 and
review!

-Mika


More information about the Intel-gfx mailing list