drm/amdgpu: use macro instead of enum for flags
better to use macro. Signed-off-by: xinhui pan <xinhui.pan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
73aa8e1a3a
commit
9f491d731c
1 changed files with 1 additions and 3 deletions
|
@ -118,9 +118,7 @@ const char *ras_block_string[] = {
|
|||
#define ras_err_str(i) (ras_error_string[ffs(i)])
|
||||
#define ras_block_str(i) (ras_block_string[i])
|
||||
|
||||
enum amdgpu_ras_flags {
|
||||
AMDGPU_RAS_FLAG_INIT_BY_VBIOS = 1,
|
||||
};
|
||||
#define AMDGPU_RAS_FLAG_INIT_BY_VBIOS 1
|
||||
#define RAS_DEFAULT_FLAGS (AMDGPU_RAS_FLAG_INIT_BY_VBIOS)
|
||||
|
||||
static void amdgpu_ras_self_test(struct amdgpu_device *adev)
|
||||
|
|
Loading…
Reference in a new issue