MALI: bifrost: fix a compilation error when DEBUG_FS and MALI_CSF_SUPPORT are disabled

Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Change-Id: I8f4228ccc6a8ef5d9bb9f3cb43a10fd091bbc5c5
This commit is contained in:
Zhen Chen
2023-01-09 16:04:47 +08:00
committed by Tao Huang
parent daf6b63482
commit b77f682d3c

View File

@@ -441,7 +441,6 @@ void kbase_device_vinstr_term(struct kbase_device *kbdev)
kbase_vinstr_term(kbdev->vinstr_ctx);
}
#if defined(CONFIG_DEBUG_FS) && !IS_ENABLED(CONFIG_MALI_BIFROST_NO_MALI)
int kbase_device_kinstr_prfcnt_init(struct kbase_device *kbdev)
{
return kbase_kinstr_prfcnt_init(kbdev->hwcnt_gpu_virt,
@@ -453,6 +452,7 @@ void kbase_device_kinstr_prfcnt_term(struct kbase_device *kbdev)
kbase_kinstr_prfcnt_term(kbdev->kinstr_prfcnt_ctx);
}
#if defined(CONFIG_DEBUG_FS) && !IS_ENABLED(CONFIG_MALI_BIFROST_NO_MALI)
int kbase_device_io_history_init(struct kbase_device *kbdev)
{
return kbase_io_history_init(&kbdev->io_history,