summaryrefslogtreecommitdiffstats
path: root/drivers/counter/i8254.c
diff options
context:
space:
mode:
authorZack Rusin <zack.rusin@broadcom.com>2024-04-11 22:55:10 -0400
committerZack Rusin <zack.rusin@broadcom.com>2024-04-15 11:48:48 -0400
commita60ccade88f926e871a57176e86a34bbf0db0098 (patch)
tree55a8864d192f2b19dea400fcd770e9a03946b7fe /drivers/counter/i8254.c
parentb32233accefff1338806f064fb9b62cf5bc0609f (diff)
downloadlinux-stable-a60ccade88f926e871a57176e86a34bbf0db0098.tar.gz
linux-stable-a60ccade88f926e871a57176e86a34bbf0db0098.tar.bz2
linux-stable-a60ccade88f926e871a57176e86a34bbf0db0098.zip
drm/vmwgfx: Fix crtc's atomic check conditional
The conditional was supposed to prevent enabling of a crtc state without a set primary plane. Accidently it also prevented disabling crtc state with a set primary plane. Neither is correct. Fix the conditional and just driver-warn when a crtc state has been enabled without a primary plane which will help debug broken userspace. Fixes IGT's kms_atomic_interruptible and kms_atomic_transition tests. Signed-off-by: Zack Rusin <zack.rusin@broadcom.com> Fixes: 06ec41909e31 ("drm/vmwgfx: Add and connect CRTC helper functions") Cc: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> Cc: dri-devel@lists.freedesktop.org Cc: <stable@vger.kernel.org> # v4.12+ Reviewed-by: Ian Forbes <ian.forbes@broadcom.com> Reviewed-by: Martin Krastev <martin.krastev@broadcom.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240412025511.78553-5-zack.rusin@broadcom.com
Diffstat (limited to 'drivers/counter/i8254.c')
0 files changed, 0 insertions, 0 deletions