freedreno: move free() into fdN_context_destroy()
authorRob Clark <robdclark@gmail.com>
Mon, 30 Jul 2018 12:38:28 +0000 (08:38 -0400)
committerRob Clark <robdclark@gmail.com>
Tue, 14 Aug 2018 19:46:34 +0000 (15:46 -0400)
commit13b9d32fb1d846b207f330140b53bda3047ee3af
treecdb86b6e2613d7155cf80cbc1df7dacc80d2dfdd
parentdc9705f30deabb789735966e3d2278e3c9e00c8a
freedreno: move free() into fdN_context_destroy()

Following patches will be doing further cleanup after calling
fd_context_destroy() so it is easier if we move the free() into
the per-gen backend code.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a2xx/fd2_context.c
src/gallium/drivers/freedreno/a3xx/fd3_context.c
src/gallium/drivers/freedreno/a4xx/fd4_context.c
src/gallium/drivers/freedreno/a5xx/fd5_context.c
src/gallium/drivers/freedreno/freedreno_context.c