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>
这个提交包含在:
@@ -723,7 +723,7 @@ static int _sde_crtc_set_crtc_roi(struct drm_crtc *crtc,
|
||||
if (!conn_state || conn_state->crtc != crtc)
|
||||
continue;
|
||||
|
||||
rc = sde_connector_get_mode_info(conn_state, &mode_info);
|
||||
rc = sde_connector_state_get_mode_info(conn_state, &mode_info);
|
||||
if (rc) {
|
||||
SDE_ERROR("failed to get mode info\n");
|
||||
return -EINVAL;
|
||||
@@ -1066,7 +1066,7 @@ static int _sde_crtc_check_rois(struct drm_crtc *crtc,
|
||||
if (!conn || !conn->state)
|
||||
continue;
|
||||
|
||||
rc = sde_connector_get_mode_info(conn->state, &mode_info);
|
||||
rc = sde_connector_state_get_mode_info(conn->state, &mode_info);
|
||||
if (rc) {
|
||||
SDE_ERROR("failed to get mode info\n");
|
||||
return -EINVAL;
|
||||
|
在新工单中引用
屏蔽一个用户