1
0

display: msm: sde: update qos lut after scaler config

This change moves the code of updating the qos lut for qseed3
to each plane after updating the scaler configuration. This
avoids using stale values for qos settings.

Change-Id: I2c55a98e1ba9790d596c55160933cd5afd2388e5
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Este cometimento está contido em:
Abhijit Kulkarni
2020-12-15 10:43:17 -08:00
cometido por Dhaval Patel
ascendente 2f36a8f57a
cometimento 559620308e
3 ficheiros modificados com 3 adições e 19 eliminações

Ver ficheiro

@@ -3374,7 +3374,6 @@ static void sde_crtc_atomic_begin(struct drm_crtc *crtc,
struct drm_encoder *encoder;
struct drm_device *dev;
struct sde_kms *sde_kms;
struct drm_plane *plane;
struct sde_splash_display *splash_display;
bool cont_splash_enabled = false;
size_t i;
@@ -3435,14 +3434,8 @@ static void sde_crtc_atomic_begin(struct drm_crtc *crtc,
_sde_crtc_dest_scaler_setup(crtc);
sde_cp_crtc_apply_noise(crtc, old_state);
if (old_state->mode_changed) {
if (crtc->state->mode_changed)
sde_core_perf_crtc_update_uidle(crtc, true);
drm_atomic_crtc_for_each_plane(plane, crtc) {
if (plane->state && plane->state->fb)
_sde_plane_set_qos_lut(plane, crtc,
plane->state->fb);
}
}
/*
* Since CP properties use AXI buffer to program the