diff options
author | Archit Taneja <architt@codeaurora.org> | 2018-02-21 17:37:23 +0300 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2018-06-03 23:49:00 +0300 |
commit | 7907a0d77cb461f58045763c205a5830be72e97c (patch) | |
tree | f842c08966fe136f30162fd4fd053c1e4d15ce35 /drivers/pinctrl/tegra/pinctrl-tegra114.c | |
parent | 8d58ef346f30cbbeb9213a7eb90c832abf903fa0 (diff) | |
download | linux-7907a0d77cb461f58045763c205a5830be72e97c.tar.xz |
drm/msm/mdp5: Use the new private_obj state
This replaces the usage of the subclassed atomic state (mdp5_state)
with a private_obj state embedded within drm_atomic_state. The latter
method is the preferred approach, since it's simpler to implement
and less prone to errors.
The new API replaces the older and equivalent mdp5_state usage in the
following pattern:
- References to "mdp5_kms->state" (i.e, the old/existing state) is
replaced with mdp5_get_existing_global_state(). In the atomic_check
path, this should be called with the glob_state_lock drm_modeset_lock
alredy taken.
- References to "mdp5_get_state()" are replaced with
mdp5_get_global_state(). This acquires glob_state_lock and uses
drm_atomic_get_private_obj_state() to create a new duplicated state.
Changes in v3:
- Acquire glob_state_lock in mdp5_smp.c
- Added to the msm atomic helper patch set
Changes in v4:
- None
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to 'drivers/pinctrl/tegra/pinctrl-tegra114.c')
0 files changed, 0 insertions, 0 deletions