[Mesa-dev] [PATCH 3/3] radeonsi: remove unused si_pm4_state::compute_pkt

Marek Olšák maraeo at gmail.com
Tue May 30 22:32:35 UTC 2017


For the series:

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

Marek

On Tue, May 30, 2017 at 6:53 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  src/gallium/drivers/radeonsi/si_pm4.c | 3 +--
>  src/gallium/drivers/radeonsi/si_pm4.h | 2 --
>  2 files changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/src/gallium/drivers/radeonsi/si_pm4.c b/src/gallium/drivers/radeonsi/si_pm4.c
> index 1bb6903fee..1ae1861a83 100644
> --- a/src/gallium/drivers/radeonsi/si_pm4.c
> +++ b/src/gallium/drivers/radeonsi/si_pm4.c
> @@ -45,8 +45,7 @@ void si_pm4_cmd_end(struct si_pm4_state *state, bool predicate)
>         unsigned count;
>         count = state->ndw - state->last_pm4 - 2;
>         state->pm4[state->last_pm4] =
> -               PKT3(state->last_opcode, count, predicate)
> -                  | PKT3_SHADER_TYPE_S(state->compute_pkt);
> +               PKT3(state->last_opcode, count, predicate);
>
>         assert(state->ndw <= SI_PM4_MAX_DW);
>  }
> diff --git a/src/gallium/drivers/radeonsi/si_pm4.h b/src/gallium/drivers/radeonsi/si_pm4.h
> index a3df89bd88..6301f2060a 100644
> --- a/src/gallium/drivers/radeonsi/si_pm4.h
> +++ b/src/gallium/drivers/radeonsi/si_pm4.h
> @@ -54,8 +54,6 @@ struct si_pm4_state
>         struct r600_resource    *bo[SI_PM4_MAX_BO];
>         enum radeon_bo_usage    bo_usage[SI_PM4_MAX_BO];
>         enum radeon_bo_priority bo_priority[SI_PM4_MAX_BO];
> -
> -       bool compute_pkt;
>  };
>
>  void si_pm4_cmd_begin(struct si_pm4_state *state, unsigned opcode);
> --
> 2.13.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list