]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
drm/nouveau/secboot/gm20b: specify MC base address as argument
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 29 Mar 2017 09:31:13 +0000 (18:31 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 6 Apr 2017 04:39:04 +0000 (14:39 +1000)
commitc79505c1f9e14d7aa9eb3b085c799d77950b1e20
treec7ce4cd8c6c7ea7b5ce88a4af1da78fe5af45d00
parent008796d9a35f217d7f3672acd1d97ef77a5e05ff
drm/nouveau/secboot/gm20b: specify MC base address as argument

Allow the MC base address to be specified as an argument for the WPR
region reading function. GP10B uses a different address layout as GM20B,
so this is necessary. Also export the function to be used by GP10B.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm200.h
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm20b.c