RE: [PATCH 1/9] drm/amdgpu: Use backlight power constants

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Public]

> -----Original Message-----
> From: Thomas Zimmermann <tzimmermann@xxxxxxx>
> Sent: Wednesday, July 31, 2024 8:17 AM
> To: maarten.lankhorst@xxxxxxxxxxxxxxx; mripard@xxxxxxxxxx;
> airlied@xxxxxxxxx; daniel@xxxxxxxx
> Cc: amd-gfx@xxxxxxxxxxxxxxxxxxxxx; dri-devel@xxxxxxxxxxxxxxxxxxxxx; intel-
> gfx@xxxxxxxxxxxxxxxxxxxxx; intel-xe@xxxxxxxxxxxxxxxxxxxxx; Thomas
> Zimmermann <tzimmermann@xxxxxxx>; Deucher, Alexander
> <Alexander.Deucher@xxxxxxx>; Koenig, Christian
> <Christian.Koenig@xxxxxxx>; Pan, Xinhui <Xinhui.Pan@xxxxxxx>
> Subject: [PATCH 1/9] drm/amdgpu: Use backlight power constants
>
> Replace FB_BLANK_ constants with their counterparts from the backlight
> subsystem. The values are identical, so there's no change in functionality or
> semantics.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann@xxxxxxx>
> Cc: Alex Deucher <alexander.deucher@xxxxxxx>
> Cc: "Christian König" <christian.koenig@xxxxxxx>
> Cc: Xinhui Pan <Xinhui.Pan@xxxxxxx>

This patch and the radeon patch are:
Acked-by: Alex Deucher <alexander.deucher@xxxxxxx>

Feel free to take them via whatever tree makes sense if you are trying to keep the patches together, or let me know if you want me to pick them up.

Thanks,

Alex

> ---
>  drivers/gpu/drm/amd/amdgpu/atombios_encoders.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/atombios_encoders.c
> b/drivers/gpu/drm/amd/amdgpu/atombios_encoders.c
> index 25feab188dfe..650ec95bb40a 100644
> --- a/drivers/gpu/drm/amd/amdgpu/atombios_encoders.c
> +++ b/drivers/gpu/drm/amd/amdgpu/atombios_encoders.c
> @@ -215,7 +215,7 @@ void
> amdgpu_atombios_encoder_init_backlight(struct amdgpu_encoder
> *amdgpu_encode
>       dig->bl_dev = bd;
>
>       bd->props.brightness =
> amdgpu_atombios_encoder_get_backlight_brightness(bd);
> -     bd->props.power = FB_BLANK_UNBLANK;
> +     bd->props.power = BACKLIGHT_POWER_ON;
>       backlight_update_status(bd);
>
>       DRM_INFO("amdgpu atom DIG backlight initialized\n");
> --
> 2.45.2





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux