mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-28 21:46:02 -04:00
drm/amdgpu: make gfxhub_v1_0 callback functions to be static
Those functions should be invoked through gfxhub.funcs pointer. Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
3939c49c79
commit
0d4d95125d
@@ -24,14 +24,6 @@
|
||||
#ifndef __GFXHUB_V1_0_H__
|
||||
#define __GFXHUB_V1_0_H__
|
||||
|
||||
int gfxhub_v1_0_gart_enable(struct amdgpu_device *adev);
|
||||
void gfxhub_v1_0_gart_disable(struct amdgpu_device *adev);
|
||||
void gfxhub_v1_0_set_fault_enable_default(struct amdgpu_device *adev,
|
||||
bool value);
|
||||
void gfxhub_v1_0_init(struct amdgpu_device *adev);
|
||||
u64 gfxhub_v1_0_get_mc_fb_offset(struct amdgpu_device *adev);
|
||||
void gfxhub_v1_0_setup_vm_pt_regs(struct amdgpu_device *adev, uint32_t vmid,
|
||||
uint64_t page_table_base);
|
||||
|
||||
extern const struct amdgpu_gfxhub_funcs gfxhub_v1_0_funcs;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user