[Bug 110375] [Ubuntu 19.04] The screen display incompleted when rotate the screen to left/right

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 15 07:39:08 UTC 2019


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

--- Comment #9 from Stanislav Lisovskiy <stanislav.lisovskiy at intel.com> ---
I have investigated this issue a bit on Friday. Problem ended up in userspace. 
As we have noticed the screen stays blank for eDP, because primary plane is
disabled, whicl cursor still visible. I was looking for some wrong condition or
calculation in kernel, but basically it is just userspace which assigns NO_FB
to primary active plane at some point when other screen is rotated.
Then skl_plane_check-drm_atomic_helper_check_plane_state(called from
atomic_check) detects that and turns off the plane completely, making it
further unusable.

This is done in drm_atomic_set_fb_for_plane function. I can fix it by adding a
simple check there which forbids removing FB from primary plane if it is
active.

Not sure if this patch is correct or will be accepted, but lets see :)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20190415/d82c67fd/attachment.html>


More information about the intel-gfx-bugs mailing list