reserve RM resources in private obj state

Submitted by Jeykumar Sankaran on Feb. 14, 2019, 1:52 a.m.

Details

Reviewer None
Submitted Feb. 14, 2019, 1:52 a.m.
Last Updated Feb. 14, 2019, 1:52 a.m.
Revision 1

Cover Letter(s)

Revision 1
      v2 patches for [1]. 

changes in v2:
	- Reserve and track hw resources allocated per
	  display in subclassed drm private object states. 
	- Private objects are created per CRTC.

[1] https://patchwork.freedesktop.org/series/50722/

Follow up series will be submitted to clean up RM iterator
API's.

Thanks and Regards,
Jeykumar S.

Jeykumar Sankaran (4):
  drm/msm/dpu: add atomic private object to dpu crtc
  drm/msm/dpu: track HW resources using private object state
  drm/msm/dpu: remove reserve in encoder mode_set
  drm/msm/dpu: remove mode_set_complete

 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h    |  10 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 163 ++++++++++------------------
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c     |  73 ++++++++++++-
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h     |  32 ++++++
 drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c      | 131 +++++++++++++++-------
 drivers/gpu/drm/msm/disp/dpu1/dpu_rm.h      |   8 +-
 6 files changed, 257 insertions(+), 160 deletions(-)
    

Revisions