mbox series

[v2,0/2] Use i915 instead of dev_priv

Message ID 20230421190026.294208-1-andi.shyti@linux.intel.com (mailing list archive)
Headers show
Series Use i915 instead of dev_priv | expand

Message

Andi Shyti April 21, 2023, 7 p.m. UTC
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(-)