[Bug 100276] xf86-video-amdgpu-1.3.0 segfaults with a rotated screen (regression caused by commit ad53635af1)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 22 09:51:12 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=100276

--- Comment #4 from Michel Dänzer <michel at daenzer.net> ---
Created attachment 130373
  --> https://bugs.freedesktop.org/attachment.cgi?id=130373&action=edit
Bail from drmmode_set_mode_major if it's called too early

(In reply to timon37 from comment #3)
> Huh, it also seems to work after deleting the: Option "DRI" "3"

That must be luck, DRI3 should be enabled by default anyway.

I can't seem to reproduce the problem. It looks like maybe crtc->enabled isn't
always initialized to FALSE in drmmode_xf86crtc_resize at this point (valgrind
doesn't complain about any access to uninitialized memory though).

Does this patch avoid the problem for you?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-driver-ati/attachments/20170322/de630a43/attachment.html>


More information about the xorg-driver-ati mailing list