mirror of
https://github.com/torvalds/linux.git
synced 2026-08-01 20:22:08 +02: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:
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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user