]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/komeda: Don't flush inactive pipes
authorMihail Atanassov <Mihail.Atanassov@arm.com>
Thu, 10 Oct 2019 10:30:07 +0000 (10:30 +0000)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 12 Nov 2019 17:47:34 +0000 (18:47 +0100)
commit7216cd78bfad7de52545083631834ff54b458345
tree62fb7d2037d3d9985c5780c64dd8bcd3735b09cc
parent10d854ea1e6cd5bb9ee1f74f290f9d537f3a8b3b
drm/komeda: Don't flush inactive pipes

BugLink: https://bugs.launchpad.net/bugs/1852111
[ Upstream commit b88639b8e3808c948169af390bd7e84e909bde8d ]

HW doesn't allow flushing inactive pipes and raises an MERR interrupt
if you try to do so. Stop triggering the MERR interrupt in the
middle of a commit by calling drm_atomic_helper_commit_planes
with the ACTIVE_ONLY flag.

Reviewed-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191010102950.56253-1-mihail.atanassov@arm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/gpu/drm/arm/display/komeda/komeda_kms.c