aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorSu Sung Chung <[email protected]>2018-09-13 15:26:08 -0400
committerAlex Deucher <[email protected]>2018-10-09 17:01:55 -0500
commit74eac5f3b43eda8b518662b011d1f18d5560e144 (patch)
tree4ed1b40d732a11d2306536110ba09b8ae0e5de38 /tools/perf/scripts/python/event_analyzing_sample.py
parentcbad73147fe20be018d976ea59c82bdf26e46151 (diff)
drm/amd/display: Calculate swizzle mode using bpp during validation
[Why] Previously bandwidth validation was failing because swizzle mode was not initialized during plane_state allocation. The swizzle mode was calculated using pixed format which is how swizzle mode is initially calculated in addrlib. [How] * Set default swizzle mode for validation to DC_SW_UNKNOWN * Created new function in dcn10_assign_swizzle_mode which sets the plane swizzle mode based on selected pixed format * Added the call of assign_swizzle_mode into dc_validate_global_state * Set failsafe swizzle mode back to DC_SW_LINEAR Signed-off-by: Su Sung Chung <[email protected]> Reviewed-by: Eric Yang <[email protected]> Acked-by: Leo Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions