]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/intel: add pick.h for the various "picker" helpers
authorJani Nikula <jani.nikula@intel.com>
Wed, 25 Feb 2026 17:57:09 +0000 (19:57 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 4 Mar 2026 11:04:29 +0000 (13:04 +0200)
commit3c35731b7296a9c2e621387587a3e4cebb3bce8b
tree16a7471e45a3e2c54009f73b9dfb9531248ff919
parent242ab49aca7fa754c31d66f1c846396832dbece3
drm/intel: add pick.h for the various "picker" helpers

Add a shared header that's used by i915, xe, and i915 display.

This allows us to drop the compat-i915-headers/i915_reg_defs.h include
from xe_reg_defs.h. All the register macro helpers were subtly pulled in
from i915 to all of xe through this.

Reviewed-by: MichaƂ Grzelak <michal.grzelak@intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patch.msgid.link/fcd70f3317755bf98a6e7ae88974aa8ba06efd1e.1772042022.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_reg_defs.h
drivers/gpu/drm/xe/compat-i915-headers/intel_uncore.h
drivers/gpu/drm/xe/regs/xe_reg_defs.h
include/drm/intel/pick.h [new file with mode: 0644]