summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_reg.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-03-31 05:41:35 +0200
committerDave Airlie <airlied@redhat.com>2010-04-01 04:50:46 +0200
commitd668046c13024d74af7d04a124ba55f406380fe7 (patch)
tree41ef48d72324f88211e279a56bd7f43563a3e366 /drivers/gpu/drm/radeon/radeon_reg.h
parentdrm/radeon/kms: rs400/480 should set common registers. (diff)
downloadlinux-d668046c13024d74af7d04a124ba55f406380fe7.tar.xz
linux-d668046c13024d74af7d04a124ba55f406380fe7.zip
drm/radeon/kms: enable ACPI powermanagement mode on radeon gpus.
Some GPUs have an APM/ACPI PM mode selection switch and some BIOSes set this to APM. We really want this in ACPI mode for Linux. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/radeon/radeon_reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_reg.h b/drivers/gpu/drm/radeon/radeon_reg.h
index 5c0dc082d330..eabbc9cf30a7 100644
--- a/drivers/gpu/drm/radeon/radeon_reg.h
+++ b/drivers/gpu/drm/radeon/radeon_reg.h
@@ -346,6 +346,7 @@
# define RADEON_TVPLL_PWRMGT_OFF (1 << 30)
# define RADEON_TVCLK_TURNOFF (1 << 31)
#define RADEON_PLL_PWRMGT_CNTL 0x0015 /* PLL */
+# define RADEON_PM_MODE_SEL (1 << 13)
# define RADEON_TCL_BYPASS_DISABLE (1 << 20)
#define RADEON_CLR_CMP_CLR_3D 0x1a24
#define RADEON_CLR_CMP_CLR_DST 0x15c8