Timur Kristóf
622f134d85
drm/amd/pm: Delete PP_DAL_POWERLEVEL
...
Not used and not needed anymore.
Acked-by: Christian König <christian.koenig@amd.com >
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Melissa Wen <mwen@igalia.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2026-05-27 10:47:10 -04:00
Timur Kristóf
e624a56f8a
drm/amd/pm: Delete get_dal_power_level
...
Not needed anymore.
Acked-by: Christian König <christian.koenig@amd.com >
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Melissa Wen <mwen@igalia.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2026-05-27 10:47:07 -04:00
Timur Kristóf
b515dcb0dc
drm/amd/display: Add pixel_clock to amd_pp_display_configuration
...
This commit adds the pixel_clock field to the display config
struct so that power management (DPM) can use it.
We currently don't have a proper bandwidth calculation on old
GPUs with DCE 6-10 because dce_calcs only supports DCE 11+.
So the power management (DPM) on these GPUs may need to make
ad-hoc decisions for display based on the pixel clock.
Also rename sym_clock to pixel_clock in dm_pp_single_disp_config
to avoid confusion with other code where the sym_clock refers to
the DisplayPort symbol clock.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-09-15 16:52:41 -04:00
chenxuebing
eadf484e6b
drm/amd/pp: Clean up errors in dm_pp_interface.h
...
Fix the following errors reported by checkpatch:
ERROR: open brace '{' following struct go on the same line
ERROR: space prohibited before that ',' (ctx:WxE)
Signed-off-by: chenxuebing <chenxb_99091@126.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2024-01-18 15:38:17 -05:00
Rex Zhu
20582319bc
drm/amd/pp: Remove the same struct define in powerplay
...
delete the same struct define in powerplay, share the struct
with display.
Acked-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2018-07-05 16:40:02 -05:00
Evan Quan
2cac05dee6
drm/amd/powerplay: add the hw manager for vega12 (v4)
...
handles the driver power state setup
v2: squash in the following:
- handle negative temperature ranges
- add vega12 thermal ranges
- use ffs/fls
- remove ACG code
- resend NumOfDisplays message
- correct max dpm levels
- remove power containment settings
- fix warnings
- add sensors interface
- delete unused overdrive arbiter
- drop get_temperature callback
- smu table cleanup
- atomfirmware smu dpm table updates
v3: rebase
v4: rebase
Acked-by: Christian König <christian.koenig@amd.com >
Signed-off-by: Evan Quan <evan.quan@amd.com >
Reviewed-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2018-03-21 14:36:56 -05:00
Rex Zhu
2c2b67b479
drm/amdgpu: move DC and PP shared data structures to dm_pp_interface.h
...
Move the display/power interfaces to one place.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2017-12-04 16:33:17 -05:00
Eric Huang
a2dd023a77
drm/amd: add structures for display/powerplay interface
...
Acked-by: Christian König <christian.koenig@amd.com >
Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com >
Acked-by: Alex Deucher <alexander.deucher@amd.com >
Acked-by: Tony Cheng <tony.cheng@amd.com >
Acked-by: Harry Wentland <harry.wentland@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2017-03-29 23:54:53 -04:00