Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 961b6e68 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nv50-nvc0: fix ramht entries for multiple evo channels



Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 30d81817
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -114,7 +114,9 @@ nouveau_ramht_insert(struct nouveau_channel *chan, u32 handle,
		      (gpuobj->engine << NV40_RAMHT_CONTEXT_ENGINE_SHIFT);
	} else {
		if (gpuobj->engine == NVOBJ_ENGINE_DISPLAY) {
			ctx = (gpuobj->cinst << 10) | chan->id;
			ctx = (gpuobj->cinst << 10) |
			      (chan->id << 28) |
			      chan->id; /* HASH_TAG */
		} else {
			ctx = (gpuobj->cinst >> 4) |
			      ((gpuobj->engine <<