Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Ville Syrjala <ville.syrjala@linux.intel.com>,
	intel-xe@lists.freedesktop.org
Subject: Re: [PATCH 1/4] drm/xe: s/xe_display_irq_enable()/xe_display_gse_irq_handler()/
Date: Mon, 09 Nov 2026 13:59:08 +0200	[thread overview]
Message-ID: <9a85df445910c4485b29db9b3f3e01eee819be8b@intel.com> (raw)
In-Reply-To: <20261109114554.19597-2-ville.syrjala@linux.intel.com>

On Mon, 09 Nov 2026, Ville Syrjala <ville.syrjala@linux.intel.com> wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> xe_display_irq_enable() is actually the GSE interrupt *handler*,
> not some irq enable function. Rename it accordingly.
>
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

Reviewed-by: Jani Nikula <jani.nikula@intel.com>

> ---
>  drivers/gpu/drm/xe/display/xe_display.c | 2 +-
>  drivers/gpu/drm/xe/display/xe_display.h | 4 ++--
>  drivers/gpu/drm/xe/xe_irq.c             | 5 +++--
>  3 files changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/display/xe_display.c b/drivers/gpu/drm/xe/display/xe_display.c
> index aab416485e3e..f5538e450e3e 100644
> --- a/drivers/gpu/drm/xe/display/xe_display.c
> +++ b/drivers/gpu/drm/xe/display/xe_display.c
> @@ -195,7 +195,7 @@ void xe_display_irq_handler(struct xe_device *xe, u32 master_ctl)
>  		intel_display_irq_handler(display, NULL);
>  }
>  
> -void xe_display_irq_enable(struct xe_device *xe, u32 gu_misc_iir)
> +void xe_display_gse_irq_handler(struct xe_device *xe, u32 gu_misc_iir)
>  {
>  	struct intel_display *display = xe->display;
>  
> diff --git a/drivers/gpu/drm/xe/display/xe_display.h b/drivers/gpu/drm/xe/display/xe_display.h
> index 0babb50bfc77..370be8ec1044 100644
> --- a/drivers/gpu/drm/xe/display/xe_display.h
> +++ b/drivers/gpu/drm/xe/display/xe_display.h
> @@ -33,7 +33,7 @@ void xe_display_shutdown(struct xe_device *xe);
>  void xe_display_shutdown_late(struct xe_device *xe);
>  
>  void xe_display_irq_handler(struct xe_device *xe, u32 master_ctl);
> -void xe_display_irq_enable(struct xe_device *xe, u32 gu_misc_iir);
> +void xe_display_gse_irq_handler(struct xe_device *xe, u32 gu_misc_iir);
>  void xe_display_irq_reset(struct xe_device *xe);
>  void xe_display_irq_postinstall(struct xe_device *xe);
>  
> @@ -71,7 +71,7 @@ static inline void xe_display_shutdown(struct xe_device *xe) {}
>  static inline void xe_display_shutdown_late(struct xe_device *xe) {}
>  
>  static inline void xe_display_irq_handler(struct xe_device *xe, u32 master_ctl) {}
> -static inline void xe_display_irq_enable(struct xe_device *xe, u32 gu_misc_iir) {}
> +static inline void xe_display_gse_irq_handler(struct xe_device *xe, u32 gu_misc_iir) {}
>  static inline void xe_display_irq_reset(struct xe_device *xe) {}
>  static inline void xe_display_irq_postinstall(struct xe_device *xe) {}
>  
> diff --git a/drivers/gpu/drm/xe/xe_irq.c b/drivers/gpu/drm/xe/xe_irq.c
> index b394c8edf89c..320fc64e7d4f 100644
> --- a/drivers/gpu/drm/xe/xe_irq.c
> +++ b/drivers/gpu/drm/xe/xe_irq.c
> @@ -435,7 +435,7 @@ static irqreturn_t xelp_irq_handler(int irq, void *arg)
>  
>  	xelp_intr_enable(xe, false);
>  
> -	xe_display_irq_enable(xe, gu_misc_iir);
> +	xe_display_gse_irq_handler(xe, gu_misc_iir);
>  
>  	return IRQ_HANDLED;
>  }
> @@ -533,7 +533,8 @@ static irqreturn_t dg1_irq_handler(int irq, void *arg)
>  	}
>  
>  	dg1_intr_enable(xe, false);
> -	xe_display_irq_enable(xe, gu_misc_iir);
> +
> +	xe_display_gse_irq_handler(xe, gu_misc_iir);
>  
>  	return IRQ_HANDLED;
>  }

-- 
Jani Nikula, Intel

  reply	other threads:[~2026-11-09 11:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-09 11:45 [PATCH 0/4] drm/xe: Clean up the GU_MISC irq handling Ville Syrjala
2026-11-09 11:45 ` [PATCH 1/4] drm/xe: s/xe_display_irq_enable()/xe_display_gse_irq_handler()/ Ville Syrjala
2026-11-09 11:59   ` Jani Nikula [this message]
2026-11-09 11:45 ` [PATCH 2/4] drm/xe: Extract xe_gu_misc_irq_{postinstall,reset}() Ville Syrjala
2026-11-09 12:00   ` Jani Nikula
2026-11-09 11:45 ` [PATCH 3/4] drm/xe: Only enable the GSE interrupt when display needs it Ville Syrjala
2026-11-09 12:03   ` Jani Nikula
2026-11-09 11:45 ` [PATCH 4/4] drm/xe: Use intel_display_gse_irq_handler() Ville Syrjala
2026-11-09 11:51   ` sashiko-bot
2026-11-09 12:28     ` Ville Syrjälä
2026-11-09 12:05   ` Jani Nikula
2026-11-09 12:15     ` Ville Syrjälä
2026-11-09 12:22       ` Jani Nikula
2026-11-09 12:34         ` Ville Syrjälä
2026-11-09 14:10 ` ✓ CI.KUnit: success for drm/xe: Clean up the GU_MISC irq handling Patchwork
2026-11-09 14:59 ` ✓ Xe.CI.BAT: " Patchwork
2026-11-09 16:28 ` ✗ Xe.CI.FULL: failure " Patchwork

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=9a85df445910c4485b29db9b3f3e01eee819be8b@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=ville.syrjala@linux.intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox