[PATCHv3] modesetting: Update fb_id from shadow allocate and destroy if not set
Michel Dänzer
michel at daenzer.net
Fri Jul 6 07:45:17 UTC 2018
On 2018-07-05 05:42 PM, Tony Lindgren wrote:
> Hi,
>
> * Michel Dänzer <michel at daenzer.net> [180705 14:21]:
>>
>> This uses the same damage region for all framebuffers, which is
>> generally not correct for drmmode_crtc->rotate_fb_id. The coordinate
>> offset, rotation and reflection need to be taken into account for that.
>
> Hmm OK. I thought we just need to refresh it we have
> rotate_fb_id.
>
> Unfortunately I have no idea what the check here might be
> for the variables above.. Sounds like it might leave out
> some pointless updates though :) Care to describe a bit
> more or ideally even provide a patch to test?
The simplest solution is probably to use separate damage records
attached to the per-CRTC rotation pixmaps.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the xorg-devel
mailing list