[Intel-gfx] [PATCH v2 0/2] Use i915 instead of dev_priv

Andi Shyti andi.shyti at linux.intel.com
Fri Apr 21 19:00:24 UTC 2023


Hi,

just another "Friday patch". While reviewing some patches from
Tejas I found a bit confusing the use of dev_priv__ inside the
for_each_engine(), perhaps it should be moved inside the gt/?

As I was at it I made the /dev_priv/i915/ change which is still
harmless. Next in queue is to change the i915_irq.h, which is a
bit tricky (but not much) as the "dev_priv" is hardcoded inside
some defines.

Thank you Andrzej and Rodrigo for your reviews.

Andi

Changelog
=========
v1 -> v2
 - Fix double typo in the patch 1 commit:
   /for_each_gt/for_each_engine/
 - Phrase properly the commit of patch 2.

Andi Shyti (2):
  drm/i915/i915_drv: Use proper parameter naming in for_each_engine()
  drm/i915/i915_drv: Use i915 instead of dev_priv insied the file_priv
    structure

 drivers/gpu/drm/i915/i915_drv.h | 462 ++++++++++++++++----------------
 1 file changed, 231 insertions(+), 231 deletions(-)

-- 
2.40.0



More information about the Intel-gfx mailing list