aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_plane.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2017-12-20 11:52:47 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-12-20 12:59:46 +0100
commit2c08cd7c20968ddf71feeac2265b4741d2b3fdde (patch)
treeded30b72a517e64d50befb89f5247c6b31280405 /drivers/gpu/drm/drm_plane.c
parentdrm/sun4i: Fix error path handling (diff)
downloadlinux-dev-2c08cd7c20968ddf71feeac2265b4741d2b3fdde.tar.xz
linux-dev-2c08cd7c20968ddf71feeac2265b4741d2b3fdde.zip
drm/sun4i: hdmi: Move the mode_valid callback to the encoder
When attached to the connector, the mode_valid callback will only filter the modes provided by the connector itself as part of its probe. However, it will not be doing it when the mode is provided by the userspace, which still might result in a broken configuration. In order to enforce these constraints, move our mode_valid callback to the encoder which doesn't have this behaviour. Acked-by: Daniel Vetter <daniel@ffwll.ch> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> [maxime: Wrote the commit log in order to update the patch from the merged v3 to the v4 that was correct.] Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Link: https://patchwork.freedesktop.org/patch/msgid/0fa230a8-d01d-561a-f74f-6b4fd421255b@xs4all.nl
Diffstat (limited to 'drivers/gpu/drm/drm_plane.c')
0 files changed, 0 insertions, 0 deletions