disp: msm: sde: avoid vbif level and RP remap programming for virtual planes
Each rectangle is listed as an individual DRM plane, and since they share a common VBIF register, there is no need to re program the QOS remapper for the virtual plane. Change-Id: I7af6aca1953cd61e622ef5b15353d5ea20fd73cd Signed-off-by: Akash Gajjar <quic_agajjar@quicinc.com>
This commit is contained in:
@@ -502,6 +502,9 @@ static void _sde_plane_set_qos_remap(struct drm_plane *plane)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (psde->is_virtual)
|
||||||
|
return;
|
||||||
|
|
||||||
memset(&qos_params, 0, sizeof(qos_params));
|
memset(&qos_params, 0, sizeof(qos_params));
|
||||||
qos_params.vbif_idx = VBIF_RT;
|
qos_params.vbif_idx = VBIF_RT;
|
||||||
qos_params.clk_ctrl = psde->pipe_hw->cap->clk_ctrl;
|
qos_params.clk_ctrl = psde->pipe_hw->cap->clk_ctrl;
|
||||||
|
Reference in New Issue
Block a user