#ifndef __SKL_UNIVERSAL_PLANE_REGS_H__
#define __SKL_UNIVERSAL_PLANE_REGS_H__
#include "intel_display_reg_defs.h"
#define _SKL_PLANE(pipe, plane, reg_1_a, reg_1_b, reg_2_a, reg_2_b) …
#define _SKL_PLANE_DW(pipe, plane, dw, reg_1_a, reg_1_b, reg_2_a, reg_2_b) …
#define _MMIO_SKL_PLANE(pipe, plane, reg_1_a, reg_1_b, reg_2_a, reg_2_b) …
#define _MMIO_SKL_PLANE_DW(pipe, plane, dw, reg_1_a, reg_1_b, reg_2_a, reg_2_b) …
#define _SEL_FETCH(pipe, plane, reg_1_a, reg_1_b, reg_2_a, reg_2_b, reg_5_a, reg_5_b, reg_6_a, reg_6_b) …
#define _MMIO_SEL_FETCH(pipe, plane, reg_1_a, reg_1_b, reg_2_a, reg_2_b, reg_5_a, reg_5_b, reg_6_a, reg_6_b) …
#define _PLANE_CTL_1_A …
#define _PLANE_CTL_2_A …
#define _PLANE_CTL_1_B …
#define _PLANE_CTL_2_B …
#define PLANE_CTL(pipe, plane) …
#define PLANE_CTL_ENABLE …
#define PLANE_CTL_ARB_SLOTS_MASK …
#define PLANE_CTL_ARB_SLOTS(x) …
#define PLANE_CTL_PIPE_GAMMA_ENABLE …
#define PLANE_CTL_YUV_RANGE_CORRECTION_DISABLE …
#define PLANE_CTL_FORMAT_MASK_SKL …
#define PLANE_CTL_FORMAT_MASK_ICL …
#define PLANE_CTL_FORMAT_YUV422 …
#define PLANE_CTL_FORMAT_NV12 …
#define PLANE_CTL_FORMAT_XRGB_2101010 …
#define PLANE_CTL_FORMAT_P010 …
#define PLANE_CTL_FORMAT_XRGB_8888 …
#define PLANE_CTL_FORMAT_P012 …
#define PLANE_CTL_FORMAT_XRGB_16161616F …
#define PLANE_CTL_FORMAT_P016 …
#define PLANE_CTL_FORMAT_XYUV …
#define PLANE_CTL_FORMAT_INDEXED …
#define PLANE_CTL_FORMAT_RGB_565 …
#define PLANE_CTL_FORMAT_Y210 …
#define PLANE_CTL_FORMAT_Y212 …
#define PLANE_CTL_FORMAT_Y216 …
#define PLANE_CTL_FORMAT_Y410 …
#define PLANE_CTL_FORMAT_Y412 …
#define PLANE_CTL_FORMAT_Y416 …
#define PLANE_CTL_PIPE_CSC_ENABLE …
#define PLANE_CTL_KEY_ENABLE_MASK …
#define PLANE_CTL_KEY_ENABLE_SOURCE …
#define PLANE_CTL_KEY_ENABLE_DESTINATION …
#define PLANE_CTL_ORDER_RGBX …
#define PLANE_CTL_YUV420_Y_PLANE …
#define PLANE_CTL_YUV_TO_RGB_CSC_FORMAT_BT709 …
#define PLANE_CTL_YUV422_ORDER_MASK …
#define PLANE_CTL_YUV422_ORDER_YUYV …
#define PLANE_CTL_YUV422_ORDER_UYVY …
#define PLANE_CTL_YUV422_ORDER_YVYU …
#define PLANE_CTL_YUV422_ORDER_VYUY …
#define PLANE_CTL_RENDER_DECOMPRESSION_ENABLE …
#define PLANE_CTL_TRICKLE_FEED_DISABLE …
#define PLANE_CTL_CLEAR_COLOR_DISABLE …
#define PLANE_CTL_PLANE_GAMMA_DISABLE …
#define PLANE_CTL_TILED_MASK …
#define PLANE_CTL_TILED_LINEAR …
#define PLANE_CTL_TILED_X …
#define PLANE_CTL_TILED_Y …
#define PLANE_CTL_TILED_YF …
#define PLANE_CTL_TILED_4 …
#define PLANE_CTL_ASYNC_FLIP …
#define PLANE_CTL_FLIP_HORIZONTAL …
#define PLANE_CTL_MEDIA_DECOMPRESSION_ENABLE …
#define PLANE_CTL_ALPHA_MASK …
#define PLANE_CTL_ALPHA_DISABLE …
#define PLANE_CTL_ALPHA_SW_PREMULTIPLY …
#define PLANE_CTL_ALPHA_HW_PREMULTIPLY …
#define PLANE_CTL_ROTATE_MASK …
#define PLANE_CTL_ROTATE_0 …
#define PLANE_CTL_ROTATE_90 …
#define PLANE_CTL_ROTATE_180 …
#define PLANE_CTL_ROTATE_270 …
#define _PLANE_STRIDE_1_A …
#define _PLANE_STRIDE_2_A …
#define _PLANE_STRIDE_1_B …
#define _PLANE_STRIDE_2_B …
#define PLANE_STRIDE(pipe, plane) …
#define PLANE_STRIDE__MASK …
#define PLANE_STRIDE_(stride) …
#define _PLANE_POS_1_A …
#define _PLANE_POS_2_A …
#define _PLANE_POS_1_B …
#define _PLANE_POS_2_B …
#define PLANE_POS(pipe, plane) …
#define PLANE_POS_Y_MASK …
#define PLANE_POS_Y(y) …
#define PLANE_POS_X_MASK …
#define PLANE_POS_X(x) …
#define _PLANE_SIZE_1_A …
#define _PLANE_SIZE_2_A …
#define _PLANE_SIZE_1_B …
#define _PLANE_SIZE_2_B …
#define PLANE_SIZE(pipe, plane) …
#define PLANE_HEIGHT_MASK …
#define PLANE_HEIGHT(h) …
#define PLANE_WIDTH_MASK …
#define PLANE_WIDTH(w) …
#define _PLANE_KEYVAL_1_A …
#define _PLANE_KEYVAL_2_A …
#define _PLANE_KEYVAL_1_B …
#define _PLANE_KEYVAL_2_B …
#define PLANE_KEYVAL(pipe, plane) …
#define _PLANE_KEYMSK_1_A …
#define _PLANE_KEYMSK_2_A …
#define _PLANE_KEYMSK_1_B …
#define _PLANE_KEYMSK_2_B …
#define PLANE_KEYMSK(pipe, plane) …
#define PLANE_KEYMSK_ALPHA_ENABLE …
#define _PLANE_SURF_1_A …
#define _PLANE_SURF_2_A …
#define _PLANE_SURF_1_B …
#define _PLANE_SURF_2_B …
#define PLANE_SURF(pipe, plane) …
#define PLANE_SURF_ADDR_MASK …
#define PLANE_SURF_DECRYPT …
#define _PLANE_KEYMAX_1_A …
#define _PLANE_KEYMAX_2_A …
#define _PLANE_KEYMAX_1_B …
#define _PLANE_KEYMAX_2_B …
#define PLANE_KEYMAX(pipe, plane) …
#define PLANE_KEYMAX_ALPHA_MASK …
#define PLANE_KEYMAX_ALPHA(a) …
#define _PLANE_OFFSET_1_A …
#define _PLANE_OFFSET_2_A …
#define _PLANE_OFFSET_1_B …
#define _PLANE_OFFSET_2_B …
#define PLANE_OFFSET(pipe, plane) …
#define PLANE_OFFSET_Y_MASK …
#define PLANE_OFFSET_Y(y) …
#define PLANE_OFFSET_X_MASK …
#define PLANE_OFFSET_X(x) …
#define _PLANE_SURFLIVE_1_A …
#define _PLANE_SURFLIVE_2_A …
#define _PLANE_SURFLIVE_1_B …
#define _PLANE_SURFLIVE_2_B …
#define PLANE_SURFLIVE(pipe, plane) …
#define _PLANE_CC_VAL_1_A …
#define _PLANE_CC_VAL_2_A …
#define _PLANE_CC_VAL_1_B …
#define _PLANE_CC_VAL_2_B …
#define PLANE_CC_VAL(pipe, plane, dw) …
#define _PLANE_AUX_DIST_1_A …
#define _PLANE_AUX_DIST_2_A …
#define _PLANE_AUX_DIST_1_B …
#define _PLANE_AUX_DIST_2_B …
#define PLANE_AUX_DIST(pipe, plane) …
#define PLANE_AUX_DISTANCE_MASK …
#define PLANE_AUX_STRIDE_MASK …
#define PLANE_AUX_STRIDE(stride) …
#define _PLANE_AUX_OFFSET_1_A …
#define _PLANE_AUX_OFFSET_2_A …
#define _PLANE_AUX_OFFSET_1_B …
#define _PLANE_AUX_OFFSET_2_B …
#define PLANE_AUX_OFFSET(pipe, plane) …
#define _PLANE_CUS_CTL_1_A …
#define _PLANE_CUS_CTL_2_A …
#define _PLANE_CUS_CTL_1_B …
#define _PLANE_CUS_CTL_2_B …
#define PLANE_CUS_CTL(pipe, plane) …
#define PLANE_CUS_ENABLE …
#define PLANE_CUS_Y_PLANE_MASK …
#define PLANE_CUS_Y_PLANE_4_RKL …
#define PLANE_CUS_Y_PLANE_5_RKL …
#define PLANE_CUS_Y_PLANE_6_ICL …
#define PLANE_CUS_Y_PLANE_7_ICL …
#define PLANE_CUS_HPHASE_SIGN_NEGATIVE …
#define PLANE_CUS_HPHASE_MASK …
#define PLANE_CUS_HPHASE_0 …
#define PLANE_CUS_HPHASE_0_25 …
#define PLANE_CUS_HPHASE_0_5 …
#define PLANE_CUS_VPHASE_SIGN_NEGATIVE …
#define PLANE_CUS_VPHASE_MASK …
#define PLANE_CUS_VPHASE_0 …
#define PLANE_CUS_VPHASE_0_25 …
#define PLANE_CUS_VPHASE_0_5 …
#define _PLANE_COLOR_CTL_1_A …
#define _PLANE_COLOR_CTL_2_A …
#define _PLANE_COLOR_CTL_1_B …
#define _PLANE_COLOR_CTL_2_B …
#define PLANE_COLOR_CTL(pipe, plane) …
#define PLANE_COLOR_PIPE_GAMMA_ENABLE …
#define PLANE_COLOR_YUV_RANGE_CORRECTION_DISABLE …
#define PLANE_COLOR_PIPE_CSC_ENABLE …
#define PLANE_COLOR_PLANE_CSC_ENABLE …
#define PLANE_COLOR_INPUT_CSC_ENABLE …
#define PLANE_COLOR_CSC_MODE_MASK …
#define PLANE_COLOR_CSC_MODE_BYPASS …
#define PLANE_COLOR_CSC_MODE_YUV601_TO_RGB601 …
#define PLANE_COLOR_CSC_MODE_YUV709_TO_RGB709 …
#define PLANE_COLOR_CSC_MODE_YUV2020_TO_RGB2020 …
#define PLANE_COLOR_CSC_MODE_RGB709_TO_RGB2020 …
#define PLANE_COLOR_PLANE_GAMMA_DISABLE …
#define PLANE_COLOR_ALPHA_MASK …
#define PLANE_COLOR_ALPHA_DISABLE …
#define PLANE_COLOR_ALPHA_SW_PREMULTIPLY …
#define PLANE_COLOR_ALPHA_HW_PREMULTIPLY …
#define _PLANE_INPUT_CSC_RY_GY_1_A …
#define _PLANE_INPUT_CSC_RY_GY_2_A …
#define _PLANE_INPUT_CSC_RY_GY_1_B …
#define _PLANE_INPUT_CSC_RY_GY_2_B …
#define PLANE_INPUT_CSC_COEFF(pipe, plane, index) …
#define _PLANE_INPUT_CSC_PREOFF_HI_1_A …
#define _PLANE_INPUT_CSC_PREOFF_HI_2_A …
#define _PLANE_INPUT_CSC_PREOFF_HI_1_B …
#define _PLANE_INPUT_CSC_PREOFF_HI_2_B …
#define PLANE_INPUT_CSC_PREOFF(pipe, plane, index) …
#define _PLANE_INPUT_CSC_POSTOFF_HI_1_A …
#define _PLANE_INPUT_CSC_POSTOFF_HI_2_A …
#define _PLANE_INPUT_CSC_POSTOFF_HI_1_B …
#define _PLANE_INPUT_CSC_POSTOFF_HI_2_B …
#define PLANE_INPUT_CSC_POSTOFF(pipe, plane, index) …
#define _PLANE_CSC_RY_GY_1_A …
#define _PLANE_CSC_RY_GY_2_A …
#define _PLANE_CSC_RY_GY_1_B …
#define _PLANE_CSC_RY_GY_2_B …
#define PLANE_CSC_COEFF(pipe, plane, index) …
#define _PLANE_CSC_PREOFF_HI_1_A …
#define _PLANE_CSC_PREOFF_HI_2_A …
#define _PLANE_CSC_PREOFF_HI_1_B …
#define _PLANE_CSC_PREOFF_HI_2_B …
#define PLANE_CSC_PREOFF(pipe, plane, index) …
#define _PLANE_CSC_POSTOFF_HI_1_A …
#define _PLANE_CSC_POSTOFF_HI_2_A …
#define _PLANE_CSC_POSTOFF_HI_1_B …
#define _PLANE_CSC_POSTOFF_HI_2_B …
#define PLANE_CSC_POSTOFF(pipe, plane, index) …
#define _PLANE_WM_1_A_0 …
#define _PLANE_WM_1_B_0 …
#define _PLANE_WM_2_A_0 …
#define _PLANE_WM_2_B_0 …
#define PLANE_WM(pipe, plane, level) …
#define PLANE_WM_EN …
#define PLANE_WM_IGNORE_LINES …
#define PLANE_WM_LINES_MASK …
#define PLANE_WM_BLOCKS_MASK …
#define _PLANE_WM_SAGV_1_A …
#define _PLANE_WM_SAGV_1_B …
#define _PLANE_WM_SAGV_2_A …
#define _PLANE_WM_SAGV_2_B …
#define PLANE_WM_SAGV(pipe, plane) …
#define _PLANE_WM_SAGV_TRANS_1_A …
#define _PLANE_WM_SAGV_TRANS_1_B …
#define _PLANE_WM_SAGV_TRANS_2_A …
#define _PLANE_WM_SAGV_TRANS_2_B …
#define PLANE_WM_SAGV_TRANS(pipe, plane) …
#define _PLANE_WM_TRANS_1_A …
#define _PLANE_WM_TRANS_1_B …
#define _PLANE_WM_TRANS_2_A …
#define _PLANE_WM_TRANS_2_B …
#define PLANE_WM_TRANS(pipe, plane) …
#define _PLANE_CHICKEN_1_A …
#define _PLANE_CHICKEN_2_A …
#define _PLANE_CHICKEN_1_B …
#define _PLANE_CHICKEN_2_B …
#define PLANE_CHICKEN(pipe, plane) …
#define PLANE_CHICKEN_DISABLE_DPT …
#define _PLANE_NV12_BUF_CFG_1_A …
#define _PLANE_NV12_BUF_CFG_2_A …
#define _PLANE_NV12_BUF_CFG_1_B …
#define _PLANE_NV12_BUF_CFG_2_B …
#define PLANE_NV12_BUF_CFG(pipe, plane) …
#define _PLANE_BUF_CFG_1_A …
#define _PLANE_BUF_CFG_2_A …
#define _PLANE_BUF_CFG_1_B …
#define _PLANE_BUF_CFG_2_B …
#define PLANE_BUF_CFG(pipe, plane) …
#define PLANE_BUF_END_MASK …
#define PLANE_BUF_END(end) …
#define PLANE_BUF_START_MASK …
#define PLANE_BUF_START(start) …
#define _SEL_FETCH_PLANE_CTL_1_A …
#define _SEL_FETCH_PLANE_CTL_2_A …
#define _SEL_FETCH_PLANE_CTL_5_A …
#define _SEL_FETCH_PLANE_CTL_6_A …
#define _SEL_FETCH_PLANE_CTL_1_B …
#define _SEL_FETCH_PLANE_CTL_2_B …
#define _SEL_FETCH_PLANE_CTL_5_B …
#define _SEL_FETCH_PLANE_CTL_6_B …
#define SEL_FETCH_PLANE_CTL(pipe, plane) …
#define SEL_FETCH_PLANE_CTL_ENABLE …
#define _SEL_FETCH_PLANE_POS_1_A …
#define _SEL_FETCH_PLANE_POS_2_A …
#define _SEL_FETCH_PLANE_POS_5_A …
#define _SEL_FETCH_PLANE_POS_6_A …
#define _SEL_FETCH_PLANE_POS_1_B …
#define _SEL_FETCH_PLANE_POS_2_B …
#define _SEL_FETCH_PLANE_POS_5_B …
#define _SEL_FETCH_PLANE_POS_6_B …
#define SEL_FETCH_PLANE_POS(pipe, plane) …
#define _SEL_FETCH_PLANE_SIZE_1_A …
#define _SEL_FETCH_PLANE_SIZE_2_A …
#define _SEL_FETCH_PLANE_SIZE_5_A …
#define _SEL_FETCH_PLANE_SIZE_6_A …
#define _SEL_FETCH_PLANE_SIZE_1_B …
#define _SEL_FETCH_PLANE_SIZE_2_B …
#define _SEL_FETCH_PLANE_SIZE_5_B …
#define _SEL_FETCH_PLANE_SIZE_6_B …
#define SEL_FETCH_PLANE_SIZE(pipe, plane) …
#define _SEL_FETCH_PLANE_OFFSET_1_A …
#define _SEL_FETCH_PLANE_OFFSET_2_A …
#define _SEL_FETCH_PLANE_OFFSET_5_A …
#define _SEL_FETCH_PLANE_OFFSET_6_A …
#define _SEL_FETCH_PLANE_OFFSET_1_B …
#define _SEL_FETCH_PLANE_OFFSET_2_B …
#define _SEL_FETCH_PLANE_OFFSET_5_B …
#define _SEL_FETCH_PLANE_OFFSET_6_B …
#define SEL_FETCH_PLANE_OFFSET(pipe, plane) …
#endif