<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Can't invert screen colors by adjusting the gamma ramp"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110677#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Can't invert screen colors by adjusting the gamma ramp"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110677">bug 110677</a>
from <span class="vcard"><a class="email" href="mailto:nicholas.kazlauskas@amd.com" title="Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>"> <span class="fn">Nicholas Kazlauskas</span></a>
</span></b>
<pre>The issue is in the display driver.
The driver does an sRGB degamma, CTM, then sRGB regamma + user regamma - which
explains why the screen is mostly white (since the curve is inverse).
If the the degamma block was put into linear bypass and the user regamma was
applied directly to the regamma block that should give the correct result.
Not sure if mapping the legacy gamma to the full LUT would break any IGT color
or standard X11 gamma operations.
I do have some changes that fix this kind of operation for atomic userspace but
I'd have to take a look at the legacy one again to know if this is easy to
support or not.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>