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>
这个提交包含在:
Gopikrishnaiah Anandan
2020-04-13 17:11:22 -07:00
父节点 4d3912297a
当前提交 10e00393d8
修改 5 个文件,包含 204 行新增1 行删除

查看文件

@@ -288,6 +288,7 @@ struct sde_crtc_misr_info {
* @target_bpp : target bpp used to calculate compression ratio
* @static_cache_read_work: delayed worker to transition cache state to read
* @cache_state : Current static image cache state
* @dspp_blob_info : blob containing dspp hw capability information
*/
struct sde_crtc {
struct drm_crtc base;
@@ -374,6 +375,8 @@ struct sde_crtc {
struct kthread_delayed_work static_cache_read_work;
enum sde_crtc_cache_state cache_state;
struct drm_property_blob *dspp_blob_info;
};
enum sde_crtc_dirty_flags {