Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:5844
xf86-video-ati.openSUSE_Leap_42.2_Update
U_15-Fix-build-against-xserver-1.13.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File U_15-Fix-build-against-xserver-1.13.patch of Package xf86-video-ati.openSUSE_Leap_42.2_Update
From: Michel Dänzer <michel.daenzer@amd.com> Date: Fri Aug 26 18:09:03 2016 +0900 Subject: [PATCH 15/20]Fix build against xserver < 1.13 Patch-mainline: Upstream Git-repo: git://anongit.freedesktop.org/xorg/driver/xf86-video-ati Git-commit: a92c27484703abc7c410b6ae0e4b8d1efbbb8e6f References: bsc#990066 Signed-off-by: Max Staudt <mstaudt@suse.de> pScreen->isGPU was only introduced in 1.13. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97490 Reviewed-by: Alex Deucher <alexander.deucher@amd.com> --- src/drmmode_display.c | 5 ++++- src/radeon_kms.c | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 383c8a0..1fcd7c3 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -795,7 +795,10 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode, drmmode_crtc_scanout_destroy(drmmode, &drmmode_crtc->scanout[0]); drmmode_crtc_scanout_destroy(drmmode, &drmmode_crtc->scanout[1]); - } else if (!pScreen->isGPU && + } else if ( +#ifdef RADEON_PIXMAP_SHARING + !pScreen->isGPU && +#endif (info->tear_free || #if XF86_CRTC_VERSION >= 4 crtc->driverIsPerformingTransform || diff --git a/src/radeon_kms.c b/src/radeon_kms.c index c10fb42..51f320c 100644 --- a/src/radeon_kms.c +++ b/src/radeon_kms.c @@ -842,7 +842,10 @@ static void RADEONBlockHandler_KMS(BLOCKHANDLER_ARGS_DECL) (*pScreen->BlockHandler) (BLOCKHANDLER_ARGS); pScreen->BlockHandler = RADEONBlockHandler_KMS; - if (!pScreen->isGPU) { +#ifdef RADEON_PIXMAP_SHARING + if (!pScreen->isGPU) +#endif + { for (c = 0; c < xf86_config->num_crtc; c++) { if (info->tear_free) radeon_scanout_flip(pScreen, info, xf86_config->crtc[c]);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor