disp: msm: add resource caps structure and api changes
Create a data structure to maintain available hardware resources and track capabilities. This data structure is used to send the current available resources and caps information to connector ops get_mode_info, get_modes and validate_mode to process the display mode. Change-Id: If38fc628ee5ab4729821f88c0050ab45375187b8 Signed-off-by: Nilaan Gunabalachandran <ngunabal@codeaurora.org>
This commit is contained in:
@@ -473,6 +473,22 @@ struct msm_mode_info {
|
||||
u32 mdp_transfer_time_us;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct msm_resource_caps_info - defines hw resources
|
||||
* @num_lm number of layer mixers available
|
||||
* @num_dsc number of dsc available
|
||||
* @num_ctl number of ctl available
|
||||
* @num_3dmux number of 3d mux available
|
||||
* @max_mixer_width: max width supported by layer mixer
|
||||
*/
|
||||
struct msm_resource_caps_info {
|
||||
uint32_t num_lm;
|
||||
uint32_t num_dsc;
|
||||
uint32_t num_ctl;
|
||||
uint32_t num_3dmux;
|
||||
uint32_t max_mixer_width;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct msm_display_info - defines display properties
|
||||
* @intf_type: DRM_MODE_CONNECTOR_ display type
|
||||
|
Reference in New Issue
Block a user