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

drm/amdgpu: remove unused struct 'hqd_registers'

'hqd_registers' used to be used in a member of the 'bonaire_mqd'
struct. 'bonaire_mqd' was removed by
commit 486d807cd9a9 ("drm/amdgpu: remove duplicate definition of cik_mqd")
It's now unused.

Remove 'hqd_registers' as well.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Dr. David Alan Gilbert and committed by
Alex Deucher
191ef65b 90bc75b0

-38
-38
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
··· 2755 2755 return 0; 2756 2756 } 2757 2757 2758 - struct hqd_registers { 2759 - u32 cp_mqd_base_addr; 2760 - u32 cp_mqd_base_addr_hi; 2761 - u32 cp_hqd_active; 2762 - u32 cp_hqd_vmid; 2763 - u32 cp_hqd_persistent_state; 2764 - u32 cp_hqd_pipe_priority; 2765 - u32 cp_hqd_queue_priority; 2766 - u32 cp_hqd_quantum; 2767 - u32 cp_hqd_pq_base; 2768 - u32 cp_hqd_pq_base_hi; 2769 - u32 cp_hqd_pq_rptr; 2770 - u32 cp_hqd_pq_rptr_report_addr; 2771 - u32 cp_hqd_pq_rptr_report_addr_hi; 2772 - u32 cp_hqd_pq_wptr_poll_addr; 2773 - u32 cp_hqd_pq_wptr_poll_addr_hi; 2774 - u32 cp_hqd_pq_doorbell_control; 2775 - u32 cp_hqd_pq_wptr; 2776 - u32 cp_hqd_pq_control; 2777 - u32 cp_hqd_ib_base_addr; 2778 - u32 cp_hqd_ib_base_addr_hi; 2779 - u32 cp_hqd_ib_rptr; 2780 - u32 cp_hqd_ib_control; 2781 - u32 cp_hqd_iq_timer; 2782 - u32 cp_hqd_iq_rptr; 2783 - u32 cp_hqd_dequeue_request; 2784 - u32 cp_hqd_dma_offload; 2785 - u32 cp_hqd_sema_cmd; 2786 - u32 cp_hqd_msg_type; 2787 - u32 cp_hqd_atomic0_preop_lo; 2788 - u32 cp_hqd_atomic0_preop_hi; 2789 - u32 cp_hqd_atomic1_preop_lo; 2790 - u32 cp_hqd_atomic1_preop_hi; 2791 - u32 cp_hqd_hq_scheduler0; 2792 - u32 cp_hqd_hq_scheduler1; 2793 - u32 cp_mqd_control; 2794 - }; 2795 - 2796 2758 static void gfx_v7_0_compute_pipe_init(struct amdgpu_device *adev, 2797 2759 int mec, int pipe) 2798 2760 {