drm/modes: Add DRM_SIMPLE_MODE()
authorNoralf Trønnes <noralf@tronnes.org>
Sun, 10 Feb 2019 13:10:31 +0000 (14:10 +0100)
committerNoralf Trønnes <noralf@tronnes.org>
Thu, 21 Feb 2019 11:13:42 +0000 (12:13 +0100)
commit06db4b8b26284133333bd01504a029139ccf872c
tree98670101b4a083437e25b4a64c1173b6ab4c0b51
parentba3bf37e150a99b51b13f5cebf89715685d21212
drm/modes: Add DRM_SIMPLE_MODE()

This adds a helper macro to specify modes that only contain info about
resolution.

v2: Actually set the width and height (Ilia Mirkin)

Cc: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190210131039.52664-5-noralf@tronnes.org
drivers/gpu/drm/tinydrm/hx8357d.c
drivers/gpu/drm/tinydrm/ili9225.c
drivers/gpu/drm/tinydrm/ili9341.c
drivers/gpu/drm/tinydrm/mi0283qt.c
drivers/gpu/drm/tinydrm/repaper.c
drivers/gpu/drm/tinydrm/st7586.c
drivers/gpu/drm/tinydrm/st7735r.c
include/drm/drm_modes.h
include/drm/tinydrm/tinydrm.h