Skip to contentSkip to conversation

drm/amdgpu/mes11: remove some register fields that no longer exist

PATCH New Alex Deucher 1 participant 1 message May 5, 2022

Subsystems (2)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/1 drm/amdgpu/mes11: remove some register fields that no longer exist

Some copy paste leftovers for older asics. They were protected by __BIG_ENDIAN, so we didn't notice them initially.

---
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c +0 -3
index 840f66457ffe..5d4d54cabf70 100644
@@ -697,9 +697,6 @@ static int mes_v11_0_mqd_init(struct amdgpu_ring *ring)
 			    (order_base_2(ring->ring_size / 4) - 1));
 	tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, RPTR_BLOCK_SIZE,
 			    ((order_base_2(AMDGPU_GPU_PAGE_SIZE / 4) - 1) << 8));
-#ifdef __BIG_ENDIAN
-	tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, ENDIAN_SWAP, 1);
-#endif
 	tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, UNORD_DISPATCH, 1);
 	tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, TUNNEL_DISPATCH, 0);
 	tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_CONTROL, PRIV_STATE, 1);
Signature · 1 line
2.35.1