mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 00:51:51 -04:00
drm/msm/dpu: get rid of DPU_DATA_HCTL_EN
Continue migration to the MDSS-revision based checks and replace DPU_DATA_HCTL_EN feature bit with the core_major_ver >= 5 check. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Patchwork: https://patchwork.freedesktop.org/patch/655381/ Link: https://lore.kernel.org/r/20250522-dpu-drop-features-v5-13-3b2085a07884@oss.qualcomm.com
This commit is contained in:
committed by
Dmitry Baryshkov
parent
74e1b4283d
commit
19bcbadf92
@@ -106,8 +106,7 @@
|
||||
|
||||
#define INTF_SC7180_MASK \
|
||||
(BIT(DPU_INTF_INPUT_CTRL) | \
|
||||
BIT(DPU_INTF_STATUS_SUPPORTED) | \
|
||||
BIT(DPU_DATA_HCTL_EN))
|
||||
BIT(DPU_INTF_STATUS_SUPPORTED))
|
||||
|
||||
#define WB_SDM845_MASK (BIT(DPU_WB_LINE_MODE) | \
|
||||
BIT(DPU_WB_UBWC) | \
|
||||
|
||||
@@ -143,14 +143,11 @@ enum {
|
||||
* INTF sub-blocks
|
||||
* @DPU_INTF_INPUT_CTRL Supports the setting of pp block from which
|
||||
* pixel data arrives to this INTF
|
||||
* @DPU_DATA_HCTL_EN Allows data to be transferred at different rate
|
||||
* than video timing
|
||||
* @DPU_INTF_STATUS_SUPPORTED INTF block has INTF_STATUS register
|
||||
* @DPU_INTF_MAX
|
||||
*/
|
||||
enum {
|
||||
DPU_INTF_INPUT_CTRL = 0x1,
|
||||
DPU_DATA_HCTL_EN,
|
||||
DPU_INTF_STATUS_SUPPORTED,
|
||||
DPU_INTF_MAX
|
||||
};
|
||||
|
||||
@@ -237,7 +237,7 @@ static void dpu_hw_intf_setup_timing_engine(struct dpu_hw_intf *intf,
|
||||
DPU_REG_WRITE(c, INTF_FRAME_LINE_COUNT_EN, 0x3);
|
||||
DPU_REG_WRITE(c, INTF_CONFIG, intf_cfg);
|
||||
DPU_REG_WRITE(c, INTF_PANEL_FORMAT, panel_format);
|
||||
if (intf->cap->features & BIT(DPU_DATA_HCTL_EN)) {
|
||||
if (intf->mdss_ver->core_major_ver >= 5) {
|
||||
/*
|
||||
* DATA_HCTL_EN controls data timing which can be different from
|
||||
* video timing. It is recommended to enable it for all cases, except
|
||||
|
||||
Reference in New Issue
Block a user