diff options
| author | Thomas Zimmermann <[email protected]> | 2024-07-31 12:17:13 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2024-08-16 07:27:15 +0000 |
| commit | ddda6542c85304eff31fe433cc0fc2c0d03c8f3d (patch) | |
| tree | 079fb06e73255354c6533ec920bd16d6e0e2a3f1 /drivers/gpu/drm/amd/amdgpu/atombios_encoders.c | |
| parent | drm/rockchip: dw_hdmi: Add max_tmds_clock validation (diff) | |
| download | kernel-ddda6542c85304eff31fe433cc0fc2c0d03c8f3d.tar.gz kernel-ddda6542c85304eff31fe433cc0fc2c0d03c8f3d.zip | |
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 <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: "Christian König" <[email protected]>
Cc: Xinhui Pan <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atombios_encoders.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/atombios_encoders.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |
