All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Deng, Emily" <Emily.Deng-5C7GfCeVMHo@public.gmane.org>
To: Alex Deucher
	<alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	"amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org"
	<amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
Cc: "Deucher, Alexander" <Alexander.Deucher-5C7GfCeVMHo@public.gmane.org>
Subject: RE: [PATCH 2/7] drm/amdgpu/virtual_dce: no need to an irq process callback
Date: Sat, 8 Oct 2016 08:22:30 +0000	[thread overview]
Message-ID: <DM5PR12MB16593B045ACD100369360BAE8FD90@DM5PR12MB1659.namprd12.prod.outlook.com> (raw)
In-Reply-To: <1475255328-21598-2-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>

Reviewed-By: Emily Deng <Emily.Deng@amd.com>

> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces@lists.freedesktop.org] On Behalf
> Of Alex Deucher
> Sent: Saturday, October 01, 2016 1:09 AM
> To: amd-gfx@lists.freedesktop.org
> Cc: Deucher, Alexander <Alexander.Deucher@amd.com>
> Subject: [PATCH 2/7] drm/amdgpu/virtual_dce: no need to an irq process
> callback
> 
> Virtual crtcs interrupts do not show up in the IV ring, so it will never be called.
> 
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 17 +----------------
>  1 file changed, 1 insertion(+), 16 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
> b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
> index cf43caa..8163622 100644
> --- a/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
> +++ b/drivers/gpu/drm/amd/amdgpu/dce_virtual.c
> @@ -710,21 +710,6 @@ static int dce_virtual_set_crtc_irq_state(struct
> amdgpu_device *adev,
>  	return 0;
>  }
> 
> -static int dce_virtual_crtc_irq(struct amdgpu_device *adev,
> -			      struct amdgpu_irq_src *source,
> -			      struct amdgpu_iv_entry *entry)
> -{
> -	unsigned crtc = 0;
> -	unsigned irq_type = AMDGPU_CRTC_IRQ_VBLANK1;
> -
> -	if (amdgpu_irq_enabled(adev, source, irq_type)) {
> -		drm_handle_vblank(adev->ddev, crtc);
> -	}
> -	dce_virtual_pageflip_irq(adev, NULL, NULL);
> -	DRM_DEBUG("IH: D%d vblank\n", crtc + 1);
> -	return 0;
> -}
> -
>  static int dce_virtual_pageflip_irq(struct amdgpu_device *adev,
>  				  struct amdgpu_irq_src *source,
>  				  struct amdgpu_iv_entry *entry)
> @@ -775,7 +760,7 @@ static int dce_virtual_pageflip_irq(struct
> amdgpu_device *adev,
> 
>  static const struct amdgpu_irq_src_funcs dce_virtual_crtc_irq_funcs = {
>  	.set = dce_virtual_set_crtc_irq_state,
> -	.process = dce_virtual_crtc_irq,
> +	.process = NULL,
>  };
> 
>  static void dce_virtual_set_irq_funcs(struct amdgpu_device *adev)
> --
> 2.5.5
> 
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2016-10-08  8:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-30 17:08 [PATCH 1/7] drm/amdgpu/virtual_dce: drop pageflip_irq funcs Alex Deucher
     [not found] ` <1475255328-21598-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2016-09-30 17:08   ` [PATCH 2/7] drm/amdgpu/virtual_dce: no need to an irq process callback Alex Deucher
     [not found]     ` <1475255328-21598-2-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2016-10-08  8:22       ` Deng, Emily [this message]
2016-09-30 17:08   ` [PATCH 3/7] drm/amdgpu/virtual_dce: clean up interrupt handling Alex Deucher
     [not found]     ` <1475255328-21598-3-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2016-10-08  8:23       ` Deng, Emily
2016-10-08  8:23       ` Deng, Emily
2016-09-30 17:08   ` [PATCH 4/7] drm/amdgpu: simplify encoder and connector setup Alex Deucher
     [not found]     ` <1475255328-21598-4-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2016-10-08  8:22       ` Deng, Emily
2016-09-30 17:08   ` [PATCH 5/7] Revert "drm/amdgpu: Add virtual connector and encoder macros." Alex Deucher
     [not found]     ` <1475255328-21598-5-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2016-10-08  8:22       ` Deng, Emily
2016-09-30 17:08   ` [PATCH 6/7] drm/amdgpu: rename amdgpu_whether_enable_virtual_display Alex Deucher
     [not found]     ` <1475255328-21598-6-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2016-10-08  8:23       ` Deng, Emily
2016-09-30 17:08   ` [PATCH 7/7] drm/amd/amdgpu: For virtual display, enable multi crtcs. (v3) Alex Deucher
     [not found]     ` <1475255328-21598-7-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2016-10-08  8:22       ` Deng, Emily
2016-09-30 17:52   ` [PATCH 1/7] drm/amdgpu/virtual_dce: drop pageflip_irq funcs Christian König
2016-10-08  8:24   ` Deng, Emily

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM5PR12MB16593B045ACD100369360BAE8FD90@DM5PR12MB1659.namprd12.prod.outlook.com \
    --to=emily.deng-5c7gfcevmho@public.gmane.org \
    --cc=Alexander.Deucher-5C7GfCeVMHo@public.gmane.org \
    --cc=alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.