[Mesa-stable] [Mesa-dev][PATCH 2/2] eg/compute: Drop reference to kernel_param bo in destructor

Marek Olšák maraeo at gmail.com
Tue May 8 05:36:37 UTC 2018


For the series:

Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Mon, May 7, 2018 at 11:05 PM, Jan Vesely <jan.vesely at rutgers.edu> wrote:

> CC: <mesa-stable at lists.freedesktop.org>
> Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
> ---
>  src/gallium/drivers/r600/evergreen_compute.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/gallium/drivers/r600/evergreen_compute.c
> b/src/gallium/drivers/r600/evergreen_compute.c
> index 027930b586..5070243914 100644
> --- a/src/gallium/drivers/r600/evergreen_compute.c
> +++ b/src/gallium/drivers/r600/evergreen_compute.c
> @@ -463,6 +463,7 @@ static void evergreen_delete_compute_state(struct
> pipe_context *ctx, void *state
>  #ifdef HAVE_OPENCL
>                 radeon_shader_binary_clean(&shader->binary);
>                 pipe_resource_reference(&shader->code_bo, NULL);
> +               pipe_resource_reference(&shader->kernel_param, NULL);
>  #endif
>                 r600_destroy_shader(&shader->bc);
>         }
> --
> 2.17.0
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-stable/attachments/20180508/914ffc09/attachment.html>


More information about the mesa-stable mailing list