summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorIlija Hadzic <ihadzic@research.bell-labs.com>2012-12-19 10:35:41 -0500
committerMichel Dänzer <michel.daenzer@amd.com>2013-01-03 10:47:48 +0100
commit61d0aec40e2521488c2fe43e7a6823e5c87d94d7 (patch)
treeb7678312f211fd803a6b845480c506aefbdd0ccb /src/radeon.h
parenta60d2152e928a7011fc7c44a885a34c3cdd4f0fe (diff)
video: add option to include disabled CRTCs in best CRTC search
This patch adds an option called consider_disabled to radeon_pick_best_crtc function. If this option is set and searching for best-fit CRTC yields nothing, the search will be widened to include CRTCs in DPMS "off" state. The new option is not used yet; it will be in the patches to follow. v2: Do not look at the CRTC mode, we only care about its box. Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 0ad14114..0ae3d1e5 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -516,6 +516,7 @@ extern void RADEONInitVideo(ScreenPtr pScreen);
extern void RADEONResetVideo(ScrnInfoPtr pScrn);
extern Bool radeon_load_bicubic_texture(ScrnInfoPtr pScrn);
extern xf86CrtcPtr radeon_pick_best_crtc(ScrnInfoPtr pScrn,
+ Bool consider_disabled,
int x1, int x2, int y1, int y2);
extern void radeon_cs_flush_indirect(ScrnInfoPtr pScrn);