diff options
author | Dave Airlie <airlied@redhat.com> | 2013-06-05 14:35:08 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-06-05 14:35:08 +1000 |
commit | 0e32fde96bb9c1fa8fa477e52c1d6ae2f4995cea (patch) | |
tree | 41fd0184ff07ec33896c742251d971d655706331 /drivers/gpu/drm/nouveau/nv50_display.c | |
parent | 943079e111bde93ed972d21618d1d73e75ba0d09 (diff) | |
parent | d40ee48acde16894fb3b241d7e896d5fa84e0f10 (diff) | |
download | linux-0e32fde96bb9c1fa8fa477e52c1d6ae2f4995cea.tar.gz linux-0e32fde96bb9c1fa8fa477e52c1d6ae2f4995cea.tar.bz2 linux-0e32fde96bb9c1fa8fa477e52c1d6ae2f4995cea.zip |
Merge branch 'drm-nouveau-fixes-3.10' of git://anongit.freedesktop.org/git/nouveau/linux-2.6 into drm-fixes
Multiple nouveau regression fixes, hdmi audio, s/r and dac load detection
* 'drm-nouveau-fixes-3.10' of git://anongit.freedesktop.org/git/nouveau/linux-2.6:
drm/nv50/kms: use dac loadval from vbios, where it's available
drm/nv50/disp: force dac power state during load detect
drm/nv50-nv84/fifo: fix resume regression introduced by playlist race fix
drm/nv84/disp: Fix HDMI audio regression
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_display.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nv50_display.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c index ebf0a683305e..dd5e01f89f28 100644 --- a/drivers/gpu/drm/nouveau/nv50_display.c +++ b/drivers/gpu/drm/nouveau/nv50_display.c @@ -1554,7 +1554,9 @@ nv50_dac_detect(struct drm_encoder *encoder, struct drm_connector *connector) { struct nv50_disp *disp = nv50_disp(encoder->dev); int ret, or = nouveau_encoder(encoder)->or; - u32 load = 0; + u32 load = nouveau_drm(encoder->dev)->vbios.dactestval; + if (load == 0) + load = 340; ret = nv_exec(disp->core, NV50_DISP_DAC_LOAD + or, &load, sizeof(load)); if (ret || load != 7) |