diff options
| author | Su Sung Chung <[email protected]> | 2018-09-13 15:26:08 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-10-09 17:01:55 -0500 |
| commit | 74eac5f3b43eda8b518662b011d1f18d5560e144 (patch) | |
| tree | 4ed1b40d732a11d2306536110ba09b8ae0e5de38 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | cbad73147fe20be018d976ea59c82bdf26e46151 (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