aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm/amdgpu_pm.c
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2023-09-25 12:57:47 -0500
committerAlex Deucher <[email protected]>2023-09-26 17:00:23 -0400
commit1ca965719b5bff60a7fcf489f38313ca237a7d77 (patch)
tree01d1c28324943150c79b215ffc223fa6b923bc28 /drivers/gpu/drm/amd/pm/amdgpu_pm.c
parentb2e1cbe6281feb880dbfbee47aa6defee4227cf0 (diff)
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