]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe/rpm: use to_xe_device() instead of container_of
authorJani Nikula <jani.nikula@intel.com>
Wed, 7 May 2025 09:38:33 +0000 (12:38 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 16 May 2025 08:14:54 +0000 (11:14 +0300)
commit5779b26aafeebb177430f9b56832fcf716f32c53
treeb8a6eb4767b55918305b23a655121bb609d2c468
parentdb5302ae571beec635c1a96e7f72926a4e65195e
drm/xe/rpm: use to_xe_device() instead of container_of

Drop the dependency on display being a sub-struct of xe_device.

Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://lore.kernel.org/r/3528f2cd5965e97248c161b8aa25a9df69606a39.1746610601.git.jani.nikula@intel.com
drivers/gpu/drm/xe/display/xe_display_rpm.c