drm/msm/dpu: maintain hw_mdp in kms
authorJeykumar Sankaran <jsanka@codeaurora.org>
Sat, 8 Dec 2018 02:38:38 +0000 (18:38 -0800)
committerSean Paul <seanpaul@chromium.org>
Fri, 1 Feb 2019 15:35:55 +0000 (10:35 -0500)
commit7579cb0533d7ce92b52cd40c9080e690e6548b5a
tree304d13482fcb9ca82a7f11b30bc43784292a53ef
parent1a5e177856039bc75e30a18e89db79d4b17d6981
drm/msm/dpu: maintain hw_mdp in kms

hw_mdp block is common for displays. No need
to reserve per display.

changes in v2:
- use IS_ERR for error checking (Jordan Crouse)

Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c
drivers/gpu/drm/msm/disp/dpu1/dpu_rm.h