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:
Gopikrishnaiah Anandan
2020-04-13 17:11:22 -07:00
szülő 4d3912297a
commit 10e00393d8
5 fájl változott, egészen pontosan 204 új sor hozzáadva és 1 régi sor törölve

Fájl megtekintése

@@ -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);