]> Git Repo - linux.git/blobdiff - drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
Merge tag 'drm-next-2019-09-18' of git://anongit.freedesktop.org/drm/drm
[linux.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_ras.h
index 2765f2dbb1e63a5367d93c5363df01655a5174d5..6c76bb2a684325925ca7952d0d0a41c3372096e4 100644 (file)
@@ -29,6 +29,7 @@
 #include "amdgpu.h"
 #include "amdgpu_psp.h"
 #include "ta_ras_if.h"
+#include "amdgpu_ras_eeprom.h"
 
 enum amdgpu_ras_block {
        AMDGPU_RAS_BLOCK__UMC = 0,
@@ -333,6 +334,8 @@ struct amdgpu_ras {
        struct mutex recovery_lock;
 
        uint32_t flags;
+
+       struct amdgpu_ras_eeprom_control eeprom_control;
 };
 
 struct ras_fs_data {
@@ -484,7 +487,7 @@ int amdgpu_ras_request_reset_on_boot(struct amdgpu_device *adev,
 void amdgpu_ras_resume(struct amdgpu_device *adev);
 void amdgpu_ras_suspend(struct amdgpu_device *adev);
 
-int amdgpu_ras_query_error_count(struct amdgpu_device *adev,
+unsigned long amdgpu_ras_query_error_count(struct amdgpu_device *adev,
                bool is_ce);
 
 /* error handling functions */
This page took 0.038785 seconds and 4 git commands to generate.