Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Michał Winiarski" <michal.winiarski@intel.com>
To: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: <intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH 1/3] drm/xe: Add PR_CTR_CTRL/THRSH register definitions
Date: Mon, 23 Mar 2026 09:51:59 +0100	[thread overview]
Message-ID: <acD-FTKMfQ6j79jp@nostramo> (raw)
In-Reply-To: <20260303201354.17948-2-michal.wajdeczko@intel.com>

On Tue, Mar 03, 2026 at 09:13:52PM +0100, Michal Wajdeczko wrote:
> The Watchdog Counter Control and Watchdog Counter Threshold
> registers are needed for watchdog programming. This watchdog
> will generate the "Media Hang Notify" interrupt.
> 
> Bspec: 45999, 46000
> Bspec: 60373, 60374
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>

Reviewed-by: Michał Winiarski <michal.winiarski@intel.com>

Thanks,
-Michał

> ---
>  drivers/gpu/drm/xe/regs/xe_engine_regs.h | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/drivers/gpu/drm/xe/regs/xe_engine_regs.h b/drivers/gpu/drm/xe/regs/xe_engine_regs.h
> index dc5a4fafa70c..1b4a7e9a703d 100644
> --- a/drivers/gpu/drm/xe/regs/xe_engine_regs.h
> +++ b/drivers/gpu/drm/xe/regs/xe_engine_regs.h
> @@ -132,6 +132,14 @@
>  #define RING_BBADDR(base)			XE_REG((base) + 0x140)
>  #define RING_BBADDR_UDW(base)			XE_REG((base) + 0x168)
>  
> +#define PR_CTR_CTRL(base)			XE_REG((base) + 0x178)
> +#define   CTR_COUNT_SELECT_FF			REG_BIT(31)
> +#define   CTR_LOGIC_OP_MASK			REG_GENMASK(30, 0)
> +#define     CTR_START				0
> +#define     CTR_STOP				1
> +#define   CTR_LOGIC_OP(OP)			REG_FIELD_PREP(CTR_LOGIC_OP_MASK, CTR_##OP)
> +#define PR_CTR_THRSH(base)			XE_REG((base) + 0x17c)
> +
>  #define BCS_SWCTRL(base)			XE_REG((base) + 0x200, XE_REG_OPTION_MASKED)
>  #define   BCS_SWCTRL_DISABLE_256B		REG_BIT(2)
>  
> -- 
> 2.47.1
> 

  reply	other threads:[~2026-03-23  8:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-03 20:13 [PATCH 0/3] drm/xe/vf: Improve getting clean NULL context Michal Wajdeczko
2026-03-03 20:13 ` [PATCH 1/3] drm/xe: Add PR_CTR_CTRL/THRSH register definitions Michal Wajdeczko
2026-03-23  8:51   ` Michał Winiarski [this message]
2026-03-03 20:13 ` [PATCH 2/3] drm/xe: Add MI_SEMAPHORE_WAIT command definition Michal Wajdeczko
2026-03-23  8:53   ` Michał Winiarski
2026-03-03 20:13 ` [PATCH 3/3] drm/xe/vf: Improve getting clean NULL context Michal Wajdeczko
2026-03-23  9:01   ` Michał Winiarski
2026-03-03 20:21 ` ✓ CI.KUnit: success for " Patchwork
2026-03-03 21:04 ` ✗ Xe.CI.BAT: failure " Patchwork
2026-03-04  7:24 ` ✗ Xe.CI.FULL: " Patchwork
2026-03-06  8:58 ` ✓ CI.KUnit: success for drm/xe/vf: Improve getting clean NULL context (rev2) Patchwork
2026-03-06  9:35 ` ✗ Xe.CI.BAT: failure " Patchwork
2026-03-23  9:08   ` Michal Wajdeczko
2026-03-07  9:40 ` ✗ Xe.CI.FULL: " Patchwork
2026-03-23  9:16   ` Michal Wajdeczko

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=acD-FTKMfQ6j79jp@nostramo \
    --to=michal.winiarski@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=michal.wajdeczko@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