summaryrefslogtreecommitdiff
path: root/src/radeon_drm_queue.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2018-09-05 11:27:25 +0200
committerMichel Dänzer <michel.daenzer@amd.com>2018-09-05 11:27:25 +0200
commit87b9a3e516d19dd1b89a64f6cac990fae53fc1b3 (patch)
tree4657b18fc3f67319feb49eb8cfd3eb8c44624949 /src/radeon_drm_queue.c
parentde88ea2755611bdcb18d91d8234d2ab5be8ff2e9 (diff)
Always delete entry from list in drm_queue_handler
We left entries without a handler hook in the list, so the list could keep taking longer to process and use up more memory. (Ported from amdgpu commit 7eea3e2cd74eed22e982319144e18ae5b1087b78)
Diffstat (limited to 'src/radeon_drm_queue.c')
-rw-r--r--src/radeon_drm_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_drm_queue.c b/src/radeon_drm_queue.c
index 857278fd..61a2f5ce 100644
--- a/src/radeon_drm_queue.c
+++ b/src/radeon_drm_queue.c
@@ -82,7 +82,7 @@ radeon_drm_queue_handler(struct xorg_list *signalled, unsigned int frame,
xorg_list_for_each_entry_safe(e, tmp, &radeon_drm_queue, list) {
if (e->seq == seq) {
if (!e->handler) {
- e->abort(e->crtc, e->data);
+ radeon_drm_queue_handle_one(e);
break;
}