diff options
| author | Austin Zheng <[email protected]> | 2024-07-10 14:15:57 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-07-23 17:36:15 -0400 |
| commit | aaa21e6a33bae017fc190bd75f76baa29d259346 (patch) | |
| tree | 9dbe43bfbb4f94c0a4fe6d70fff9d0e00548178f /tools/perf/scripts/python/flamegraph.py | |
| parent | 94beb4ac1b3bc5fbeef977960a90ee4f594b4465 (diff) | |
drm/amd/display: Check if Mode is Supported Before Returning Result
[Why]
Even if the mode is not supported dml2_check_mode_supported() would still return true.
This causes an unsupported mode to be programmed.
[How]
Check if the mode is supported or not and return the proper result.
Reviewed-by: Chaitanya Dhere <[email protected]>
Signed-off-by: Austin Zheng <[email protected]>
Signed-off-by: Aurabindo Pillai <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions