]> Git Repo - linux.git/commit
drm/bridge: Add an ->atomic_check() hook
authorBoris Brezillon <[email protected]>
Mon, 6 Jan 2020 14:34:08 +0000 (15:34 +0100)
committerNeil Armstrong <[email protected]>
Tue, 7 Jan 2020 09:11:15 +0000 (10:11 +0100)
commitb86d895524ab7281da8ca788e3666ab622fc8620
tree8f43ee4ec3a9c2ba9b02dacbbf922a6b4e322aaf
parentf7619a58ef9299c42a604ede063bb6e5b88098fb
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 <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
Reviewed by: Jernej Skrabec <[email protected]>
Tested-by: Jonas Karlman <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/drm_atomic_helper.c
drivers/gpu/drm/drm_bridge.c
include/drm/drm_bridge.h
This page took 0.051385 seconds and 4 git commands to generate.