Skip to content

Commit cc2d865

Browse files
committed
Revert "drm/amdgpu: Force order between a read and write to the same address"
This reverts commit fbfca2c. Reason for revert: Deferred to 6.0.1 apparently Change-Id: I7eec212d29a97658a6076080e23c7c6b08b2316a
1 parent af06a4b commit cc2d865

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c

-8
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,6 @@ MODULE_FIRMWARE("amdgpu/gc_11_5_0_me.bin");
8989
MODULE_FIRMWARE("amdgpu/gc_11_5_0_mec.bin");
9090
MODULE_FIRMWARE("amdgpu/gc_11_5_0_rlc.bin");
9191

92-
static const struct soc15_reg_golden golden_settings_gc_11_0[] = {
93-
SOC15_REG_GOLDEN_VALUE(GC, 0, regTCP_CNTL, 0x20000000, 0x20000000)
94-
};
95-
9692
static const struct soc15_reg_golden golden_settings_gc_11_0_1[] =
9793
{
9894
SOC15_REG_GOLDEN_VALUE(GC, 0, regCGTT_GS_NGG_CLK_CTRL, 0x9fff8fff, 0x00000010),
@@ -308,10 +304,6 @@ static void gfx_v11_0_init_golden_registers(struct amdgpu_device *adev)
308304
default:
309305
break;
310306
}
311-
soc15_program_register_sequence(adev,
312-
golden_settings_gc_11_0,
313-
(const u32)ARRAY_SIZE(golden_settings_gc_11_0));
314-
315307
}
316308

317309
static void gfx_v11_0_write_data_to_reg(struct amdgpu_ring *ring, int eng_sel,

drivers/gpu/drm/amd/include/asic_reg/gc/gc_11_0_0_offset.h

-2
Original file line numberDiff line numberDiff line change
@@ -6369,8 +6369,6 @@
63696369
#define regTCP_INVALIDATE_BASE_IDX 1
63706370
#define regTCP_STATUS 0x19a1
63716371
#define regTCP_STATUS_BASE_IDX 1
6372-
#define regTCP_CNTL 0x19a2
6373-
#define regTCP_CNTL_BASE_IDX 1
63746372
#define regTCP_CNTL2 0x19a3
63756373
#define regTCP_CNTL2_BASE_IDX 1
63766374
#define regTCP_DEBUG_INDEX 0x19a5

0 commit comments

Comments
 (0)