diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv04_tv.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv04_tv.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/gpu/drm/nouveau/nv04_tv.c b/drivers/gpu/drm/nouveau/nv04_tv.c index 0b5d012d7c28..3eb605ddfd03 100644 --- a/drivers/gpu/drm/nouveau/nv04_tv.c +++ b/drivers/gpu/drm/nouveau/nv04_tv.c | |||
@@ -49,8 +49,8 @@ static struct i2c_board_info nv04_tv_encoder_info[] = { | |||
49 | 49 | ||
50 | int nv04_tv_identify(struct drm_device *dev, int i2c_index) | 50 | int nv04_tv_identify(struct drm_device *dev, int i2c_index) |
51 | { | 51 | { |
52 | return nouveau_i2c_identify(dev, "TV encoder", | 52 | return nouveau_i2c_identify(dev, "TV encoder", nv04_tv_encoder_info, |
53 | nv04_tv_encoder_info, i2c_index); | 53 | NULL, i2c_index); |
54 | } | 54 | } |
55 | 55 | ||
56 | 56 | ||
@@ -99,12 +99,10 @@ static void nv04_tv_bind(struct drm_device *dev, int head, bool bind) | |||
99 | 99 | ||
100 | state->tv_setup = 0; | 100 | state->tv_setup = 0; |
101 | 101 | ||
102 | if (bind) { | 102 | if (bind) |
103 | state->CRTC[NV_CIO_CRE_LCD__INDEX] = 0; | ||
104 | state->CRTC[NV_CIO_CRE_49] |= 0x10; | 103 | state->CRTC[NV_CIO_CRE_49] |= 0x10; |
105 | } else { | 104 | else |
106 | state->CRTC[NV_CIO_CRE_49] &= ~0x10; | 105 | state->CRTC[NV_CIO_CRE_49] &= ~0x10; |
107 | } | ||
108 | 106 | ||
109 | NVWriteVgaCrtc(dev, head, NV_CIO_CRE_LCD__INDEX, | 107 | NVWriteVgaCrtc(dev, head, NV_CIO_CRE_LCD__INDEX, |
110 | state->CRTC[NV_CIO_CRE_LCD__INDEX]); | 108 | state->CRTC[NV_CIO_CRE_LCD__INDEX]); |