Commit 100d7ef6 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov

drm/msm/dpu: add support for SM8450

Add definitions for the display hardware used on Qualcomm SM8450
platform.
Tested-by: default avatarVinod Koul <vkoul@kernel.org>
Reviewed-by: default avatarVinod Koul <vkoul@kernel.org>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/514235/
Link: https://lore.kernel.org/r/20221207012231.112059-11-dmitry.baryshkov@linaro.orgSigned-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
parent 43e3293f
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
#define DPU_HW_VER_630 DPU_HW_VER(6, 3, 0) /* sm6115|sm4250 */ #define DPU_HW_VER_630 DPU_HW_VER(6, 3, 0) /* sm6115|sm4250 */
#define DPU_HW_VER_650 DPU_HW_VER(6, 5, 0) /* qcm2290|sm4125 */ #define DPU_HW_VER_650 DPU_HW_VER(6, 5, 0) /* qcm2290|sm4125 */
#define DPU_HW_VER_720 DPU_HW_VER(7, 2, 0) /* sc7280 */ #define DPU_HW_VER_720 DPU_HW_VER(7, 2, 0) /* sc7280 */
#define DPU_HW_VER_810 DPU_HW_VER(8, 1, 0) /* sm8450 */
#define IS_MSM8996_TARGET(rev) IS_DPU_MAJOR_MINOR_SAME((rev), DPU_HW_VER_170) #define IS_MSM8996_TARGET(rev) IS_DPU_MAJOR_MINOR_SAME((rev), DPU_HW_VER_170)
#define IS_MSM8998_TARGET(rev) IS_DPU_MAJOR_MINOR_SAME((rev), DPU_HW_VER_300) #define IS_MSM8998_TARGET(rev) IS_DPU_MAJOR_MINOR_SAME((rev), DPU_HW_VER_300)
......
...@@ -195,6 +195,8 @@ enum dpu_pingpong { ...@@ -195,6 +195,8 @@ enum dpu_pingpong {
PINGPONG_3, PINGPONG_3,
PINGPONG_4, PINGPONG_4,
PINGPONG_5, PINGPONG_5,
PINGPONG_6,
PINGPONG_7,
PINGPONG_S0, PINGPONG_S0,
PINGPONG_MAX PINGPONG_MAX
}; };
...@@ -203,6 +205,7 @@ enum dpu_merge_3d { ...@@ -203,6 +205,7 @@ enum dpu_merge_3d {
MERGE_3D_0 = 1, MERGE_3D_0 = 1,
MERGE_3D_1, MERGE_3D_1,
MERGE_3D_2, MERGE_3D_2,
MERGE_3D_3,
MERGE_3D_MAX MERGE_3D_MAX
}; };
......
...@@ -1302,6 +1302,7 @@ static const struct of_device_id dpu_dt_match[] = { ...@@ -1302,6 +1302,7 @@ static const struct of_device_id dpu_dt_match[] = {
{ .compatible = "qcom,sm6115-dpu", }, { .compatible = "qcom,sm6115-dpu", },
{ .compatible = "qcom,sm8150-dpu", }, { .compatible = "qcom,sm8150-dpu", },
{ .compatible = "qcom,sm8250-dpu", }, { .compatible = "qcom,sm8250-dpu", },
{ .compatible = "qcom,sm8450-dpu", },
{} {}
}; };
MODULE_DEVICE_TABLE(of, dpu_dt_match); MODULE_DEVICE_TABLE(of, dpu_dt_match);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment