aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/pm/amdgpu_pm.c
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2023-09-25 17:57:47 +0000
committerAlex Deucher <[email protected]>2023-09-26 21:00:23 +0000
commit1ca965719b5bff60a7fcf489f38313ca237a7d77 (patch)
tree01d1c28324943150c79b215ffc223fa6b923bc28 /drivers/gpu/drm/amd/pm/amdgpu_pm.c
parentdrm/amdgpu/gmc11: disable AGP on GC 11.5 (diff)
downloadkernel-1ca965719b5bff60a7fcf489f38313ca237a7d77.tar.gz
kernel-1ca965719b5bff60a7fcf489f38313ca237a7d77.zip
drm/amd/display: Change dc_set_power_state() to bool instead of int
DC code is reused by other OSes and so Linux return codes don't make sense. Change dc_set_power_state() to boolean and add a wrapper dm_set_power_state() to return a Linux error code for the memory allocation failure. Suggested-by: Harry Wentland <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions