mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user