summaryrefslogtreecommitdiff
path: root/src/evergreen_shader.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2017-08-09 13:02:34 +0900
committerMichel Dänzer <michel@daenzer.net>2017-08-17 16:05:26 +0900
commit3e24770b1b472fc15df56d06f5f04778c9db63dd (patch)
treeb87f9082f8d7a10599596c305676a571853e2101 /src/evergreen_shader.c
parent36ce7920136c0d723c9397a84e7dd5926a9c7943 (diff)
Use xorg_list_append for the DRM event list
We were adding entries at the start of the list, i.e. the list was ordered from most recently added to least recently added. However, the corresponding DRM events are generally expected to arrive in the same order as they are queued, which means that radeon_drm_queue_alloc would generally have to traverse the whole list to find the entry corresponding to an arrived event. Fix this by adding entries at the end of the list. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/evergreen_shader.c')
0 files changed, 0 insertions, 0 deletions