OSDN Git Service

drm: Add Grain Media GM12U320 driver v2
authorHans de Goede <hdegoede@redhat.com>
Sun, 21 Jul 2019 13:25:25 +0000 (15:25 +0200)
committerHans de Goede <hdegoede@redhat.com>
Sun, 21 Jul 2019 19:01:59 +0000 (21:01 +0200)
commite4f86e43716443e934d705952902d40de0fa9a05
treed84b74c6e73f5362d0bd151532986ab0bd9bd33c
parent73415b4ea5b5a257db6b5bd135b305cd945e63de
drm: Add Grain Media GM12U320 driver v2

Add a modesetting driver for Grain Media GM12U320 based devices
(primarily Acer C120 projector, but there may be compatible devices).

This is based on the fb driver from Viacheslav Nurmekhamitov:
https://github.com/slavrn/gm12u320

This driver uses drm_simple_display_pipe to deal with all the atomic
stuff, gem_shmem_helper functions for buffer management and
drm_fbdev_generic_setup for fbdev emulation, so that leaves the driver
itself with only the actual code for talking to the gm12u320 chip,
leading to a nice simple and clean driver.

Changes in v2:
-Add drm-misc tree to MAINTAINERS
-Drop mode_config.preferred_depth = 24 / fix fbdev support

Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190721132525.10396-1-hdegoede@redhat.com
MAINTAINERS
drivers/gpu/drm/Kconfig
drivers/gpu/drm/Makefile
drivers/gpu/drm/gm12u320/Kconfig [new file with mode: 0644]
drivers/gpu/drm/gm12u320/Makefile [new file with mode: 0644]
drivers/gpu/drm/gm12u320/gm12u320.c [new file with mode: 0644]