]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/sun4i: frontend: Move CSC bypass setup to format update routine
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Fri, 23 Nov 2018 09:24:48 +0000 (10:24 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 27 Nov 2018 08:53:01 +0000 (09:53 +0100)
commit01260ffad2a8eff7f43218bdc93072fd068036f6
treef1ec54e0f74f67ebca882520e739112f8bc035ce
parent1c29d263f6243e0007f0c61a82d1e1261efc5395
drm/sun4i: frontend: Move CSC bypass setup to format update routine

In order to support YUV to RGB conversion with the frontend (which is
generally used for connecting with the backend), the CSC block must not
be bypassed.

As a result, the bit to enable CSC bypass is moved from the runtime
resume routine to the format update routine, so that it can disabled
when introducing support for YUV formats later.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181123092515.2511-17-paul.kocialkowski@bootlin.com
drivers/gpu/drm/sun4i/sun4i_frontend.c