diff options
| author | Sung Lee <[email protected]> | 2020-10-30 23:31:51 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-11-16 17:18:44 +0000 |
| commit | 82df77ae4639af747adb223fb4678e3493e4a8b8 (patch) | |
| tree | 42143e6974a6bd5e15352b360a93aa4a5808de52 /drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h | |
| parent | drm/amd/display: Hook up PSR residency command to DSAT (diff) | |
| download | kernel-82df77ae4639af747adb223fb4678e3493e4a8b8.tar.gz kernel-82df77ae4639af747adb223fb4678e3493e4a8b8.zip | |
drm/amd/display: Populate hostvm parameter before DML calculation
[Why]
If the system does not have hostvm enabled, disabling it for
DML validation will allow more modes to pass at lower voltage
levels.
[How]
When initializing HostVM save state to hubbub and read back
when populating DML pipes from context.
Signed-off-by: Sung Lee <[email protected]>
Acked-by: Bindu Ramamurthy <[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 5425e92efcb8..d9fd28b34f2a 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h @@ -157,6 +157,7 @@ struct hubbub_funcs { struct hubbub { const struct hubbub_funcs *funcs; struct dc_context *ctx; + bool riommu_active; }; #endif |
