mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2026-02-11 02:29:58 +00:00
580.126.16
This commit is contained in:
@@ -79,7 +79,7 @@ ccflags-y += -I$(src)/common/inc
|
||||
ccflags-y += -I$(src)
|
||||
ccflags-y += -Wall $(DEFINES) $(INCLUDES) -Wno-cast-qual -Wno-format-extra-args
|
||||
ccflags-y += -D__KERNEL__ -DMODULE -DNVRM
|
||||
ccflags-y += -DNV_VERSION_STRING=\"580.126.09\"
|
||||
ccflags-y += -DNV_VERSION_STRING=\"580.126.16\"
|
||||
|
||||
# Include and link Tegra out-of-tree modules.
|
||||
ifneq ($(wildcard /usr/src/nvidia/nvidia-oot),)
|
||||
|
||||
@@ -200,10 +200,17 @@ found:
|
||||
|
||||
length = NV_MIN(length, (int)(PAGE_SIZE - pageOffset));
|
||||
|
||||
#if defined(NVCPU_AARCH64)
|
||||
if (write)
|
||||
memcpy_toio(kernel_mapping, buffer, length);
|
||||
else
|
||||
memcpy_fromio(buffer, kernel_mapping, length);
|
||||
#else
|
||||
if (write)
|
||||
memcpy(kernel_mapping, buffer, length);
|
||||
else
|
||||
memcpy(buffer, kernel_mapping, length);
|
||||
#endif // defined(NVCPU_AARCH64)
|
||||
|
||||
if (at == NULL && !bIsNuma)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user