drm/tegra: Set fbdev FBINFO_VIRTFB flag
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 7 Jul 2023 08:31:55 +0000 (10:31 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 24 Jul 2023 18:14:43 +0000 (20:14 +0200)
commit7a9e28ab4990bf47754ab0a2d4c5ed8b116ead9a
tree0212c3d65366680358f21fcf7e5c881146863bd5
parentf9400b17a7e3b4a924f58249be0367d33d64eed0
drm/tegra: Set fbdev FBINFO_VIRTFB flag

Mark the framebuffer with FBINFO_VIRTFB. The framebuffer range is
in DMA-able memory and should be accessed with the CPU's regular
memory ops.

v2:
* drop FBINFO_DEFAULT

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Mikko Perttunen <mperttunen@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230707083422.18691-5-tzimmermann@suse.de
drivers/gpu/drm/tegra/fbdev.c