http://www.botchco.com/alex/xorg/drm-rawhide/0001-AVIVO-fix-dac-load-detection.patch

>From 543cdebab5266bc45cbda6b431d26fe4ebf89984 Mon Sep 17 00:00:00 2001
From: Alex Deucher <[email protected]>
Date: Wed, 18 Mar 2009 12:03:16 -0400
Subject: [PATCH] AVIVO: fix dac load detection

Signed-off-by: Alex Deucher <[email protected]>
---
 drivers/gpu/drm/radeon/radeon_encoders.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/radeon/radeon_encoders.c
b/drivers/gpu/drm/radeon/radeon_encoders.c
index a191644..3c1e1b8 100644
--- a/drivers/gpu/drm/radeon/radeon_encoders.c
+++ b/drivers/gpu/drm/radeon/radeon_encoders.c
@@ -1557,7 +1557,8 @@ atombios_dac_load_detect(struct drm_encoder *encoder)

                args.sDacload.ucMisc = 0;

-               if (radeon_encoder->encoder_id == 
ENCODER_OBJECT_ID_INTERNAL_DAC1)
+               if ((radeon_encoder->encoder_id == 
ENCODER_OBJECT_ID_INTERNAL_DAC1) ||
+                   (radeon_encoder->encoder_id == 
ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC1))
                        args.sDacload.ucDacType = ATOM_DAC_A;
                else
                        args.sDacload.ucDacType = ATOM_DAC_B;
-- 
1.5.6.3

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to