summaryrefslogtreecommitdiff
path: root/src/radeon_crtc.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2007-08-23 19:51:47 +1000
committerDave Airlie <airlied@redhat.com>2007-08-23 19:51:47 +1000
commit81a8093f2ffdce59d4e8a44f65f3d5c771fd6425 (patch)
treeb77bb8f8211ad1e670d2c25a793a8633dc32ae55 /src/radeon_crtc.c
parentc08e6ec9e7ac06caee53689b0ec50ef6a7a0ba37 (diff)
parent53a67e31904bec9a3aa1bd24de8034dcafea1d2a (diff)
Merge remote branch 'origin/randr-1.2'
Diffstat (limited to 'src/radeon_crtc.c')
-rw-r--r--src/radeon_crtc.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/radeon_crtc.c b/src/radeon_crtc.c
index 8e713302..434034c1 100644
--- a/src/radeon_crtc.c
+++ b/src/radeon_crtc.c
@@ -1296,28 +1296,3 @@ RADEONCrtcFindClosestMode(xf86CrtcPtr crtc, DisplayModePtr pMode)
return pMode;
}
-void
-RADEONChooseOverlayCRTC(ScrnInfoPtr pScrn, BoxPtr dstBox)
-{
- xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pScrn);
- RADEONInfoPtr info = RADEONPTR(pScrn);
- int c;
- int crtc_num = 0;
-
- for (c = 0; c < xf86_config->num_crtc; c++)
- {
- xf86CrtcPtr crtc = xf86_config->crtc[c];
-
- if (!crtc->enabled)
- continue;
-
- if ((dstBox->x1 >= crtc->x) && (dstBox->y1 >= crtc->y))
- crtc_num = c;
- }
-
- if (crtc_num == 1)
- info->OverlayOnCRTC2 = TRUE;
- else
- info->OverlayOnCRTC2 = FALSE;
-}
-