diff options
author | Boris Brezillon <boris.brezillon@collabora.com> | 2020-01-06 15:34:08 +0100 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2020-01-07 10:11:15 +0100 |
commit | b86d895524ab7281da8ca788e3666ab622fc8620 (patch) | |
tree | 8f43ee4ec3a9c2ba9b02dacbbf922a6b4e322aaf /include/drm/drm_damage_helper.h | |
parent | f7619a58ef9299c42a604ede063bb6e5b88098fb (diff) | |
download | linux-b86d895524ab7281da8ca788e3666ab622fc8620.tar.bz2 |
drm/bridge: Add an ->atomic_check() hook
So that bridge drivers have a way to check/reject an atomic operation.
The drm_atomic_bridge_chain_check() (which is just a wrapper around
the ->atomic_check() hook) is called in place of
drm_bridge_chain_mode_fixup() (when ->atomic_check() is not implemented,
the core falls back on ->mode_fixup(), so the behavior should stay
the same for existing bridge drivers).
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed by: Jernej Skrabec <jernej.skrabec@siol.net>
Tested-by: Jonas Karlman <jonas@kwiboo.se>
Link: https://patchwork.freedesktop.org/patch/msgid/20200106143409.32321-4-narmstrong@baylibre.com
Diffstat (limited to 'include/drm/drm_damage_helper.h')
0 files changed, 0 insertions, 0 deletions