diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2023-11-03 10:01:01 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-11-29 17:52:00 -0500 |
commit | c95f12b7b724abee5e8c3727db066c63c0876db3 (patch) | |
tree | 25ba653ac6cd7d34803902ce7512e529b391916c /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | |
parent | 3c9ea68cb61bd7e5bd312c06a12adada74ff5805 (diff) |
drm/amd/display: Add z-state support policy for dcn35
[Why]
DML2 means that the dcn3x policy for calculating z-state support
no longer runs from validate_bandwidth.
This means we are unconditionally allowing Z8, the hardware default.
[How]
Port the policy over to DCN35, but with a few modifications:
- Don't use min_dst_y_next_start as a check for Z8/Z10 allow
- Add support for overriding the Z10 stutter period per ASIC
- Cleanup the code to make the policy assignment more clear
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c')
0 files changed, 0 insertions, 0 deletions