drm/amd/display: Drop unused backlight functions in DM
These are only ever called for non-DC code. Signed-off-by: Harry Wentland <harry.wentland@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
3f48c6813f
commit
7b42573bb8
|
@ -1574,18 +1574,6 @@ static void dm_bandwidth_update(struct amdgpu_device *adev)
|
|||
/* TODO: implement later */
|
||||
}
|
||||
|
||||
static void dm_set_backlight_level(struct amdgpu_encoder *amdgpu_encoder,
|
||||
u8 level)
|
||||
{
|
||||
/* TODO: translate amdgpu_encoder to display_index and call DAL */
|
||||
}
|
||||
|
||||
static u8 dm_get_backlight_level(struct amdgpu_encoder *amdgpu_encoder)
|
||||
{
|
||||
/* TODO: translate amdgpu_encoder to display_index and call DAL */
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int amdgpu_notify_freesync(struct drm_device *dev, void *data,
|
||||
struct drm_file *filp)
|
||||
{
|
||||
|
@ -1614,10 +1602,8 @@ static int amdgpu_notify_freesync(struct drm_device *dev, void *data,
|
|||
static const struct amdgpu_display_funcs dm_display_funcs = {
|
||||
.bandwidth_update = dm_bandwidth_update, /* called unconditionally */
|
||||
.vblank_get_counter = dm_vblank_get_counter,/* called unconditionally */
|
||||
.backlight_set_level =
|
||||
dm_set_backlight_level,/* called unconditionally */
|
||||
.backlight_get_level =
|
||||
dm_get_backlight_level,/* called unconditionally */
|
||||
.backlight_set_level = NULL, /* never called for DC */
|
||||
.backlight_get_level = NULL, /* never called for DC */
|
||||
.hpd_sense = NULL,/* called unconditionally */
|
||||
.hpd_set_polarity = NULL, /* called unconditionally */
|
||||
.hpd_get_gpio_reg = NULL, /* VBIOS parsing. DAL does it. */
|
||||
|
|
Loading…
Reference in New Issue