summaryrefslogtreecommitdiff
path: root/linux-core/radeon_mode.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2008-08-17 15:33:31 -0400
committerAlex Deucher <alexdeucher@gmail.com>2008-08-17 15:33:31 -0400
commit6af286079b57248405e543d7d99e111931983eac (patch)
tree079e357ea30c9f4423492a061a4a722f7f5e4b83 /linux-core/radeon_mode.h
parenta2adc696569de830c7a95722dd111bff706a0bbc (diff)
radeon: get primary dac adj info from bios tables
Diffstat (limited to 'linux-core/radeon_mode.h')
-rw-r--r--linux-core/radeon_mode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-core/radeon_mode.h b/linux-core/radeon_mode.h
index 3271375d..ee801604 100644
--- a/linux-core/radeon_mode.h
+++ b/linux-core/radeon_mode.h
@@ -368,6 +368,9 @@ struct radeon_encoder {
bool use_bios_dividers;
uint32_t lvds_gen_cntl;
+ /* legacy primary dac */
+ uint32_t ps2_pdac_adj;
+
/* legacy tv dac */
uint32_t ps2_tvdac_adj;
uint32_t ntsc_tvdac_adj;
@@ -439,6 +442,7 @@ extern bool radeon_combios_get_lvds_info(struct radeon_encoder *encoder);
extern bool radeon_combios_get_tmds_info(struct radeon_encoder *encoder);
extern bool radeon_combios_get_tv_info(struct radeon_encoder *encoder);
extern bool radeon_combios_get_tv_dac_info(struct radeon_encoder *encoder);
+extern bool radeon_combios_get_primary_dac_info(struct radeon_encoder *encoder);
extern void radeon_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green,
u16 blue, int regno);
struct drm_framebuffer *radeon_user_framebuffer_create(struct drm_device *dev,