mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
drm: msm: Do not check for 0 mixer count
The first frame may not have the mixer setup, but the properties can be applied later on. Change-Id: Ic21d751ee7b5375ed49bacb481d8f34875bf0190
This commit is contained in:
parent
b69f691680
commit
5b176bf444
1 changed files with 1 additions and 2 deletions
|
|
@ -1453,8 +1453,7 @@ int sde_cp_crtc_set_property(struct drm_crtc *crtc,
|
|||
* crtc. Check LM and dspp counts based on whether feature is a
|
||||
* dspp/lm feature.
|
||||
*/
|
||||
if (!sde_crtc->num_mixers ||
|
||||
sde_crtc->num_mixers > ARRAY_SIZE(sde_crtc->mixers)) {
|
||||
if (sde_crtc->num_mixers > ARRAY_SIZE(sde_crtc->mixers)) {
|
||||
DRM_INFO("Invalid mixer config act cnt %d max cnt %ld\n",
|
||||
sde_crtc->num_mixers,
|
||||
(long)ARRAY_SIZE(sde_crtc->mixers));
|
||||
|
|
|
|||
Loading…
Reference in a new issue