]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: add compatibles for sm8150/sm8250 display
authorJonathan Marek <jonathan@marek.ca>
Mon, 29 Mar 2021 12:00:50 +0000 (15:00 +0300)
committerRob Clark <robdclark@chromium.org>
Wed, 7 Apr 2021 18:05:43 +0000 (11:05 -0700)
commita85439d3f5791866c3897b8979fd3719b5f8ed15
treedc41cde625518cf6874baf922fea613c582266cd
parent50a524c2e095b2357e78710a63924c31729f290e
drm/msm: add compatibles for sm8150/sm8250 display

The driver already has support for sm8150/sm8250, but the compatibles were
never added.

Also inverse the non-mdp4 condition in add_display_components() to avoid
having to check every new compatible in the condition.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210329120051.3401567-4-dmitry.baryshkov@linaro.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
drivers/gpu/drm/msm/msm_drv.c