2 * Copyright (C) 2011-2012 ARM Limited. All rights reserved.
4 * This program is free software and is provided to you under the terms of the GNU General Public License version 2
5 * as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence.
7 * A copy of the licence is included with the program, and can also be obtained from Free Software
8 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11 #ifndef __MALI_USER_SETTINGS_DB_H__
12 #define __MALI_USER_SETTINGS_DB_H__
19 #include "mali_uk_types.h"
21 /** @brief Set Mali user setting in DB
23 * 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.
25 * @param setting the setting to be changed
26 * @param value the new value to set
28 void mali_set_user_setting(_mali_uk_user_setting_t setting, u32 value);
30 /** @brief Get current Mali user setting value from DB
32 * @param setting the setting to extract
33 * @return the value of the selected setting
35 u32 mali_get_user_setting(_mali_uk_user_setting_t setting);
40 #endif /* __MALI_KERNEL_USER_SETTING__ */