]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe/display: Remove dereferences of ggtt for tile id
authorMaarten Lankhorst <dev@lankhorst.se>
Mon, 5 May 2025 12:19:17 +0000 (14:19 +0200)
committerMaarten Lankhorst <dev@lankhorst.se>
Mon, 9 Jun 2025 08:21:45 +0000 (10:21 +0200)
commitea54d492853275b92a2407825d61bd8df8760cfd
treeb7e0b094d0b35d4d627af83e86f1b1032222bdc8
parente0ee402750e12e35a14e8abe794544972eba8c92
drm/xe/display: Remove dereferences of ggtt for tile id

Obtain the id from the root tile. Likely this can be hardcoded to 0,
but use the clean solution of obtaining root id and doing that.

to_xe_device(ggtt->tile) can also be easily replaced with xe.

Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250505121924.921544-5-dev@lankhorst.se
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
drivers/gpu/drm/xe/display/xe_fb_pin.c