mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 14:02:37 -04:00
drm/nouveau/falcon: add missing context binding memory target
This is not used currently, but is added for the sake of completeness. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
committed by
Ben Skeggs
parent
485a20eff2
commit
6bd4b5233d
@@ -138,6 +138,7 @@ nvkm_falcon_v1_bind_context(struct nvkm_falcon *falcon, struct nvkm_gpuobj *ctx)
|
||||
/* Set context */
|
||||
switch (nvkm_memory_target(ctx->memory)) {
|
||||
case NVKM_MEM_TARGET_VRAM: inst_loc = 0; break;
|
||||
case NVKM_MEM_TARGET_HOST: inst_loc = 2; break;
|
||||
case NVKM_MEM_TARGET_NCOH: inst_loc = 3; break;
|
||||
default:
|
||||
WARN_ON(1);
|
||||
|
||||
Reference in New Issue
Block a user