[PATCH 1/4] drm/amdgpu/virtual_dce: drop empty function
Deng, Emily
Emily.Deng at amd.com
Fri Sep 30 07:13:42 UTC 2016
Reviewed-By: Emily Deng <Emily.Deng at amd.com>
> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf
> Of Alex Deucher
> Sent: Friday, September 30, 2016 12:14 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Deucher, Alexander <Alexander.Deucher at amd.com>
> Subject: [PATCH 1/4] drm/amdgpu/virtual_dce: drop empty function
>
> No need to ack non-existent interrupts.
>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 11 -----------
> 1 file changed, 11 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
> b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
> index 23ff9f2..7c889d3 100644
> --- a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
> +++ b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
> @@ -697,15 +697,6 @@ static int dce_virtual_set_crtc_irq_state(struct
> amdgpu_device *adev,
> return 0;
> }
>
> -static void dce_virtual_crtc_vblank_int_ack(struct amdgpu_device *adev,
> - int crtc)
> -{
> - if (crtc >= adev->mode_info.num_crtc) {
> - DRM_DEBUG("invalid crtc %d\n", crtc);
> - return;
> - }
> -}
> -
> static int dce_virtual_crtc_irq(struct amdgpu_device *adev,
> struct amdgpu_irq_src *source,
> struct amdgpu_iv_entry *entry) @@ -713,8
> +704,6 @@ static int dce_virtual_crtc_irq(struct amdgpu_device *adev,
> unsigned crtc = 0;
> unsigned irq_type = AMDGPU_CRTC_IRQ_VBLANK1;
>
> - dce_virtual_crtc_vblank_int_ack(adev, crtc);
> -
> if (amdgpu_irq_enabled(adev, source, irq_type)) {
> drm_handle_vblank(adev->ddev, crtc);
> }
> --
> 2.5.5
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list