mirror of
https://github.com/X11Libre/xf86-video-amdgpu.git
synced 2026-03-24 01:24:31 +00:00
make amdgpu_sync_shared_pixmap() static
it's only used inside the same source file, so better make it static, so we also get rid of missing prototype warning. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Joseph Crowell
parent
cac5561a21
commit
65e99416c4
@@ -634,7 +634,7 @@ amdgpu_prime_scanout_update_abort(xf86CrtcPtr crtc, void *event_data)
|
||||
drmmode_crtc->scanout_update_pending = 0;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
amdgpu_sync_shared_pixmap(PixmapDirtyUpdatePtr dirty)
|
||||
{
|
||||
ScreenPtr primary_screen = amdgpu_dirty_primary(dirty);
|
||||
|
||||
Reference in New Issue
Block a user