aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-09-29 07:13:30 +0000
committerAlex Deucher <[email protected]>2017-09-29 17:04:10 +0000
commit2a206cc20a37b0a7a31179b32d1281ead9c56038 (patch)
treeb36a312f36a3c30799fb94518f37a027efcba458 /drivers/gpu/drm/amd/display/dc/bios/bios_parser.c
parentamdgpu/dc: set some of the link dp code to static. (diff)
downloadkernel-2a206cc20a37b0a7a31179b32d1281ead9c56038.tar.gz
kernel-2a206cc20a37b0a7a31179b32d1281ead9c56038.zip
amdgpu/dc: rename bios get_image symbol to something more searchable.
This just makes it easier to find. Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/bios/bios_parser.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/bios/bios_parser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c b/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c
index f6828f43eac6..2e003b5c8d08 100644
--- a/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c
+++ b/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c
@@ -412,7 +412,7 @@ static enum bp_result bios_parser_get_voltage_ddc_info(struct dc_bios *dcb,
if (!DATA_TABLES(VoltageObjectInfo))
return result;
- voltage_info_address = get_image(&bp->base, DATA_TABLES(VoltageObjectInfo), sizeof(ATOM_COMMON_TABLE_HEADER));
+ voltage_info_address = bios_get_image(&bp->base, DATA_TABLES(VoltageObjectInfo), sizeof(ATOM_COMMON_TABLE_HEADER));
header = (ATOM_COMMON_TABLE_HEADER *) voltage_info_address;
@@ -2328,7 +2328,7 @@ static uint32_t get_dest_obj_list(struct bios_parser *bp,
return 0;
offset += sizeof(uint8_t);
- *id_list = (uint16_t *)get_image(&bp->base, offset, *number * sizeof(uint16_t));
+ *id_list = (uint16_t *)bios_get_image(&bp->base, offset, *number * sizeof(uint16_t));
if (!*id_list)
return 0;
@@ -2355,7 +2355,7 @@ static uint32_t get_src_obj_list(struct bios_parser *bp, ATOM_OBJECT *object,
return 0;
offset += sizeof(uint8_t);
- *id_list = (uint16_t *)get_image(&bp->base, offset, *number * sizeof(uint16_t));
+ *id_list = (uint16_t *)bios_get_image(&bp->base, offset, *number * sizeof(uint16_t));
if (!*id_list)
return 0;