aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h
diff options
context:
space:
mode:
authorJohn Clements <john.clements@amd.com>2019-11-25 18:24:17 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-11-26 12:20:22 -0500
commit5985ebbe78bba0058429c1482442aa64d14c1ce2 (patch)
tree8207f8f51242932421a54f7eb7e260974c11d7fa /drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h
parentdrm/amd/display: add default clocks if not able to fetch them (diff)
downloadlinux-dev-5985ebbe78bba0058429c1482442aa64d14c1ce2.tar.xz
linux-dev-5985ebbe78bba0058429c1482442aa64d14c1ce2.zip
drm/amdgpu: Resolved offchip EEPROM I/O issue
Updated target I2C address Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: John Clements <john.clements@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h
index 622269957c1b..ca78f812d436 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h
@@ -50,6 +50,7 @@ struct amdgpu_ras_eeprom_control {
struct mutex tbl_mutex;
bool bus_locked;
uint32_t tbl_byte_sum;
+ uint16_t i2c_address; // 8-bit represented address
};
/*