]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/libdrm.git/commitdiff
radeon: disable HDP read cache for now
authorDave Airlie <airlied@redhat.com>
Mon, 10 Nov 2008 05:25:12 +0000 (15:25 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 10 Nov 2008 05:25:12 +0000 (15:25 +1000)
shared-core/radeon_cp.c
shared-core/radeon_drv.h

index 73192d03c7c43a61e8fd7f7aafd888e36c75e529..a087829e4e6fc99c5942c1281bf1bd7e5ae3d457 100644 (file)
@@ -2519,6 +2519,9 @@ int radeon_modeset_cp_init(struct drm_device *dev)
 
        r300_init_reg_flags(dev);
 
+       /* turn off HDP read cache for now */
+       RADEON_WRITE(RADEON_HOST_PATH_CNTL, RADEON_READ(RADEON_HOST_PATH_CNTL) | RADEON_HP_LIN_RD_CACHE_DIS);
+             
 #if __OS_HAS_AGP
        if (dev_priv->flags & RADEON_IS_AGP)
                radeon_modeset_agp_init(dev);
index 828ad3f9fc5402507a9935463d41f3bf6adffcfe..cd6837955dc83fcebe022cce56ee8184d471b837 100644 (file)
@@ -791,8 +791,10 @@ int radeon_resume(struct drm_device *dev);
 #       define R500_DISPLAY_INT_STATUS          (1 << 0)
 
 #define RADEON_HOST_PATH_CNTL               0x0130
-#       define RADEON_HDP_SOFT_RESET        (1 << 26)
 #       define RADEON_HDP_APER_CNTL         (1 << 23)
+#       define RADEON_HP_LIN_RD_CACHE_DIS   (1 << 24)
+#       define RADEON_HDP_SOFT_RESET        (1 << 26)
+#       define RADEON_HDP_READ_BUFFER_INVALIDATED (1 << 27)
 
 #define RADEON_NB_TOM                       0x15c