mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 12:30:09 +01:00
r600g: remove unused r600_bo::kernel_pitch
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
2ce783d8dd
commit
c092e236cc
3 changed files with 3 additions and 7 deletions
|
|
@ -107,7 +107,7 @@ struct r600_bo *r600_bo_handle(struct radeon *radeon, struct winsys_handle *whan
|
|||
if (stride)
|
||||
*stride = whandle->stride;
|
||||
|
||||
radeon_bo_get_tiling_flags(radeon, rbo, &bo->tiling_flags, &bo->kernel_pitch);
|
||||
radeon_bo_get_tiling_flags(radeon, rbo, &bo->tiling_flags);
|
||||
if (array_mode) {
|
||||
if (bo->tiling_flags) {
|
||||
if (bo->tiling_flags & RADEON_TILING_MACRO)
|
||||
|
|
|
|||
|
|
@ -96,7 +96,6 @@ struct r600_bo {
|
|||
/* DO NOT MOVE THIS ^ */
|
||||
unsigned size;
|
||||
unsigned tiling_flags;
|
||||
unsigned kernel_pitch;
|
||||
unsigned domains;
|
||||
struct radeon_bo *bo;
|
||||
unsigned fence;
|
||||
|
|
@ -140,8 +139,7 @@ int radeon_bo_busy(struct radeon *radeon, struct radeon_bo *bo, uint32_t *domain
|
|||
int radeon_bo_fencelist(struct radeon *radeon, struct radeon_bo **bolist, uint32_t num_bo);
|
||||
int radeon_bo_get_tiling_flags(struct radeon *radeon,
|
||||
struct radeon_bo *bo,
|
||||
uint32_t *tiling_flags,
|
||||
uint32_t *pitch);
|
||||
uint32_t *tiling_flags);
|
||||
int radeon_bo_get_name(struct radeon *radeon,
|
||||
struct radeon_bo *bo,
|
||||
uint32_t *name);
|
||||
|
|
|
|||
|
|
@ -220,8 +220,7 @@ int radeon_bo_busy(struct radeon *radeon, struct radeon_bo *bo, uint32_t *domain
|
|||
|
||||
int radeon_bo_get_tiling_flags(struct radeon *radeon,
|
||||
struct radeon_bo *bo,
|
||||
uint32_t *tiling_flags,
|
||||
uint32_t *pitch)
|
||||
uint32_t *tiling_flags)
|
||||
{
|
||||
struct drm_radeon_gem_get_tiling args = {};
|
||||
int ret;
|
||||
|
|
@ -233,7 +232,6 @@ int radeon_bo_get_tiling_flags(struct radeon *radeon,
|
|||
return ret;
|
||||
|
||||
*tiling_flags = args.tiling_flags;
|
||||
*pitch = args.pitch;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue