drm/sun4i: sun4i: Register quirks with the backend structure
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Thu, 19 Jul 2018 08:08:37 +0000 (10:08 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Thu, 19 Jul 2018 15:03:55 +0000 (17:03 +0200)
commite527cd9e48e33e8caffc0b00a4f5bd1add0b3d09
tree1a8d8625f94df872617b81b8dac66a190dc9cad5
parent490cda5a3c82c4a6a0bbdffe783eb48aec25511a
drm/sun4i: sun4i: Register quirks with the backend structure

In prevision for introducing a new quirk that will be used at atomic
plane check time, register the quirks structure with the backend
structure. This way, it can easily be grabbed where needed.

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