Searched refs:mqd_idx (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | gfx_v12_0.c | 2927 int mqd_idx = ring - &adev->gfx.gfx_ring[0]; in gfx_v12_0_kgq_init_queue() local 2936 if (adev->gfx.me.mqd_backup[mqd_idx]) in gfx_v12_0_kgq_init_queue() 2937 memcpy_fromio(adev->gfx.me.mqd_backup[mqd_idx], mqd, sizeof(*mqd)); in gfx_v12_0_kgq_init_queue() 2940 if (adev->gfx.me.mqd_backup[mqd_idx]) in gfx_v12_0_kgq_init_queue() 2941 memcpy_toio(mqd, adev->gfx.me.mqd_backup[mqd_idx], sizeof(*mqd)); in gfx_v12_0_kgq_init_queue() 3233 int mqd_idx = AMDGPU_MAX_COMPUTE_RINGS; in gfx_v12_0_kiq_init_queue() local 3239 if (adev->gfx.mec.mqd_backup[mqd_idx]) in gfx_v12_0_kiq_init_queue() 3240 memcpy(mqd, adev->gfx.mec.mqd_backup[mqd_idx], sizeof(*mqd)); in gfx_v12_0_kiq_init_queue() 3262 if (adev->gfx.mec.mqd_backup[mqd_idx]) in gfx_v12_0_kiq_init_queue() 3263 memcpy(adev->gfx.mec.mqd_backup[mqd_idx], mqd, sizeof(*mqd)); in gfx_v12_0_kiq_init_queue() [all …]
|
D | gfx_v11_0.c | 3991 int mqd_idx = ring - &adev->gfx.gfx_ring[0]; in gfx_v11_0_kgq_init_queue() local 4000 if (adev->gfx.me.mqd_backup[mqd_idx]) in gfx_v11_0_kgq_init_queue() 4001 memcpy_fromio(adev->gfx.me.mqd_backup[mqd_idx], mqd, sizeof(*mqd)); in gfx_v11_0_kgq_init_queue() 4004 if (adev->gfx.me.mqd_backup[mqd_idx]) in gfx_v11_0_kgq_init_queue() 4005 memcpy_toio(mqd, adev->gfx.me.mqd_backup[mqd_idx], sizeof(*mqd)); in gfx_v11_0_kgq_init_queue() 4328 int mqd_idx = ring - &adev->gfx.compute_ring[0]; in gfx_v11_0_kcq_init_queue() local 4338 if (adev->gfx.mec.mqd_backup[mqd_idx]) in gfx_v11_0_kcq_init_queue() 4339 memcpy_fromio(adev->gfx.mec.mqd_backup[mqd_idx], mqd, sizeof(*mqd)); in gfx_v11_0_kcq_init_queue() 4342 if (adev->gfx.mec.mqd_backup[mqd_idx]) in gfx_v11_0_kcq_init_queue() 4343 memcpy_toio(mqd, adev->gfx.mec.mqd_backup[mqd_idx], sizeof(*mqd)); in gfx_v11_0_kcq_init_queue()
|
D | gfx_v9_4_3.c | 2130 int mqd_idx = ring - &adev->gfx.compute_ring[0]; in gfx_v9_4_3_xcc_kcq_init_queue() local 2136 tmp_mqd = (struct v9_mqd *)adev->gfx.mec.mqd_backup[mqd_idx]; in gfx_v9_4_3_xcc_kcq_init_queue() 2149 if (adev->gfx.mec.mqd_backup[mqd_idx]) in gfx_v9_4_3_xcc_kcq_init_queue() 2150 memcpy(adev->gfx.mec.mqd_backup[mqd_idx], mqd, sizeof(struct v9_mqd_allocation)); in gfx_v9_4_3_xcc_kcq_init_queue() 2153 if (adev->gfx.mec.mqd_backup[mqd_idx]) in gfx_v9_4_3_xcc_kcq_init_queue() 2154 memcpy(mqd, adev->gfx.mec.mqd_backup[mqd_idx], sizeof(struct v9_mqd_allocation)); in gfx_v9_4_3_xcc_kcq_init_queue()
|
D | gfx_v10_0.c | 6699 int mqd_idx = ring - &adev->gfx.gfx_ring[0]; in gfx_v10_0_kgq_init_queue() local 6717 if (adev->gfx.me.mqd_backup[mqd_idx]) in gfx_v10_0_kgq_init_queue() 6718 memcpy_fromio(adev->gfx.me.mqd_backup[mqd_idx], mqd, sizeof(*mqd)); in gfx_v10_0_kgq_init_queue() 6728 if (adev->gfx.me.mqd_backup[mqd_idx]) in gfx_v10_0_kgq_init_queue() 6729 memcpy_toio(mqd, adev->gfx.me.mqd_backup[mqd_idx], sizeof(*mqd)); in gfx_v10_0_kgq_init_queue() 7037 int mqd_idx = ring - &adev->gfx.compute_ring[0]; in gfx_v10_0_kcq_init_queue() local 7047 if (adev->gfx.mec.mqd_backup[mqd_idx]) in gfx_v10_0_kcq_init_queue() 7048 memcpy_fromio(adev->gfx.mec.mqd_backup[mqd_idx], mqd, sizeof(*mqd)); in gfx_v10_0_kcq_init_queue() 7051 if (adev->gfx.mec.mqd_backup[mqd_idx]) in gfx_v10_0_kcq_init_queue() 7052 memcpy_toio(mqd, adev->gfx.mec.mqd_backup[mqd_idx], sizeof(*mqd)); in gfx_v10_0_kcq_init_queue()
|
D | gfx_v9_0.c | 3809 int mqd_idx = ring - &adev->gfx.compute_ring[0]; in gfx_v9_0_kcq_init_queue() local 3815 tmp_mqd = (struct v9_mqd *)adev->gfx.mec.mqd_backup[mqd_idx]; in gfx_v9_0_kcq_init_queue() 3828 if (adev->gfx.mec.mqd_backup[mqd_idx]) in gfx_v9_0_kcq_init_queue() 3829 memcpy(adev->gfx.mec.mqd_backup[mqd_idx], mqd, sizeof(struct v9_mqd_allocation)); in gfx_v9_0_kcq_init_queue() 3832 if (adev->gfx.mec.mqd_backup[mqd_idx]) in gfx_v9_0_kcq_init_queue() 3833 memcpy(mqd, adev->gfx.mec.mqd_backup[mqd_idx], sizeof(struct v9_mqd_allocation)); in gfx_v9_0_kcq_init_queue()
|
D | gfx_v8_0.c | 4635 int mqd_idx = ring - &adev->gfx.compute_ring[0]; in gfx_v8_0_kcq_init_queue() local 4647 if (adev->gfx.mec.mqd_backup[mqd_idx]) in gfx_v8_0_kcq_init_queue() 4648 memcpy(adev->gfx.mec.mqd_backup[mqd_idx], mqd, sizeof(struct vi_mqd_allocation)); in gfx_v8_0_kcq_init_queue() 4651 if (adev->gfx.mec.mqd_backup[mqd_idx]) in gfx_v8_0_kcq_init_queue() 4652 memcpy(mqd, adev->gfx.mec.mqd_backup[mqd_idx], sizeof(struct vi_mqd_allocation)); in gfx_v8_0_kcq_init_queue()
|