diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvd0_display.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvd0_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvd0_display.c b/drivers/gpu/drm/nouveau/nvd0_display.c index 9bb28b030f4b..758daf709a99 100644 --- a/drivers/gpu/drm/nouveau/nvd0_display.c +++ b/drivers/gpu/drm/nouveau/nvd0_display.c | |||
@@ -1176,7 +1176,7 @@ nvd0_dac_detect(struct drm_encoder *encoder, struct drm_connector *connector) | |||
1176 | { | 1176 | { |
1177 | struct nvd0_disp *disp = nvd0_disp(encoder->dev); | 1177 | struct nvd0_disp *disp = nvd0_disp(encoder->dev); |
1178 | int ret, or = nouveau_encoder(encoder)->or; | 1178 | int ret, or = nouveau_encoder(encoder)->or; |
1179 | u32 load; | 1179 | u32 load = 0; |
1180 | 1180 | ||
1181 | ret = nv_exec(disp->core, NV50_DISP_DAC_LOAD + or, &load, sizeof(load)); | 1181 | ret = nv_exec(disp->core, NV50_DISP_DAC_LOAD + or, &load, sizeof(load)); |
1182 | if (ret || load != 7) | 1182 | if (ret || load != 7) |