Lines Matching refs:mqd_idx
3660 int mqd_idx = ring - &adev->gfx.gfx_ring[0]; in gfx_v11_0_gfx_init_queue() local
3672 if (adev->gfx.me.mqd_backup[mqd_idx]) in gfx_v11_0_gfx_init_queue()
3673 memcpy(adev->gfx.me.mqd_backup[mqd_idx], mqd, sizeof(*mqd)); in gfx_v11_0_gfx_init_queue()
3676 if (adev->gfx.me.mqd_backup[mqd_idx]) in gfx_v11_0_gfx_init_queue()
3677 memcpy(mqd, adev->gfx.me.mqd_backup[mqd_idx], sizeof(*mqd)); in gfx_v11_0_gfx_init_queue()
4002 int mqd_idx = AMDGPU_MAX_COMPUTE_RINGS; in gfx_v11_0_kiq_init_queue() local
4008 if (adev->gfx.mec.mqd_backup[mqd_idx]) in gfx_v11_0_kiq_init_queue()
4009 memcpy(mqd, adev->gfx.mec.mqd_backup[mqd_idx], sizeof(*mqd)); in gfx_v11_0_kiq_init_queue()
4029 if (adev->gfx.mec.mqd_backup[mqd_idx]) in gfx_v11_0_kiq_init_queue()
4030 memcpy(adev->gfx.mec.mqd_backup[mqd_idx], mqd, sizeof(*mqd)); in gfx_v11_0_kiq_init_queue()
4040 int mqd_idx = ring - &adev->gfx.compute_ring[0]; in gfx_v11_0_kcq_init_queue() local
4050 if (adev->gfx.mec.mqd_backup[mqd_idx]) in gfx_v11_0_kcq_init_queue()
4051 memcpy(adev->gfx.mec.mqd_backup[mqd_idx], mqd, sizeof(*mqd)); in gfx_v11_0_kcq_init_queue()
4054 if (adev->gfx.mec.mqd_backup[mqd_idx]) in gfx_v11_0_kcq_init_queue()
4055 memcpy(mqd, adev->gfx.mec.mqd_backup[mqd_idx], sizeof(*mqd)); in gfx_v11_0_kcq_init_queue()