From 768df6e4e42b6339c3665f3efce3230528ea7a56 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Wed, 29 Jan 2014 16:35:16 -0500 Subject: [PATCH] drm/radeon: add support for ASIC_ProfilingInfo v3.1 Some hawaii boards have v3.1 versions of this table. It has the same format as v2.1. bug: https://bugs.freedesktop.org/show_bug.cgi?id=73420 Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_atombios.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c b/drivers/gpu/drm/radeon/radeon_atombios.c index 3084481..4fb4d50 100644 --- a/drivers/gpu/drm/radeon/radeon_atombios.c +++ b/drivers/gpu/drm/radeon/radeon_atombios.c @@ -3168,6 +3168,7 @@ int radeon_atom_get_leakage_vddc_based_on_leakage_params(struct radeon_device *r case 1: return -EINVAL; case 2: + case 3: switch (crev) { case 1: if (size < sizeof(ATOM_ASIC_PROFILING_INFO_V2_1)) -- 1.8.3.1