Skip to content
Commit 8e8c66af authored by Thierry Reding's avatar Thierry Reding Committed by Greg Kroah-Hartman
Browse files

drm/tegra: Remove existing framebuffer only if we support display



[ Upstream commit 86bf8cfd ]

Tegra DRM doesn't support display on Tegra234 and later, so make sure
not to remove any existing framebuffers in that case.

v2: - add comments explaining how this situation can come about
    - clear DRIVER_MODESET and DRIVER_ATOMIC feature bits

Fixes: 6848c291 ("drm/aperture: Convert drivers to aperture interfaces")
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Reviewed-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
Signed-off-by: default avatarRobert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240223150333.1401582-1-thierry.reding@gmail.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 274bf3cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment