]> Git Repo - linux.git/commit
drm/amdgpu: add ih waiter on process until checkpoint
authorJonathan Kim <[email protected]>
Tue, 23 Feb 2021 20:10:33 +0000 (15:10 -0500)
committerAlex Deucher <[email protected]>
Wed, 24 Mar 2021 03:10:57 +0000 (23:10 -0400)
commit3f1d1eb2a2561383c84b4400352e721876c565e4
tree068ef61abfde07846ccac1408231bcc5aab1927d
parent0dd795323405680f68cc16a471d19bc3369cc519
drm/amdgpu: add ih waiter on process until checkpoint

Add IH function to allow caller to wait until ring entries are processed
until the checkpoint write pointer.

This will be primarily used by HMM to drain pending page fault interrupts
before memory unmap to prevent HMM from handling stale interrupts.

Suggested-by: Christian König <[email protected]>
Signed-off-by: Jonathan Kim <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h
This page took 0.056431 seconds and 4 git commands to generate.