summaryrefslogtreecommitdiff
path: root/src/drmmode_display.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2017-08-29 17:24:18 +0900
committerMichel Dänzer <michel@daenzer.net>2017-08-30 17:10:58 +0900
commit639076efb06cdf13a211a8df1acb00c3908992b9 (patch)
tree379591a21d017cd88ca576650408dbaa71ae119d /src/drmmode_display.c
parentc16ff42f927df805619a5255bc383841474daff8 (diff)
Remove drmmode_scanout_free
Not used anymore. (Cherry picked from radeon commit e4a3df19d588a4310fcb889ef34e205d0e92e4d7) Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/drmmode_display.c')
-rw-r--r--src/drmmode_display.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 6057699..9c838a8 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -490,16 +490,6 @@ drmmode_crtc_scanout_free(drmmode_crtc_private_ptr drmmode_crtc)
DamageDestroy(drmmode_crtc->scanout_damage);
}
-void
-drmmode_scanout_free(ScrnInfoPtr scrn)
-{
- xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn);
- int c;
-
- for (c = 0; c < xf86_config->num_crtc; c++)
- drmmode_crtc_scanout_free(xf86_config->crtc[c]->driver_private);
-}
-
PixmapPtr
drmmode_crtc_scanout_create(xf86CrtcPtr crtc, struct drmmode_scanout *scanout,
int width, int height)