diff options
author | 2022-12-03 21:58:37 -0500 | |
---|---|---|
committer | 2023-01-03 16:57:58 -0500 | |
commit | 9ed90489a479bba7f27fee9b4102ee2a4a2138e8 (patch) | |
tree | 3b4c9811a05ea029751987376d512af716f8ba5d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amd/display: Adding braces to prepare for future changes to behavior of if block (diff) | |
download | wireguard-linux-9ed90489a479bba7f27fee9b4102ee2a4a2138e8.tar.xz wireguard-linux-9ed90489a479bba7f27fee9b4102ee2a4a2138e8.zip |
drm/amd/display: Reorder dc_state fields to optimize clearing the struct
[why & how]
By moving bw_ctx field to the end of the dc_state the state can be
cleared more efficiently without resulting in large DML memcpy
operations, resulting in better mode enumeration performance on some
platforms.
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Reviewed-by: Nevenko Stupar <Nevenko.Stupar@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions