[Mesa-dev] [PATCH 1/4] radv/winsys: remove unused surface_best()
Dave Airlie
airlied at gmail.com
Tue Oct 30 23:07:52 UTC 2018
For the series:
Reviewed-by: Dave Airlie <airlied at redhat.com>
On Tue, 30 Oct 2018 at 20:39, Samuel Pitoiset <samuel.pitoiset at gmail.com> wrote:
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
> src/amd/vulkan/radv_radeon_winsys.h | 3 ---
> src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c | 7 -------
> 2 files changed, 10 deletions(-)
>
> diff --git a/src/amd/vulkan/radv_radeon_winsys.h b/src/amd/vulkan/radv_radeon_winsys.h
> index 526661754f..7977d46229 100644
> --- a/src/amd/vulkan/radv_radeon_winsys.h
> +++ b/src/amd/vulkan/radv_radeon_winsys.h
> @@ -268,9 +268,6 @@ struct radeon_winsys {
> const struct ac_surf_info *surf_info,
> struct radeon_surf *surf);
>
> - int (*surface_best)(struct radeon_winsys *ws,
> - struct radeon_surf *surf);
> -
> struct radeon_winsys_fence *(*create_fence)();
> void (*destroy_fence)(struct radeon_winsys_fence *fence);
> bool (*fence_wait)(struct radeon_winsys *ws,
> diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c
> index e3ccb812a7..875ac70de1 100644
> --- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c
> +++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_surface.c
> @@ -97,14 +97,7 @@ static int radv_amdgpu_winsys_surface_init(struct radeon_winsys *_ws,
> return ac_compute_surface(ws->addrlib, &ws->info, &config, mode, surf);
> }
>
> -static int radv_amdgpu_winsys_surface_best(struct radeon_winsys *rws,
> - struct radeon_surf *surf)
> -{
> - return 0;
> -}
> -
> void radv_amdgpu_surface_init_functions(struct radv_amdgpu_winsys *ws)
> {
> ws->base.surface_init = radv_amdgpu_winsys_surface_init;
> - ws->base.surface_best = radv_amdgpu_winsys_surface_best;
> }
> --
> 2.19.1
>
> _______________________________________________
> 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