How to disable GTX1060 VGA function in kernel?

I have a nvgpu board GTX1060:

message:

1 00:01.0 PCI bridge: NVIDIA Corporation Device 10e5 (rev a1)
2 01:00.0 VGA compatible controller: NVIDIA Corporation Device 1c20 (rev a1)
3 01:00.1 Audio device: NVIDIA Corporation Device 10f1 (rev a1)

4 *-display
5 description: VGA compatible controller
6 product: NVIDIA Corporation
7 vendor: NVIDIA Corporation
8 physical id: 0
9 bus info: pci@0000:01:00.0
10 version: a1
11 width: 64 bits
12 clock: 33MHz
13 capabilities: vga_controller bus_master cap_list rom
14 configuration: driver=nvgpu latency=0
15 resources: irq:452 memory:51000000-51ffffff memory:60000000-6fffffff memory:58000000-59ffffff ioport:1000(size=128) memory:50800000-5087ffff

I don’t want to haove the vga_controller capabilities.How to disable GTX1060 VGA function in kernel?