Tvrtko Ursulin 973dd87fa5 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 <tvrtko.ursulin@intel.com>
Fixes: 452420d22d5b ("drm/i915: Fuse per-context workaround handling with the common framework")
Reported-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20201113132510.2298483-1-tvrtko.ursulin@linux.intel.com
(cherry picked from commit 77c296966e866a795742a46fc52a218771894867)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2020-11-16 18:06:23 -05:00
..
2020-11-06 12:54:00 -08:00
2020-09-08 14:41:40 +10:00
2020-09-23 09:52:24 +10:00
2020-09-16 13:08:10 +02:00
2020-08-11 11:58:31 +10:00
2020-09-23 09:52:24 +10:00
2020-10-15 14:43:29 -07:00
2020-09-08 14:41:40 +10:00
2020-08-06 14:27:31 -07:00
2020-10-12 20:26:14 +02:00
2020-10-24 10:39:22 -07:00
2020-10-15 14:43:29 -07:00
2020-09-16 11:13:27 +02:00
2020-10-23 10:05:17 +02:00
2020-11-03 09:43:57 +01:00
2020-07-23 10:06:22 +02:00
2020-09-18 06:14:41 +10:00
2020-04-03 17:11:41 +02:00
2020-09-23 09:52:24 +10:00
2020-09-08 14:41:40 +10:00
2020-10-15 10:46:16 -07:00
2020-06-24 09:17:34 +02:00
2020-11-03 10:11:05 +01:00
2020-09-11 10:47:19 +02:00
2020-09-23 09:52:24 +10:00
2020-09-11 10:47:19 +02:00
2020-10-17 11:18:18 -07:00
2020-09-23 09:52:24 +10:00
2020-08-06 14:27:31 -07:00
2020-05-27 14:31:42 +03:00
2020-08-25 11:00:02 +02:00
2020-04-03 17:11:41 +02:00
2020-09-23 09:52:24 +10:00
2020-09-21 10:45:08 +02:00
2020-09-21 10:45:08 +02:00
2020-06-24 15:45:51 +10:00
2020-05-29 12:58:11 +02:00
2020-09-21 10:45:08 +02:00
2020-08-11 11:58:31 +10:00
2020-08-11 11:58:31 +10:00
2020-08-25 11:00:02 +02:00
2020-06-24 15:45:51 +10:00