]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/compat: remove old pcode compat interface
authorJani Nikula <jani.nikula@intel.com>
Mon, 23 Jun 2025 11:43:49 +0000 (14:43 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 23 Jun 2025 18:45:17 +0000 (21:45 +0300)
commit54fd8f38d804fa1353cf3c12113f0a98a4d41adf
treebe55098fde8590150fa02fdca31ea06b2ac75e88
parent2a9b1baa27751c73f96ef6077888c7688195b55e
drm/xe/compat: remove old pcode compat interface

With display code using the struct drm_device based pcode interface, we
can drop the old pcode compat interface.

We can also drop the __compat_uncore_to_tile() helper from
intel_uncore.h compat header.

Turns out a couple of headers depended on the intel_uncore.h include via
intel_pcode.h. Fix them.

Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://lore.kernel.org/r/948016a031dcb2acef0c97071aac09fa49613e07.1750678991.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_bw.c
drivers/gpu/drm/i915/soc/intel_dram.c
drivers/gpu/drm/xe/compat-i915-headers/intel_pcode.h
drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h