File: fu-amd-gpu-uma.h

package info (click to toggle)
fwupd 2.0.20-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 32,504 kB
  • sloc: ansic: 277,388; python: 11,485; xml: 9,493; sh: 1,625; makefile: 167; cpp: 19; asm: 11; javascript: 9
file content (27 lines) | stat: -rw-r--r-- 775 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Copyright 2026 Advanced Micro Devices Inc.
 * All rights reserved.
 *
 * This file is provided under a dual MIT/LGPLv2 license.  When using or
 * redistributing this file, you may do so under either license.
 * AMD Chooses the MIT license part of Dual MIT/LGPLv2 license agreement.
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later OR MIT
 */

#pragma once

#include <fwupd.h>

#define FU_TYPE_AMD_GPU_UMA_SETTING (fu_amd_gpu_uma_setting_get_type())
G_DECLARE_FINAL_TYPE(FuAmdGpuUmaSetting,
		     fu_amd_gpu_uma_setting,
		     FU,
		     AMD_GPU_UMA_SETTING,
		     FwupdBiosSetting)

gboolean
fu_amd_gpu_uma_check_support(const gchar *device_sysfs_path, GError **error);

FwupdBiosSetting *
fu_amd_gpu_uma_get_setting(const gchar *device_sysfs_path, GError **error);