Commit e9ea3639 authored by Connor Behan's avatar Connor Behan

Change register name

Surely this is a typo.
Signed-off-by: Connor Behan's avatarConnor Behan <connor.behan@gmail.com>
parent 3bbce424
......@@ -186,8 +186,8 @@ void R128DPMSSetOn(xf86OutputPtr output)
save->lvds_gen_cntl |= (R128_LVDS_ON | R128_LVDS_BLON);
break;
case MT_DFP:
OUTREGP(R128_FP_GEN_CNTL, (R128_FP_FPON | R128_FP_TDMS_EN), ~(R128_FP_FPON | R128_FP_TDMS_EN));
save->fp_gen_cntl |= (R128_FP_FPON | R128_FP_TDMS_EN);
OUTREGP(R128_FP_GEN_CNTL, (R128_FP_FPON | R128_FP_TMDS_EN), ~(R128_FP_FPON | R128_FP_TMDS_EN));
save->fp_gen_cntl |= (R128_FP_FPON | R128_FP_TMDS_EN);
break;
case MT_CRT:
OUTREGP(R128_CRTC_EXT_CNTL, R128_CRTC_CRT_ON, ~R128_CRTC_CRT_ON);
......@@ -213,8 +213,8 @@ void R128DPMSSetOff(xf86OutputPtr output)
save->lvds_gen_cntl &= ~(R128_LVDS_BLON | R128_LVDS_ON);
break;
case MT_DFP:
OUTREGP(R128_FP_GEN_CNTL, 0, ~(R128_FP_FPON | R128_FP_TDMS_EN));
save->fp_gen_cntl &= ~(R128_FP_FPON | R128_FP_TDMS_EN);
OUTREGP(R128_FP_GEN_CNTL, 0, ~(R128_FP_FPON | R128_FP_TMDS_EN));
save->fp_gen_cntl &= ~(R128_FP_FPON | R128_FP_TMDS_EN);
break;
case MT_CRT:
OUTREGP(R128_CRTC_EXT_CNTL, 0, ~(R128_CRTC_CRT_ON));
......
......@@ -599,7 +599,7 @@
#define R128_FP_GEN_CNTL 0x0284
# define R128_FP_FPON (1 << 0)
# define R128_FP_BLANK_DIS (1 << 1)
# define R128_FP_TDMS_EN (1 << 2)
# define R128_FP_TMDS_EN (1 << 2)
# define R128_FP_DETECT_SENSE (1 << 8)
# define R128_FP_SEL_CRTC2 (1 << 13)
# define R128_FP_CRTC_DONT_SHADOW_VPAR (1 << 16)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment