Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu/gfx: make amdgpu_gfx_me_queue_to_bit() static

It's not used outside of amdgpu_gfx.c.

Reviewed-by: Sunil Khatri <sunil.khatri@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

+2 -4
+2 -2
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
··· 74 74 adev->gfx.mec_bitmap[xcc_id].queue_bitmap); 75 75 } 76 76 77 - int amdgpu_gfx_me_queue_to_bit(struct amdgpu_device *adev, 78 - int me, int pipe, int queue) 77 + static int amdgpu_gfx_me_queue_to_bit(struct amdgpu_device *adev, 78 + int me, int pipe, int queue) 79 79 { 80 80 int bit = 0; 81 81
-2
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
··· 550 550 struct amdgpu_ring *ring); 551 551 bool amdgpu_gfx_is_high_priority_graphics_queue(struct amdgpu_device *adev, 552 552 struct amdgpu_ring *ring); 553 - int amdgpu_gfx_me_queue_to_bit(struct amdgpu_device *adev, int me, 554 - int pipe, int queue); 555 553 bool amdgpu_gfx_is_me_queue_enabled(struct amdgpu_device *adev, int me, 556 554 int pipe, int queue); 557 555 void amdgpu_gfx_off_ctrl(struct amdgpu_device *adev, bool enable);