Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
xorg-x11-server.4594
n_RandR-Disable-rotation-for-GPU-screens.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File n_RandR-Disable-rotation-for-GPU-screens.patch of Package xorg-x11-server.4594
From: Egbert Eich <eich@suse.de> Date: Wed Jan 20 19:21:59 2016 +0100 Subject: [PATCH]RandR: Disable rotation for GPU screens Patch-mainline: never References: boo#962295 Signed-off-by: Egbert Eich <eich@suse.com> This is a temporary hack to keep the Xserver from crashing. Signed-off-by: Egbert Eich <eich@suse.de> --- hw/xfree86/modes/xf86Crtc.c | 2 +- hw/xfree86/modes/xf86Rotate.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c index b70d089..25b445b 100644 --- a/hw/xfree86/modes/xf86Crtc.c +++ b/hw/xfree86/modes/xf86Crtc.c @@ -778,7 +778,7 @@ xf86CrtcScreenInit(ScreenPtr screen) if (!crtc->funcs->shadow_allocate || !crtc->funcs->shadow_create) break; } - if (c == config->num_crtc) { + if (c == config->num_crtc && !screen->isGPU) { xf86RandR12SetRotations(screen, RR_Rotate_0 | RR_Rotate_90 | RR_Rotate_180 | RR_Rotate_270 | RR_Reflect_X | RR_Reflect_Y); diff --git a/hw/xfree86/modes/xf86Rotate.c b/hw/xfree86/modes/xf86Rotate.c index 9c00a44..0334253 100644 --- a/hw/xfree86/modes/xf86Rotate.c +++ b/hw/xfree86/modes/xf86Rotate.c @@ -366,6 +366,9 @@ xf86CrtcRotate(xf86CrtcPtr crtc) RRTransformPtr transform = NULL; Bool damage = FALSE; + if (pScreen->isGPU) + return FALSE; + if (crtc->transformPresent) transform = &crtc->transform;
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