Commit 4821e26a authored by Jani Nikula's avatar Jani Nikula
Browse files

drm/i915: relocate _VGA_MSR_WRITE register definition



Move _VGA_MSR_WRITE to intel_crt_regs.h. It's not necessarily the
optimal place for it, but hands down better than i915_reg.h.

Reviewed-by: default avatarLuca Coelho <luciano.coelho@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241213115111.335474-2-jani.nikula@intel.com


Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent aea0ec7e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -45,4 +45,6 @@
#define   ADPA_VSYNC_ACTIVE_HIGH		REG_BIT(4)
#define   ADPA_HSYNC_ACTIVE_HIGH		REG_BIT(3)

#define _VGA_MSR_WRITE _MMIO(0x3c2)

#endif /* __INTEL_CRT_REGS_H__ */
+0 −2
Original line number Diff line number Diff line
@@ -144,8 +144,6 @@
#define GEN6_STOLEN_RESERVED_ENABLE	(1 << 0)
#define GEN11_STOLEN_RESERVED_ADDR_MASK	(0xFFFFFFFFFFFULL << 20)

#define _VGA_MSR_WRITE _MMIO(0x3c2)

#define _GEN7_PIPEA_DE_LOAD_SL	0x70068
#define _GEN7_PIPEB_DE_LOAD_SL	0x71068
#define GEN7_PIPE_DE_LOAD_SL(pipe) _MMIO_PIPE(pipe, _GEN7_PIPEA_DE_LOAD_SL, _GEN7_PIPEB_DE_LOAD_SL)