| 96da0d86 | 19-May-2026 |
Timur Kristóf <timur.kristof@gmail.com> |
drm/amd/pm/smu7: Notify SMU7 of DC->AC switch
When ATOM_PP_PLATFORM_CAP_HARDWAREDC is set, the SMU has a GPIO pin for detecting AC/DC switch and everything works automatically.
Otherwise when there
drm/amd/pm/smu7: Notify SMU7 of DC->AC switch
When ATOM_PP_PLATFORM_CAP_HARDWAREDC is set, the SMU has a GPIO pin for detecting AC/DC switch and everything works automatically.
Otherwise when there is no GPIO pin, the SMU can automatically detect switching to DC, but needs to be notified of switching to AC.
Use PPSMC_MSG_RunningOnAC to notify the SMC when switching to AC.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
| 9f49e3d4 | 29-Mar-2026 |
Timur Kristóf <timur.kristof@gmail.com> |
drm/amd/pm/smu7: Remove non-functional SMU7 voltage dependency on DAL
It looks like this was written for an old version of DC (DAL) and was never adapted afterwards. This was non-functional because
drm/amd/pm/smu7: Remove non-functional SMU7 voltage dependency on DAL
It looks like this was written for an old version of DC (DAL) and was never adapted afterwards. This was non-functional because it relied on the "dal_power_level" field which was never assigned anywhere in the code base.
Also, it was not implemented for CI ASICs.
Now superseded by the newer voltage dependency on display clock table added by the previous commit, let's remove.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
| 7b111aaa | 03-Mar-2025 |
Dr. David Alan Gilbert <linux@treblig.org> |
drm/amdgpu: Remove powerdown_uvd member
With phm_powerdown_uvd() gone in the previous patch, there's now no longer anything that reads the powerdown_uvd member of the pp_hwmgr_func.
Remove it.
The
drm/amdgpu: Remove powerdown_uvd member
With phm_powerdown_uvd() gone in the previous patch, there's now no longer anything that reads the powerdown_uvd member of the pp_hwmgr_func.
Remove it.
There are a few assignments to it; a boring NULL which can just go, and two functions, but those functions are called explicitly anyway so the assignments to the member go.
One of those (smu7_powerdown_uvd) wasn't static previously; make it static.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
| a74691f5 | 02-Aug-2023 |
Ran Sun <sunran001@208suo.com> |
drm/amd/pm: Clean up errors in smu75.h
Fix the following errors reported by checkpatch:
ERROR: space prohibited before open square bracket '[' ERROR: "foo * bar" should be "foo *bar"
Signed-off-by
drm/amd/pm: Clean up errors in smu75.h
Fix the following errors reported by checkpatch:
ERROR: space prohibited before open square bracket '[' ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: Ran Sun <sunran001@208suo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
| d1a04161 | 02-Aug-2023 |
Ran Sun <sunran001@208suo.com> |
drm/amd/pm: Clean up errors in smu73.h
Fix the following errors reported by checkpatch:
ERROR: open brace '{' following struct go on the same line ERROR: space prohibited before open square bracket
drm/amd/pm: Clean up errors in smu73.h
Fix the following errors reported by checkpatch:
ERROR: open brace '{' following struct go on the same line ERROR: space prohibited before open square bracket '[' ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: Ran Sun <sunran001@208suo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
| 6f569e69 | 02-Aug-2023 |
Ran Sun <sunran001@208suo.com> |
drm/amd/pm: Clean up errors in hwmgr.h
Fix the following errors reported by checkpatch:
ERROR: open brace '{' following struct go on the same line ERROR: Use C99 flexible arrays
Signed-off-by: Ran
drm/amd/pm: Clean up errors in hwmgr.h
Fix the following errors reported by checkpatch:
ERROR: open brace '{' following struct go on the same line ERROR: Use C99 flexible arrays
Signed-off-by: Ran Sun <sunran001@208suo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
| 6f3d7a6a | 02-Aug-2023 |
Ran Sun <sunran001@208suo.com> |
drm/amd/pm: Clean up errors in hardwaremanager.h
Fix the following errors reported by checkpatch:
ERROR: open brace '{' following struct go on the same line
Signed-off-by: Ran Sun <sunran001@208su
drm/amd/pm: Clean up errors in hardwaremanager.h
Fix the following errors reported by checkpatch:
ERROR: open brace '{' following struct go on the same line
Signed-off-by: Ran Sun <sunran001@208suo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
| 4d2d4f15 | 02-Aug-2023 |
Ran Sun <sunran001@208suo.com> |
drm/amd/pm: Clean up errors in pp_thermal.h
Fix the following errors reported by checkpatch:
ERROR: open brace '{' following struct go on the same line
Signed-off-by: Ran Sun <sunran001@208suo.com
drm/amd/pm: Clean up errors in pp_thermal.h
Fix the following errors reported by checkpatch:
ERROR: open brace '{' following struct go on the same line
Signed-off-by: Ran Sun <sunran001@208suo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
| e761d50d | 02-Aug-2023 |
Ran Sun <sunran001@208suo.com> |
drm/amd/pm: Clean up errors in smu7.h
Fix the following errors reported by checkpatch:
ERROR: open brace '{' following struct go on the same line
Signed-off-by: Ran Sun <sunran001@208suo.com> Sign
drm/amd/pm: Clean up errors in smu7.h
Fix the following errors reported by checkpatch:
ERROR: open brace '{' following struct go on the same line
Signed-off-by: Ran Sun <sunran001@208suo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
| 8377c8bf | 02-Aug-2023 |
Ran Sun <sunran001@208suo.com> |
drm/amd/pm: Clean up errors in smu7_fusion.h
Fix the following errors reported by checkpatch:
ERROR: open brace '{' following struct go on the same line ERROR: space prohibited before open square b
drm/amd/pm: Clean up errors in smu7_fusion.h
Fix the following errors reported by checkpatch:
ERROR: open brace '{' following struct go on the same line ERROR: space prohibited before open square bracket '['
Signed-off-by: Ran Sun <sunran001@208suo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|