aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dc_bios_types.h
diff options
context:
space:
mode:
authorWesley Chalmers <Wesley.Chalmers@amd.com>2021-02-21 23:05:48 -0500
committerAlex Deucher <alexander.deucher@amd.com>2021-04-09 16:47:53 -0400
commit95574c6961476e26236f16b48bfd98d6a1ceff4c (patch)
treef313362dda8da7ebb0437eb4607336087a3de147 /drivers/gpu/drm/amd/display/dc/dc_bios_types.h
parentdrm/amdgpu: skip PP_MP1_STATE_UNLOAD on aldebaran (diff)
downloadlinux-dev-95574c6961476e26236f16b48bfd98d6a1ceff4c.tar.xz
linux-dev-95574c6961476e26236f16b48bfd98d6a1ceff4c.zip
drm/amd/display: BIOS LTTPR Caps Interface
[WHY] Some platforms will have LTTPR capabilities forced on by VBIOS flags; the functions added here will access those flags. Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com> Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Anson Jacob <Anson.Jacob@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc_bios_types.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_bios_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_bios_types.h b/drivers/gpu/drm/amd/display/dc/dc_bios_types.h
index 86ab8f16f621..1b957c60156b 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_bios_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_bios_types.h
@@ -150,6 +150,9 @@ struct dc_vbios_funcs {
struct dc_bios *dcb,
struct graphics_object_id object_id,
struct bp_disp_connector_caps_info *info);
+ enum bp_result (*get_lttpr_caps)(
+ struct dc_bios *dcb,
+ uint8_t *dce_caps);
};
struct bios_registers {