From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Thu, 04 Jan 2024 10:08:02 +0000 Subject: [PATCH] disable FB --- kernel/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h | 13 +------------ 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/kernel/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h b/kernel/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h index 5d38229..d77f5b6 100644 --- a/kernel/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h +++ b/kernel/drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h @@ -23,17 +23,6 @@ #ifndef __MMHUB_V1_0_H__ #define __MMHUB_V1_0_H__ -u64 mmhub_v1_0_get_fb_location(struct amdgpu_device *adev); -int mmhub_v1_0_gart_enable(struct amdgpu_device *adev); -void mmhub_v1_0_gart_disable(struct amdgpu_device *adev); -void mmhub_v1_0_set_fault_enable_default(struct amdgpu_device *adev, - bool value); -void mmhub_v1_0_init(struct amdgpu_device *adev); -int mmhub_v1_0_set_clockgating(struct amdgpu_device *adev, - enum amd_clockgating_state state); -void mmhub_v1_0_get_clockgating(struct amdgpu_device *adev, u32 *flags); -void mmhub_v1_0_initialize_power_gating(struct amdgpu_device *adev); -void mmhub_v1_0_update_power_gating(struct amdgpu_device *adev, - bool enable); +extern const struct amdgpu_mmhub_funcs mmhub_v1_0_funcs; #endif -- Gitblit v1.6.2