Searched refs:AMDGPU_GWS_SHIFT (Results 1 – 6 of 6) sorted by relevance
31 #define AMDGPU_GWS_SHIFT PAGE_SHIFT macro
374 gds_info.gws_per_gfx_partition = adev->gds.gws.gfx_partition_size >> AMDGPU_GWS_SHIFT; in amdgpu_info_ioctl()375 gds_info.gws_per_compute_partition = adev->gds.gws.cs_partition_size >> AMDGPU_GWS_SHIFT; in amdgpu_info_ioctl()
920 adev->gds.gws.total_size = adev->gds.gws.total_size << AMDGPU_GWS_SHIFT; in amdgpu_ttm_init()921 adev->gds.gws.gfx_partition_size = adev->gds.gws.gfx_partition_size << AMDGPU_GWS_SHIFT; in amdgpu_ttm_init()922 adev->gds.gws.cs_partition_size = adev->gds.gws.cs_partition_size << AMDGPU_GWS_SHIFT; in amdgpu_ttm_init()
187 size = size << AMDGPU_GWS_SHIFT; in amdgpu_gem_create_ioctl()
4676 gws_base = gws_base >> AMDGPU_GWS_SHIFT; in gfx_v7_0_ring_emit_gds_switch()4677 gws_size = gws_size >> AMDGPU_GWS_SHIFT; in gfx_v7_0_ring_emit_gds_switch()
4409 gws_base = gws_base >> AMDGPU_GWS_SHIFT; in gfx_v8_0_ring_emit_gds_switch()4410 gws_size = gws_size >> AMDGPU_GWS_SHIFT; in gfx_v8_0_ring_emit_gds_switch()