diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h index 64f197bbc866..ddda94e49db4 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h @@ -297,6 +297,7 @@ struct amdgpu_gfx_funcs {  	int (*switch_partition_mode)(struct amdgpu_device *adev,  				     int num_xccs_per_xcp);  	int (*ih_node_to_logical_xcc)(struct amdgpu_device *adev, int ih_node); +	int (*get_xccs_per_xcp)(struct amdgpu_device *adev);  };  struct sq_work { @@ -435,8 +436,9 @@ struct amdgpu_gfx {  	bool				mcbp; /* mid command buffer preemption */  	/* IP reg dump */ -	uint32_t			*ip_dump; -	uint32_t			reg_count; +	uint32_t			*ip_dump_core; +	uint32_t			*ip_dump_compute_queues; +	uint32_t			*ip_dump_gfx_queues;  };  struct amdgpu_gfx_ras_reg_entry { @@ -555,8 +557,6 @@ static inline const char *amdgpu_gfx_compute_mode_desc(int mode)  	default:  		return "UNKNOWN";  	} - -	return "UNKNOWN";  }  #endif |