mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
drm/amd/display: Remove unused function bios_get_vga_enabled_displays
bios_get_vga_enabled_displays has been unused since
commit 5a8132b9f6 ("drm/amd/display: remove dead dc vbios code")
Remove it.
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
4c07ff7d07
commit
5c60b8e14c
|
|
@ -78,10 +78,3 @@ void bios_set_scratch_critical_state(
|
|||
uint32_t critial_state = state ? 1 : 0;
|
||||
REG_UPDATE(BIOS_SCRATCH_6, S6_CRITICAL_STATE, critial_state);
|
||||
}
|
||||
|
||||
uint32_t bios_get_vga_enabled_displays(
|
||||
struct dc_bios *bios)
|
||||
{
|
||||
return REG_READ(BIOS_SCRATCH_3) & 0XFFFF;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@ uint8_t *bios_get_image(struct dc_bios *bp, uint32_t offset,
|
|||
bool bios_is_accelerated_mode(struct dc_bios *bios);
|
||||
void bios_set_scratch_acc_mode_change(struct dc_bios *bios, uint32_t state);
|
||||
void bios_set_scratch_critical_state(struct dc_bios *bios, bool state);
|
||||
uint32_t bios_get_vga_enabled_displays(struct dc_bios *bios);
|
||||
|
||||
#define GET_IMAGE(type, offset) ((type *) bios_get_image(&bp->base, offset, sizeof(type)))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user