diff options
author | Bibby Hsieh <[email protected]> | 2016-08-04 10:59:57 +0800 |
---|---|---|
committer | Sean Paul <[email protected]> | 2016-08-08 14:20:02 -0400 |
commit | ac08500c1bcb620810838c735143a00e5acf5b5f (patch) | |
tree | fb743a1fd8e51872bbae90498a47e6a35fa2f6f4 /tools/perf/scripts/python/sched-migration.py | |
parent | 9c350d834f08407d8470b3c09bbc34e42d261362 (diff) |
drm/mediatek: Fix mtk_atomic_complete for runtime_pm
To properly implement atomic w/ runtime pm, we move
drm_atomic_helper_commit_modeset_enables() above
drm_atomic_helper_commit_planes() to ensure CRTCs are enabled before
modifying plane registers, and set active_only to true to filter out
plane update notifications when the CRTC is disabled.
According to the document from linux kernel:
Set the active_only parameters to true in order not to receive plane
update notifications related to a disabled CRTC. This avoids the need
to manually ignore plane updates in driver code when the driver and/or
hardware can't or just don't need to deal with updates on disabled
CRTCs, for example when supporting runtime PM.
Signed-off-by: Bibby Hsieh <[email protected]>
Signed-off-by: Daniel Kurtz <[email protected]>
Signed-off-by: Sean Paul <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions