mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2026-02-01 14:09:47 +00:00
580.95.05
This commit is contained in:
@@ -32,6 +32,8 @@ typedef struct {
|
||||
NvU8 bus, slot, function;
|
||||
} pci_info;
|
||||
|
||||
NvBool needs_numa_setup;
|
||||
|
||||
/*
|
||||
* opaque OS-specific pointer; on Linux, this is a pointer to the
|
||||
* 'struct device' for the GPU.
|
||||
|
||||
@@ -1711,12 +1711,12 @@ static inline void nv_mutex_destroy(struct mutex *lock)
|
||||
mutex_destroy(lock);
|
||||
}
|
||||
|
||||
static inline NvBool nv_platform_supports_numa(nv_linux_state_t *nvl)
|
||||
static inline NvBool nv_platform_supports_numa(const nv_linux_state_t *nvl)
|
||||
{
|
||||
return nvl->numa_info.node_id != NUMA_NO_NODE;
|
||||
}
|
||||
|
||||
static inline int nv_get_numa_status(nv_linux_state_t *nvl)
|
||||
static inline int nv_get_numa_status(const nv_linux_state_t *nvl)
|
||||
{
|
||||
if (!nv_platform_supports_numa(nvl))
|
||||
{
|
||||
|
||||
@@ -588,8 +588,8 @@ typedef struct nv_state_t
|
||||
/* Console is managed by drm drivers or NVKMS */
|
||||
NvBool client_managed_console;
|
||||
|
||||
/* Bool to check if power management is supported */
|
||||
NvBool is_pm_supported;
|
||||
/* Bool to check if power management is unsupported */
|
||||
NvBool is_pm_unsupported;
|
||||
} nv_state_t;
|
||||
|
||||
#define NVFP_TYPE_NONE 0x0
|
||||
|
||||
@@ -685,6 +685,9 @@ typedef struct UvmGpuInfo_tag
|
||||
|
||||
// GPU supports Non-PASID ATS capability
|
||||
NvBool nonPasidAtsSupport;
|
||||
|
||||
// GPU setup in CDMM mode
|
||||
NvBool cdmmEnabled;
|
||||
} UvmGpuInfo;
|
||||
|
||||
typedef struct UvmGpuFbInfo_tag
|
||||
|
||||
@@ -667,7 +667,9 @@ enum NvKmsInputTf {
|
||||
enum NvKmsOutputColorimetry {
|
||||
NVKMS_OUTPUT_COLORIMETRY_DEFAULT = 0,
|
||||
|
||||
NVKMS_OUTPUT_COLORIMETRY_BT2100 = 1,
|
||||
NVKMS_OUTPUT_COLORIMETRY_BT601 = 1,
|
||||
NVKMS_OUTPUT_COLORIMETRY_BT709 = 2,
|
||||
NVKMS_OUTPUT_COLORIMETRY_BT2100 = 3,
|
||||
};
|
||||
|
||||
enum NvKmsOutputTf {
|
||||
|
||||
Reference in New Issue
Block a user