OSDN Git Service

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)
commitdff906c3f91c642ef04731e63c3b5f0e520f7778
tree328aa24cad066eb702d5b34d9e3a6c94f3ecdcb1
parent01f23459cf93a57d11bd93e660460f135b237af5
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