drm/exynos: fimd: add BGR support for exynos4/5
In the downstream kernels for exynos4 and exynos5 devices, there is an undocumented register that controls the order of the RGB output. It can be set to either normal order or reversed, which enables BGR support for those SoCs. This patch enables the BGR support for all the SoCs that were found to have at least one device with this logic in the corresponding downstream kernels. Signed-off-by: Martin Jücker <martin.juecker@gmail.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
This commit is contained in:
@@ -476,6 +476,10 @@
|
||||
* 1111 -none- -none- -none- -none- -none-
|
||||
*/
|
||||
|
||||
#define WIN_RGB_ORDER(_win) (0x2020 + ((_win) * 4))
|
||||
#define WIN_RGB_ORDER_FORWARD (0 << 11)
|
||||
#define WIN_RGB_ORDER_REVERSE (1 << 11)
|
||||
|
||||
/* FIMD Version 8 register offset definitions */
|
||||
#define FIMD_V8_VIDTCON0 0x20010
|
||||
#define FIMD_V8_VIDTCON1 0x20014
|
||||
|
||||
Reference in New Issue
Block a user