mirror of
https://github.com/X11Libre/xf86-video-amdgpu.git
synced 2026-03-24 01:24:31 +00:00
Remove drmmode_scanout_free
Not used anymore. (Cherry picked from radeon commit e4a3df19d588a4310fcb889ef34e205d0e92e4d7) Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Michel Dänzer
parent
c16ff42f92
commit
639076efb0
@@ -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)
|
||||
|
||||
@@ -208,7 +208,6 @@ extern Bool drmmode_setup_colormap(ScreenPtr pScreen, ScrnInfoPtr pScrn);
|
||||
|
||||
extern void drmmode_crtc_scanout_destroy(drmmode_ptr drmmode,
|
||||
struct drmmode_scanout *scanout);
|
||||
extern void drmmode_scanout_free(ScrnInfoPtr scrn);
|
||||
void drmmode_crtc_scanout_free(drmmode_crtc_private_ptr drmmode_crtc);
|
||||
PixmapPtr drmmode_crtc_scanout_create(xf86CrtcPtr crtc,
|
||||
struct drmmode_scanout *scanout,
|
||||
|
||||
Reference in New Issue
Block a user