diff options
author | Paul Kocialkowski <paul.kocialkowski@bootlin.com> | 2019-01-18 15:51:14 +0100 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@bootlin.com> | 2019-01-18 19:00:45 +0100 |
commit | 915bf9fe646d82646ebb61e5cb31d89483ba9528 (patch) | |
tree | 696b8b170d41e668d08392f31997371f5478bd2e /COPYING | |
parent | 0fff724a33917ac581b5825375d0b57affedee76 (diff) | |
download | linux-915bf9fe646d82646ebb61e5cb31d89483ba9528.tar.bz2 |
drm/sun4i: frontend: Pass DRM format info to input format helpers
The helper returning the input mode needs to know the number of planes
for the provided format. Passing the fourcc requires iterating through
the format info list in order to return the number of planes.
Pass the DRM format info structure directly instead to all helpers
related to configuring the input format, since it's available to the
caller. Also rename the input format in the caller function to keep
things consistent.
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190118145133.21281-5-paul.kocialkowski@bootlin.com
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions