]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/crt: Clean up ADPA_HOTPLUG_BITS definitions
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 7 Nov 2024 16:11:18 +0000 (18:11 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 11 Nov 2024 21:51:20 +0000 (23:51 +0200)
commitf8d3e1aedb97ed1e5fa0235b1fed505c002ab872
tree8b239a62a53d88750717b25baf4904813fb1c752
parent4711e5946dccc5ee69d9e9bcf4f89fbe95084424
drm/i915/crt: Clean up ADPA_HOTPLUG_BITS definitions

ADPA_HOTPLUG_BITS is defined in terms of the individual
register bits and is defined in intel_crt.c, whereas the
counterpart mask (ADPA_CRT_HOTPLUG_MASK) is just defined
as a raw hex constant and lives in i915_reg.h. Just define
both the same way (with unified name to boot) and move both
to intel_crt.c since they are more an implementation detail
rather than anything to do with the actual register definitions.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241107161123.16269-6-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_crt.c
drivers/gpu/drm/i915/i915_reg.h