Skip to content

Commit ddda654

Browse files
committed
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@suse.de> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: "Christian König" <christian.koenig@amd.com> Cc: Xinhui Pan <Xinhui.Pan@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240731122311.1143153-2-tzimmermann@suse.de
1 parent 5f5f657 commit ddda654

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/amd/amdgpu/atombios_encoders.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ void amdgpu_atombios_encoder_init_backlight(struct amdgpu_encoder *amdgpu_encode
215215
dig->bl_dev = bd;
216216

217217
bd->props.brightness = amdgpu_atombios_encoder_get_backlight_brightness(bd);
218-
bd->props.power = FB_BLANK_UNBLANK;
218+
bd->props.power = BACKLIGHT_POWER_ON;
219219
backlight_update_status(bd);
220220

221221
DRM_INFO("amdgpu atom DIG backlight initialized\n");

0 commit comments

Comments
 (0)