aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorJouni Högander <[email protected]>2022-08-23 14:29:18 +0300
committerVille Syrjälä <[email protected]>2022-09-13 13:53:56 +0300
commitf4a2f273033e059de2266aa10b6459bd36b92223 (patch)
tree3744ef2aa133937ec2873e7ae4ec09b44ceb413e /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentcae5cb0cabc4847781fb359d98f7e1d9c7a7909e (diff)
drm/i915/display: Use original src in psr2 sel fetch area calculation
drm_plane_state->src is modified when offset is calculated: before calculation: src.x1 = 8192, src.y1 = 8192 after calculation (pitch = 65536, cpp = 4, alignment = 262144) src.x1 = 8192, src.y1 = 0, offset = 0x20000000 Damage clips are relative to original coodrdinates provided by user-space. To compare these against src coordinates we need to use original coordinates as provided by user-space. These can be obtained by using drm_plane_state_src. Signed-off-by: Jouni Högander <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Mika Kahola <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions