[PATCH] drm/amd/display: Change dc_set_power_state() to bool instead of int

2023-09-25 Thread Mario Limonciello
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 Signed-off-by: Mario Limonciello --- drivers/gp

Re: [PATCH] drm/amd/display: Change dc_set_power_state() to bool instead of int

2023-09-25 Thread Harry Wentland
On 2023-09-25 14:24, Mario Limonciello wrote: > 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 W