commit 5d29daa7df72d9a96e044d0706f3014811389629
Author: Chris Wilson <email address hidden>
Date: Wed Aug 14 18:16:22 2013 +0100
sna: Make sure the frontbuffer exists before doing pitch checks
An unusual path to be sure, to call sna_crtc_set_mode_major before we
create a GPU bo for the scanout - but might be possible after a GPU
hang, or it appears after trying to set a 0x0 mode. At any rate, make
sure the GPU bo exists before dereferencing.
commit 5d29daa7df72d9a 96e044d0706f301 4811389629
Author: Chris Wilson <email address hidden>
Date: Wed Aug 14 18:16:22 2013 +0100
sna: Make sure the frontbuffer exists before doing pitch checks
An unusual path to be sure, to call sna_crtc_ set_mode_ major before we
create a GPU bo for the scanout - but might be possible after a GPU
hang, or it appears after trying to set a 0x0 mode. At any rate, make
sure the GPU bo exists before dereferencing.
Bugzilla: https:/ /bugs.launchpad .net/ubuntu/ +source/ xorg-server/ +bug/121234
Signed-off-by: Chris Wilson <email address hidden>