This is a note to let you know that I've just added the patch titled
drm/nv50/kms: use dac loadval from vbios, where it's available
to the 3.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-nv50-kms-use-dac-loadval-from-vbios-where-it-s-available.patch
and it can be found in the queue-3.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From d40ee48acde16894fb3b241d7e896d5fa84e0f10 Mon Sep 17 00:00:00 2001
From: Ben Skeggs <[email protected]>
Date: Mon, 3 Jun 2013 16:40:14 +1000
Subject: drm/nv50/kms: use dac loadval from vbios, where it's available
From: Ben Skeggs <[email protected]>
commit d40ee48acde16894fb3b241d7e896d5fa84e0f10 upstream.
Regression from merging the old nv50/nvd9 code together, and may be
needed to fully fix fdo#64904.
The value is ignored completely by the hardware starting from nva3.
Reported-by: Emil Velikov <[email protected]>
Signed-off-by: Ben Skeggs <[email protected]>
---
drivers/gpu/drm/nouveau/nv50_display.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- 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 *enco
{
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)
Patches currently in stable-queue which might be from [email protected] are
queue-3.9/drm-nv50-kms-use-dac-loadval-from-vbios-where-it-s-available.patch
queue-3.9/drm-nv50-disp-force-dac-power-state-during-load-detect.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html