aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/selftests/i915_request.c
diff options
context:
space:
mode:
authorTvrtko Ursulin <[email protected]>2020-11-13 13:25:10 +0000
committerTvrtko Ursulin <[email protected]>2020-11-16 10:54:47 +0000
commit77c296966e866a795742a46fc52a218771894867 (patch)
tree1d792963f462463f1ac68cd2821bdf11e49b186f /drivers/gpu/drm/i915/selftests/i915_request.c
parent31b05212360cbf3af3c2e1b7f42e176e0eebedb5 (diff)
drm/i915: Avoid memory leak with more than 16 workarounds on a list
I forgot to free the old list when growing past 16 entries. Luckily, as much as I checked, none of the current platforms has more than 16 workarounds on a single list. Signed-off-by: Tvrtko Ursulin <[email protected]> Fixes: 452420d22d5b ("drm/i915: Fuse per-context workaround handling with the common framework") Reported-by: Chris Wilson <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/i915_request.c')
0 files changed, 0 insertions, 0 deletions