import OT_8063_20170412 mali driver
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / misc / mediatek / gpu / mt8127 / mali / mali / common / mali_user_settings_db.h
CommitLineData
6fa3eb70
S
1/**
2 * This confidential and proprietary software may be used only as
3 * authorised by a licensing agreement from ARM Limited
db9a41fa 4 * (C) COPYRIGHT 2012-2013, 2015 ARM Limited
6fa3eb70
S
5 * ALL RIGHTS RESERVED
6 * The entire notice above must be reproduced on all authorised
7 * copies and copies may only be made to the extent permitted
8 * by a licensing agreement from ARM Limited.
9 */
10
11#ifndef __MALI_USER_SETTINGS_DB_H__
12#define __MALI_USER_SETTINGS_DB_H__
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18#include "mali_uk_types.h"
19
20/** @brief Set Mali user setting in DB
21 *
22 * Update the DB with a new value for \a setting. If the value is different from theprevious set value running sessions will be notified of the change.
23 *
24 * @param setting the setting to be changed
25 * @param value the new value to set
26 */
27void mali_set_user_setting(_mali_uk_user_setting_t setting, u32 value);
28
29/** @brief Get current Mali user setting value from DB
30 *
31 * @param setting the setting to extract
32 * @return the value of the selected setting
33 */
34u32 mali_get_user_setting(_mali_uk_user_setting_t setting);
35
36#ifdef __cplusplus
37}
38#endif
39#endif /* __MALI_KERNEL_USER_SETTING__ */