2010/1/5 Alex Deucher <alexdeuc...@gmail.com>:
> Updated patch to use bios tables attached.

What about reading clock of sideport memory? Standard way? Could we do
following?


diff --git a/drivers/gpu/drm/radeon/radeon_device.c
b/drivers/gpu/drm/radeon/radeon_device.c
index c49cda9..b996a5e 100644
--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -392,7 +392,7 @@ int radeon_asic_init(struct radeon_device *rdev)
                return -EINVAL;
        }

-       if (rdev->flags & RADEON_IS_IGP) {
+       if (rdev->flags & RADEON_IS_IGP && !rdev->mc.igp_sideport_enabled) {
                rdev->asic->get_memory_clock = NULL;
                rdev->asic->set_memory_clock = NULL;
        }


-- 
Rafał

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to