drm/i915: fix PIPE_DDI_PORT_MASK
Subsystems (2)
PATCH 1/1 drm/i915: fix PIPE_DDI_PORT_MASK
From: Paulo Zanoni <[email protected]>
Only bits 30:28, bit 31 is PIPE_DDI_FUNC_ENABLE.
Signed-off-by Paulo Zanoni <[email protected]>
--- drivers/gpu/drm/i915/i915_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/i915_reg.h +1 -1
@@ -4282,7 +4282,7 @@ PIPE_DDI_FUNC_CTL_B)#define PIPE_DDI_FUNC_ENABLE (1<<31)/* Those bits are ignored by pipe EDP since it can only connect to DDI A */ -#define PIPE_DDI_PORT_MASK (0xf<<28) +#define PIPE_DDI_PORT_MASK (7<<28)#define PIPE_DDI_SELECT_PORT (x) ((x)<<28)#define PIPE_DDI_MODE_SELECT_HDMI (0<<24)#define PIPE_DDI_MODE_SELECT_DVI (1<<24)
Signature · 1 line
1.7.10.2
Daniel Vetter
AppliedQuoted 5 lines · Paulo Zanoni
From: Paulo Zanoni <[email protected]>
Only bits 30:28, bit 31 is
PIPE_DDI_FUNC_ENABLE.Signed-off-by Paulo Zanoni <[email protected]>
Queued for -next, thanks for the patch.
-Daniel
Signature · 3 lines
Daniel Vetter Mail: [email protected] Mobile: +41 (0)79 365 57 48