diff options
author | 2017-04-06 13:19:00 +0200 | |
---|---|---|
committer | 2017-04-06 17:00:27 -0400 | |
commit | 44596b8c4750d9a2323f52aecdeecf34f6aaa2e0 (patch) | |
tree | 5bc79c7aead5a5755417736ed3a18a6575a9df33 /drivers/gpu/drm/imx/imx-ldb.c | |
parent | drm: Take mode_config.mutex in setcrtc ioctl (diff) | |
download | linux-dev-44596b8c4750d9a2323f52aecdeecf34f6aaa2e0.tar.xz linux-dev-44596b8c4750d9a2323f52aecdeecf34f6aaa2e0.zip |
drm/atomic: Unify conflicting encoder handling.
Currently we use a flag to change behavior in atomic commit
whether a conflicting encoder should be enabled or disabled.
This is used for the legacy set_config helper, which disables
connectors that have a conflicting encoder but not part of the
active crtc list.
There's no need for this to be handled in atomic commit, it
could be done in the set_config helper instead. This will
let the atomic check function reject any conflicting encoders,
while set_config can disable conflicting crtc's. This makes it
possible to recalculate the changed flags in 1 loop.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1491477543-31257-2-git-send-email-maarten.lankhorst@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/imx/imx-ldb.c')
0 files changed, 0 insertions, 0 deletions