[Freedreno] [RFC 0/4] Separate wb_idx and intf_idx in dpu_encoder
Abhinav Kumar
quic_abhinavk at quicinc.com
Thu Apr 21 20:48:28 UTC 2022
As promised here [1], this is a follow up change to separate out
wb_idx and intf_idx for better clarity in dpu_encoder.
This also helps to easily handle boards which do not have a physical
display but can still be validated using writeback interface.
In addition, this also takes care of adding wb_idx to existing DRM prints
and traces.
Currently posting this as a RFC to get feedback on this approach and if
the reviews are positive, I can easily absorb this in the DPU writeback
series [2]
[1] https://patchwork.freedesktop.org/patch/482637/?series=99724&rev=2#comment_868460
[2] https://patchwork.freedesktop.org/series/99724/#rev3
Abhinav Kumar (4):
drm/msm/dpu: introduce a wb_idx to be used for writeback interfaces
drm/msm/dpu: start using wb_idx in dpu_encoder_phys_wb
drm/msm/dpu: add wb_idx to existing DRM prints in dpu_encoder
drm/msm/dpu: add wb_idx to DRM traces in dpu_encoder
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 125 +++++++++++----------
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h | 4 +
.../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c | 10 +-
drivers/gpu/drm/msm/disp/dpu1/dpu_rm.h | 2 +-
drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h | 26 +++--
5 files changed, 93 insertions(+), 74 deletions(-)
--
2.7.4
More information about the Freedreno
mailing list