> @@ -448,6 +453,7 @@ static irqreturn_t panfrost_job_irq_handler(int irq, void *data) > } > > if (status & JOB_INT_MASK_DONE(j)) { > + panfrost_mmu_as_put(pfdev, &pfdev->jobs[j]->file_priv->mmu); > panfrost_devfreq_record_transition(pfdev, j); > dma_fence_signal(pfdev->jobs[j]->done_fence); > } Is the idea to switch AS's when an IRQ is fired corresponding to a process with a particular address sspace? (Where do we switch back? Or is that not how the MMU actually works here?) Logically it seems sound, just armchair nervous about potential race conditions with weird multithreading setups. > + /* Assign the free or reclaimed AS to the */ to the....?
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel