Drop two feature flags, DPU_INTF_TE and DPU_PINGPONG_TE, in favour of performing the MDSS revision checks instead. Changes since v1: - Added missing patch - Reworked commit messages (following suggestions by Marijn) - Changed code to check for major & INTF type rather than checking for intr presence in catalog. Added WARN_ON()s instead. (Marijn) - Added severall comments & TODO item. Dependencies: [1], [2] [1] https://patchwork.freedesktop.org/series/118088/ [2] https://patchwork.freedesktop.org/series/118836/ *** BLURB HERE *** Dmitry Baryshkov (8): drm/msm/dpu: inline _setup_pingpong_ops() drm/msm/dpu: enable PINGPONG TE operations only when supported by HW drm/msm/dpu: drop the DPU_PINGPONG_TE flag drm/msm/dpu: inline _setup_intf_ops() drm/msm/dpu: enable INTF TE operations only when supported by HW drm/msm/dpu: drop DPU_INTF_TE feature flag drm/msm/dpu: drop useless check from dpu_encoder_phys_cmd_te_rd_ptr_irq() drm/msm/dpu: move INTF tearing checks to dpu_encoder_phys_cmd_init .../drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 54 ++++++++++--------- .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 3 +- .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 6 +-- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c | 51 +++++++++--------- .../gpu/drm/msm/disp/dpu1/dpu_hw_pingpong.c | 41 +++++++------- .../gpu/drm/msm/disp/dpu1/dpu_hw_pingpong.h | 3 +- drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c | 2 +- 7 files changed, 77 insertions(+), 83 deletions(-) -- 2.39.2