]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: frontend: Add a quirk structure
authorMaxime Ripard <maxime.ripard@bootlin.com>
Fri, 18 Jan 2019 14:51:28 +0000 (15:51 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Fri, 18 Jan 2019 20:12:00 +0000 (21:12 +0100)
commit0e871261c08b5362f793a4a69a935506e362de64
tree259fe565341ddaf1e17a3b676d55dc5ede5773f4
parent830ce7beb9efd9be4d80155f9ca3e795bbda0ea6
drm/sun4i: frontend: Add a quirk structure

The ACCESS_CTRL bit is not found on all the variants of the frontend, so
let's introduce a structure that will hold whether or not we need to set
it, and associate it with the compatible.

This will be extended for further similar quirks later on.

Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190118145133.21281-19-paul.kocialkowski@bootlin.com
drivers/gpu/drm/sun4i/sun4i_frontend.c
drivers/gpu/drm/sun4i/sun4i_frontend.h