<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [Ubuntu 19.04] The screen display incompleted when rotate the screen to left/right"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110375#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [Ubuntu 19.04] The screen display incompleted when rotate the screen to left/right"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110375">bug 110375</a>
from <span class="vcard"><a class="email" href="mailto:stanislav.lisovskiy@intel.com" title="Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>"> <span class="fn">Stanislav Lisovskiy</span></a>
</span></b>
<pre>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 :)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>