drm/atmel-hlcdc: set layer REP bit to enable replication logic
authorJoshua.Henderson@microchip.com <Joshua.Henderson@microchip.com>
Tue, 9 Jul 2019 15:35:12 +0000 (15:35 +0000)
committerSam Ravnborg <sam@ravnborg.org>
Fri, 12 Jul 2019 15:48:48 +0000 (17:48 +0200)
commite3c91a88e4f265a5ec58f6e3be0880255156f600
tree028dc4af7d3ccebbd2f9246389a4ab53553216fd
parent374bf825e7a07b6ae61a8a839c0ea184a7665267
drm/atmel-hlcdc: set layer REP bit to enable replication logic

This bit enables replication logic to expand an RGB color less than 24
bits, to 24 bits, which is used internally for all formats.  Otherwise,
the least significant bits are always set to zero and the color may not
be what is expected.

Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1562686509-8747-1-git-send-email-joshua.henderson@microchip.com
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c