diff options
author | Jacob Chen <jacob2.chen@rock-chips.com> | 2016-10-15 16:11:46 +0800 |
---|---|---|
committer | Jacob Chen <jacob2.chen@rock-chips.com> | 2016-10-15 16:11:46 +0800 |
commit | 028bc40a6d227cb553236588c43f35ad7ae2af97 (patch) | |
tree | 662944c4a76cecb58cb63da17d5ed9aac1b39914 /drivers/gpu/arm/midgard/mali_kbase_config.h | |
parent | f27d1ca8e35893191bb344bb461d9f5f20be5ae7 (diff) |
HEADER: MALI: rockchip: upgrade midgard DDK to r9p0-05rel0release-20161015
Change-Id: Ie46489734268edac2db7508ed6976fc8b72c2f06
Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
Diffstat (limited to 'drivers/gpu/arm/midgard/mali_kbase_config.h')
-rw-r--r-- | drivers/gpu/arm/midgard/mali_kbase_config.h | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/drivers/gpu/arm/midgard/mali_kbase_config.h b/drivers/gpu/arm/midgard/mali_kbase_config.h index 356d52bcd774..816e45c4d02d 100644 --- a/drivers/gpu/arm/midgard/mali_kbase_config.h +++ b/drivers/gpu/arm/midgard/mali_kbase_config.h @@ -1,6 +1,6 @@ /* * - * (C) COPYRIGHT 2010-2016 ARM Limited. All rights reserved. + * (C) COPYRIGHT 2010-2015 ARM Limited. All rights reserved. * * This program is free software and is provided to you under the terms of the * GNU General Public License version 2 as published by the Free Software @@ -45,6 +45,13 @@ * @{ */ +#if !MALI_CUSTOMER_RELEASE +/* This flag is set for internal builds so we can run tests without credentials. */ +#define KBASE_HWCNT_DUMP_BYPASS_ROOT 1 +#else +#define KBASE_HWCNT_DUMP_BYPASS_ROOT 0 +#endif + #include <linux/rbtree.h> /* Forward declaration of struct kbase_device */ @@ -98,7 +105,7 @@ struct kbase_pm_callback_conf { * The system integrator can decide whether to either do nothing, just switch off * the clocks to the GPU, or to completely power down the GPU. * The platform specific private pointer kbase_device::platform_context can be accessed and modified in here. It is the - * platform \em callbacks responsibility to initialize and terminate this pointer if used (see @ref kbase_platform_funcs_conf). + * platform \em callbacks responsiblity to initialize and terminate this pointer if used (see @ref kbase_platform_funcs_conf). */ void (*power_off_callback)(struct kbase_device *kbdev); @@ -108,7 +115,7 @@ struct kbase_pm_callback_conf { * succeed. The return value specifies whether the GPU was powered down since the call to power_off_callback. * If the GPU state has been lost then this function must return 1, otherwise it should return 0. * The platform specific private pointer kbase_device::platform_context can be accessed and modified in here. It is the - * platform \em callbacks responsibility to initialize and terminate this pointer if used (see @ref kbase_platform_funcs_conf). + * platform \em callbacks responsiblity to initialize and terminate this pointer if used (see @ref kbase_platform_funcs_conf). * * The return value of the first call to this function is ignored. * @@ -153,7 +160,7 @@ struct kbase_pm_callback_conf { * The runtime calls can be triggered by calls from @ref power_off_callback and @ref power_on_callback. * Note: for linux the kernel must have CONFIG_PM_RUNTIME enabled to use this feature. * - * @return 0 on success, else int error code. + * @return 0 on success, else int erro code. */ int (*power_runtime_init_callback)(struct kbase_device *kbdev); @@ -196,8 +203,8 @@ struct kbase_pm_callback_conf { * Returning 0 will cause the runtime PM core to conduct a regular * autosuspend. * - * This callback is optional and if not provided regular autosuspend - * will be triggered. + * This callback is optional and if not provided regular ausosuspend + * will triggered. * * Note: The Linux kernel must have CONFIG_PM_RUNTIME enabled to use * this feature. |