|
@@ -3374,7 +3374,6 @@ static void sde_crtc_atomic_begin(struct drm_crtc *crtc,
|
|
struct drm_encoder *encoder;
|
|
struct drm_encoder *encoder;
|
|
struct drm_device *dev;
|
|
struct drm_device *dev;
|
|
struct sde_kms *sde_kms;
|
|
struct sde_kms *sde_kms;
|
|
- struct drm_plane *plane;
|
|
|
|
struct sde_splash_display *splash_display;
|
|
struct sde_splash_display *splash_display;
|
|
bool cont_splash_enabled = false;
|
|
bool cont_splash_enabled = false;
|
|
size_t i;
|
|
size_t i;
|
|
@@ -3435,14 +3434,8 @@ static void sde_crtc_atomic_begin(struct drm_crtc *crtc,
|
|
_sde_crtc_dest_scaler_setup(crtc);
|
|
_sde_crtc_dest_scaler_setup(crtc);
|
|
sde_cp_crtc_apply_noise(crtc, old_state);
|
|
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);
|
|
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
|
|
* Since CP properties use AXI buffer to program the
|