diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2023-09-25 12:57:47 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-09-26 17:00:23 -0400 |
commit | 1ca965719b5bff60a7fcf489f38313ca237a7d77 (patch) | |
tree | 01d1c28324943150c79b215ffc223fa6b923bc28 /drivers/gpu/drm/amd/include | |
parent | b2e1cbe6281feb880dbfbee47aa6defee4227cf0 (diff) | |
download | linux-1ca965719b5bff60a7fcf489f38313ca237a7d77.tar.gz linux-1ca965719b5bff60a7fcf489f38313ca237a7d77.tar.bz2 linux-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 <harry.wentland@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include')
0 files changed, 0 insertions, 0 deletions