diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-03-31 00:33:27 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-03-31 00:54:47 -0400 |
commit | f46c01208da1881591e3f55ca77d37f54469f8e4 (patch) | |
tree | 39b9169c70da504b80440b85b5ef2ffa4394d25f /drivers/gpu/drm/radeon/radeon.h | |
parent | 3b01a1191fe76bd11e5743eceed7c25d8157239e (diff) |
drm/radeon/kms: display watermark updates (v2)
- Add module option to force the display priority
0 = auto, 1 = normal, 2 = high
- Default to high on r3xx/r4xx/rv515 chips
Fixes flickering problems during heavy acceleration
due to underflow to the display controllers
- Fill in minimal support for RS600
v2 - update display priority when bandwidth is updated
so the user can change the parameter at runtime and it
will take affect on the next modeset.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 4ee5cb98956d..1710b9e3ef7d 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -91,6 +91,7 @@ extern int radeon_tv; | |||
91 | extern int radeon_new_pll; | 91 | extern int radeon_new_pll; |
92 | extern int radeon_dynpm; | 92 | extern int radeon_dynpm; |
93 | extern int radeon_audio; | 93 | extern int radeon_audio; |
94 | extern int radeon_disp_priority; | ||
94 | 95 | ||
95 | /* | 96 | /* |
96 | * Copy from radeon_drv.h so we don't have to include both and have conflicting | 97 | * Copy from radeon_drv.h so we don't have to include both and have conflicting |
@@ -1181,6 +1182,7 @@ extern int radeon_modeset_init(struct radeon_device *rdev); | |||
1181 | extern void radeon_modeset_fini(struct radeon_device *rdev); | 1182 | extern void radeon_modeset_fini(struct radeon_device *rdev); |
1182 | extern bool radeon_card_posted(struct radeon_device *rdev); | 1183 | extern bool radeon_card_posted(struct radeon_device *rdev); |
1183 | extern void radeon_update_bandwidth_info(struct radeon_device *rdev); | 1184 | extern void radeon_update_bandwidth_info(struct radeon_device *rdev); |
1185 | extern void radeon_update_display_priority(struct radeon_device *rdev); | ||
1184 | extern bool radeon_boot_test_post_card(struct radeon_device *rdev); | 1186 | extern bool radeon_boot_test_post_card(struct radeon_device *rdev); |
1185 | extern int radeon_clocks_init(struct radeon_device *rdev); | 1187 | extern int radeon_clocks_init(struct radeon_device *rdev); |
1186 | extern void radeon_clocks_fini(struct radeon_device *rdev); | 1188 | extern void radeon_clocks_fini(struct radeon_device *rdev); |