]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tinydrm: Advertise that we can do only DRM_FORMAT_MOD_LINEAR.
authorEric Anholt <eric@anholt.net>
Thu, 25 Oct 2018 16:26:35 +0000 (09:26 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 30 Oct 2018 20:01:50 +0000 (13:01 -0700)
commitf394e46aad7cd4f5eed92d5272755ebcbfcba15d
tree328aa24cad066eb702d5b34d9e3a6c94f3ecdcb1
parentd5ac6ed68d9d654662066f2a8f7f33be482faab2
drm/tinydrm: Advertise that we can do only DRM_FORMAT_MOD_LINEAR.

Without this, the xserver relies on what the 3D driver exposes and
assumes that the display can handle it, and then the DRM driver
happily tries to scan out a tiled format.

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20181025162635.6689-1-eric@anholt.net
Acked-by: Noralf Trønnes <noralf@tronnes.org>
drivers/gpu/drm/drm_simple_kms_helper.c
drivers/gpu/drm/tinydrm/core/tinydrm-core.c
drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c