disp: msm: dp: check for display status before SDP config
During DP sim test cases there is a chance that userspace would call into SDP config ops even when display is not active which would lead to NOC errors. This change checks for display status during SDP config operation. Change-Id: I330f6fc162f3366a9ca0aeb64956927dceca4c80 Signed-off-by: Sandeep Gangadharaiah <quic_sandgang@quicinc.com>
This commit is contained in:
@@ -2840,7 +2840,8 @@ static void dp_panel_config_sdp(struct dp_panel *dp_panel,
|
||||
panel = container_of(dp_panel, struct dp_panel_private, dp_panel);
|
||||
panel->catalog->stream_id = dp_panel->stream_id;
|
||||
|
||||
panel->catalog->config_sdp(panel->catalog, en);
|
||||
if (panel->panel_on)
|
||||
panel->catalog->config_sdp(panel->catalog, en);
|
||||
}
|
||||
|
||||
static int dp_panel_hw_cfg(struct dp_panel *dp_panel, bool enable)
|
||||
|
||||
Reference in New Issue
Block a user