drm: msm: add dspp caps blob to crtc
All sde crtc's are virtual when they are created. Resources for the crtc is allocated when crtc is enabled. All crtc's will not have same capabilities because some of the dspp blocks have additional hardware blocks. Change exposes additional dspp capabilities dynamically when crtc is allocated the dspp hardware block. Change-Id: I93e76a1335574e4ca30d9419ef6cc6e8149e2c3c Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
This commit is contained in:
@@ -4201,6 +4201,7 @@ static void sde_crtc_disable(struct drm_crtc *crtc)
|
||||
}
|
||||
|
||||
_sde_crtc_reset(crtc);
|
||||
sde_cp_crtc_disable(crtc);
|
||||
|
||||
mutex_unlock(&sde_crtc->crtc_lock);
|
||||
}
|
||||
@@ -4275,7 +4276,7 @@ static void sde_crtc_enable(struct drm_crtc *crtc,
|
||||
}
|
||||
|
||||
sde_crtc->enabled = true;
|
||||
|
||||
sde_cp_crtc_enable(crtc);
|
||||
/* update color processing on resume */
|
||||
event.type = DRM_EVENT_CRTC_POWER;
|
||||
event.length = sizeof(u32);
|
||||
|
Reference in New Issue
Block a user