diff options
author | Ville Syrjälä <[email protected]> | 2017-11-23 21:05:00 +0200 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2018-01-23 17:59:13 +0200 |
commit | 4f4becef17d693746cc9f14decc841a60fcb1b48 (patch) | |
tree | a603c184451a15ecfcf4bf5f2318628c87f6fc16 /tools/perf/scripts/python/stackcollapse.py | |
parent | a7d08ff19c14a717fe82769eaa3083aac5cf9db4 (diff) |
drm/vmwgfx: Use drm_mode_get_hv_timing() to populate plane clip rectangle
Use drm_mode_get_hv_timing() to fill out the plane clip rectangle.
Note that this replaces crtc_state->adjusted_mode usage with
crtc_state->mode. The latter is the correct choice since that's the
mode the user provided and it matches the plane crtc coordinates
the user also provided.
Once everyone agrees on this we can move the clip handling into
drm_atomic_helper_check_plane_state().
Cc: Laurent Pinchart <[email protected]>
Cc: VMware Graphics <[email protected]>
Cc: Sinclair Yeh <[email protected]>
Cc: Thomas Hellstrom <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Sinclair Yeh <[email protected]>
Reviewed-by: Thierry Reding <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions