[PATCH xf86-video-amdgpu] Apply gamma correction to HW cursor

Michel Dänzer michel at daenzer.net
Tue May 2 04:01:32 UTC 2017

On 02/05/17 12:38 PM, Deucher, Alexander wrote:
>> -----Original Message-----
>> From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf
>> Of Michel Dänzer
>> Sent: Monday, May 01, 2017 11:16 PM
>> To: amd-gfx at lists.freedesktop.org
>> Subject: [PATCH xf86-video-amdgpu] Apply gamma correction to HW cursor
>> From: Michel Dänzer <michel.daenzer at amd.com>
>> The display hardware CLUT we're currently using for gamma correction
>> doesn't affect the HW cursor, so we have to apply it manually when
>> uploading the HW cursor data.
>> This currently only works in depth 24/32.
>> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
> Starting with DCE5, I vaguely remember there being some controls
> related to whether gamma correction should be applied to the cursor or
> not, but I'm not sure if it’s the legacy CLUT or the newer stuff.

I talked to some DC guys about it, apparently only the newer stuff
applies to the cursor.

> Patch is:
> Reviewed-by: Alex Deucher <alexander.deucher at amd.com>


Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer

More information about the amd-gfx mailing list