On Tue, Apr 24, 2018 at 6:07 AM, Michel Dänzer <michel at daenzer.net> wrote: > From: Michel Dänzer <michel.daenzer at amd.com> > > Set crtc->driverIsPerformingTransform for any case we can handle before > calling xf86CrtcRotate. We already clear it afterwards when the latter > clears crtc->transform_in_use. > > This should allow our separate scanout buffer mechanism to be used in > more cases. > > Signed-off-by: Michel Dänzer <michel.daenzer at amd.com> Acked-by: Alex Deucher <alexander.deucher at amd.com> > --- > src/drmmode_display.c | 6 +----- > 1 file changed, 1 insertion(+), 5 deletions(-) > > diff --git a/src/drmmode_display.c b/src/drmmode_display.c > index 240e88b90..536890d18 100644 > --- a/src/drmmode_display.c > +++ b/src/drmmode_display.c > @@ -631,13 +631,9 @@ drmmode_handle_transform(xf86CrtcPtr crtc) > Bool ret; > > #if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,15,99,903,0) > - if (crtc->transformPresent || crtc->rotation != RR_Rotate_0) > - crtc->driverIsPerformingTransform = XF86DriverTransformOutput; > - else > - crtc->driverIsPerformingTransform = XF86DriverTransformNone; > + crtc->driverIsPerformingTransform = XF86DriverTransformOutput; > #else > crtc->driverIsPerformingTransform = !crtc->transformPresent && > - crtc->rotation != RR_Rotate_0 && > (crtc->rotation & 0xf) == RR_Rotate_0; > #endif > > -- > 2.17.0 > > _______________________________________________ > amd-gfx mailing list > amd-gfx at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx