summaryrefslogtreecommitdiff
path: root/src/radeon_reg.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@nx6125b.(none)>2007-04-22 11:36:00 +1000
committerDave Airlie <airlied@linux.ie>2007-04-22 11:36:52 +1000
commit3828237200fc16d4d32664fb8358950c213d4897 (patch)
treeb7b59fdf393911798eeb83dca59758f0f67ff861 /src/radeon_reg.h
parentc81ed9bd7b37c9d02141d10f6c7bad3d0c57032f (diff)
radeon: add support for DDC on some laptop chipsets
I noticed fglrx has DDC for the panel in the rs480 laptop, however radeon didn't pick it up, so I valgrinded fglrx and spotted 0x1a0/0x1a4 accesses I actually noticed this before from the BIOS but never figured it out. So now I get DDC from the LCD on this laptop.
Diffstat (limited to 'src/radeon_reg.h')
-rw-r--r--src/radeon_reg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_reg.h b/src/radeon_reg.h
index b50fcf0a..0d5e5863 100644
--- a/src/radeon_reg.h
+++ b/src/radeon_reg.h
@@ -907,6 +907,8 @@
# define RADEON_IO_MCLK_MAX_DYN_STOP_LAT (1<<13)
# define RADEON_MC_MCLK_DYN_ENABLE (1 << 14)
# define RADEON_IO_MCLK_DYN_ENABLE (1 << 15)
+#define RADEON_LCD_GPIO_MASK 0x01a0
+#define RADEON_LCD_GPIO_Y_REG 0x01a4
#define RADEON_MDGPIO_A_REG 0x01ac
#define RADEON_MDGPIO_EN_REG 0x01b0
#define RADEON_MDGPIO_MASK 0x0198