diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2017-11-15 18:01:29 +0100 |
---|---|---|
committer | Michel Dänzer <michel.daenzer@amd.com> | 2017-11-15 18:01:29 +0100 |
commit | 15350bd5538c21cd4c6b406d565ca765b7e0218a (patch) | |
tree | cdd9ad1c8c7fad916a18c539fda94d4d8b16c589 /src/radeon.h | |
parent | 6441210bc53978a2c46c572e9174215b14f9e813 (diff) |
Use correct ScrnInfoPtr in redisplay_dirty
We used the destination pixmap's screen for flushing drawing commands.
But when we are the master screen, the destination pixmap is from the
slave screen.
Fixes crash when the slave screen isn't using the same acceleration
architecture as us.
Bugzilla: https://bugs.freedesktop.org/103613
Fixes: 01b040b4a807 ("Adapt to PixmapDirtyUpdateRec::src being a
DrawablePtr")
(Ported from amdgpu commit 3a4f7422913093ed9e26b73ecd7f9e773478cb1e)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon.h')
0 files changed, 0 insertions, 0 deletions