2 * Copyright (C) 2012-2013, 2015 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__
18 #include "mali_uk_types.h"
20 /** @brief Set Mali user setting in DB
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.
24 * @param setting the setting to be changed
25 * @param value the new value to set
27 void mali_set_user_setting(_mali_uk_user_setting_t setting, u32 value);
29 /** @brief Get current Mali user setting value from DB
31 * @param setting the setting to extract
32 * @return the value of the selected setting
34 u32 mali_get_user_setting(_mali_uk_user_setting_t setting);
39 #endif /* __MALI_KERNEL_USER_SETTING__ */