mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
disp: msm: sde: remove check comparing encoder's crtc and crtc
This change removes the check comparing encoder's crtc to the
crtc passed in. This check was required up until commit 70486d209c
("disp: msm: sde: remove vblank cache logic"). Now that iteration
is only happening over encoders in the encoder mask, there is no
need to check for a matching crtc to ensure it is valid.
Change-Id: I4ee08061e6c8679fe03f42cf2f889704c99526e5
Signed-off-by: Samantha Tran <samtran@codeaurora.org>
This commit is contained in:
parent
eddae0d758
commit
83ff89732a
1 changed files with 0 additions and 6 deletions
|
|
@ -3676,9 +3676,6 @@ static int _sde_crtc_vblank_enable_no_lock(
|
|||
|
||||
drm_for_each_encoder_mask(enc, crtc->dev,
|
||||
crtc->state->encoder_mask) {
|
||||
if (enc->crtc != crtc)
|
||||
continue;
|
||||
|
||||
SDE_EVT32(DRMID(&sde_crtc->base), DRMID(enc), enable,
|
||||
sde_crtc->enabled);
|
||||
|
||||
|
|
@ -3688,9 +3685,6 @@ static int _sde_crtc_vblank_enable_no_lock(
|
|||
} else {
|
||||
drm_for_each_encoder_mask(enc, crtc->dev,
|
||||
crtc->state->encoder_mask) {
|
||||
if (enc->crtc != crtc)
|
||||
continue;
|
||||
|
||||
SDE_EVT32(DRMID(&sde_crtc->base), DRMID(enc), enable,
|
||||
sde_crtc->enabled);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue