drm/rockchip: make VOP_FEATURE_ definitions public for all vop versions

Definition VOP_FEATURE_OUTPUT_RGB10 and VOP_FEATURE_INTERNAL_RGB
are from upstream, so we move our private definition VOP_FEATURE_AFBDC
and VOP_FEATURE_ALPHA_SCALE to other bits.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: I44a4f4864bd7d82af120dfe361b9af700d7d8ae9
This commit is contained in:
Andy Yan
2021-08-29 09:58:06 +08:00
committed by Tao Huang
parent 1b8283e911
commit 74fb3941eb

View File

@@ -25,8 +25,13 @@
#define AFBDC_FMT_RGB565 0x0
#define AFBDC_FMT_U8U8U8U8 0x5
#define AFBDC_FMT_U8U8U8 0x4
#define VOP_FEATURE_OUTPUT_10BIT BIT(0)
#define VOP_FEATURE_ALPHA_SCALE BIT(1)
#define VOP_FEATURE_OUTPUT_RGB10 BIT(0)
#define VOP_FEATURE_INTERNAL_RGB BIT(1)
#define VOP_FEATURE_AFBDC BIT(2)
#define VOP_FEATURE_ALPHA_SCALE BIT(3)
#define VOP_FEATURE_OUTPUT_10BIT VOP_FEATURE_OUTPUT_RGB10
#define WIN_FEATURE_HDR2SDR BIT(0)
#define WIN_FEATURE_SDR2HDR BIT(1)