diff options
| author | Jun Lei <[email protected]> | 2022-11-02 19:19:37 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-11-15 18:34:42 +0000 |
| commit | d97fd7a07b34d3671ae09d64f102adabdbd80ffe (patch) | |
| tree | 0ef49bc93530fb2d78a798222edc2e87b9ac0a2f /drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h | |
| parent | drm/amd/display: Support parsing VRAM info v3.0 from VBIOS (diff) | |
| download | kernel-d97fd7a07b34d3671ae09d64f102adabdbd80ffe.tar.gz kernel-d97fd7a07b34d3671ae09d64f102adabdbd80ffe.zip | |
drm/amd/display: enable dchub request limit for DCN 3.2.x
[why]
HW recommend we enable this for better DF QoS for DCN 3.2.x
[how]
Add interfaces to hubbub to program register
Add initialization as part of init_hw
Add default settings for DCN 3.2.x
Add registry override for debug/tuning
Reviewed-by: Alvin Lee <[email protected]>
Acked-by: Tom Chung <[email protected]>
Signed-off-by: Jun Lei <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h')
| -rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h b/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h index 58f758fcbce1..f2e1fcb668fb 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h @@ -186,6 +186,7 @@ struct hubbub_funcs { void (*program_compbuf_size)(struct hubbub *hubbub, unsigned compbuf_size_kb, bool safe_to_increase); void (*init_crb)(struct hubbub *hubbub); void (*force_usr_retraining_allow)(struct hubbub *hubbub, bool allow); + void (*set_request_limit)(struct hubbub *hubbub, int memory_channel_count, int words_per_channel); }; struct hubbub { |
