On 12/25/2023 5:08 AM, Dmitry Baryshkov wrote:
The single helper for both enable and disable cases is too complicated,
especially if we start adding more code to these helpers. Split it into
irq_enable and irq_disable cases.

Signed-off-by: Dmitry Baryshkov <dmitry.barysh...@linaro.org>
---
  drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c   | 36 +++++++---
  .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h  |  6 +-
  .../drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c  | 65 ++++++++++---------
  .../drm/msm/disp/dpu1/dpu_encoder_phys_vid.c  | 46 +++++++------
  .../drm/msm/disp/dpu1/dpu_encoder_phys_wb.c   | 29 ++++++---
  drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h     | 62 ++++++++++++++----
  6 files changed, 158 insertions(+), 86 deletions(-)


Reviewed-by: Abhinav Kumar <quic_abhin...@quicinc.com>

Reply via email to