Преглед на файлове

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 <[email protected]>
Akash Gajjar преди 2 години
родител
ревизия
8227b2ac26
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      msm/sde/sde_plane.c

+ 3 - 0
msm/sde/sde_plane.c

@@ -502,6 +502,9 @@ static void _sde_plane_set_qos_remap(struct drm_plane *plane)
 		return;
 	}
 
+	if (psde->is_virtual)
+		return;
+
 	memset(&qos_params, 0, sizeof(qos_params));
 	qos_params.vbif_idx = VBIF_RT;
 	qos_params.clk_ctrl = psde->pipe_hw->cap->clk_ctrl;