From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Luca Coelho <luciano.coelho@intel.com>
Cc: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org,
jani.nikula@linux.intel.com
Subject: Re: [PATCH] drm/i915: remove unused DPLL_TEST register definitions
Date: Tue, 21 Apr 2026 00:00:03 +0300 [thread overview]
Message-ID: <aeaT07EcZ8jXeR41@intel.com> (raw)
In-Reply-To: <20260420204715.3906215-1-luciano.coelho@intel.com>
On Mon, Apr 20, 2026 at 11:46:47PM +0300, Luca Coelho wrote:
> Remove the old DPLL_TEST register definitions from i915_reg.h.
>
> They are no longer used anywhere in the driver.
Reading register definitions is easier than reading the spec.
So unless they are incorrect I don't want to remove the
register definitions for anything.
>
> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
> ---
> drivers/gpu/drm/i915/i915_reg.h | 12 ------------
> 1 file changed, 12 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
> index 5d99b99b0c57..68bd0b3a6f83 100644
> --- a/drivers/gpu/drm/i915/i915_reg.h
> +++ b/drivers/gpu/drm/i915/i915_reg.h
> @@ -509,18 +509,6 @@
> #define IVB_SPR_STRETCH_MAX_X2 REG_FIELD_PREP(IVB_SPR_STRETCH_MAX_MASK, 2)
> #define IVB_SPR_STRETCH_MAX_X1 REG_FIELD_PREP(IVB_SPR_STRETCH_MAX_MASK, 3)
>
> -#define DPLL_TEST _MMIO(0x606c)
> -#define DPLLB_TEST_SDVO_DIV_1 (0 << 22)
> -#define DPLLB_TEST_SDVO_DIV_2 (1 << 22)
> -#define DPLLB_TEST_SDVO_DIV_4 (2 << 22)
> -#define DPLLB_TEST_SDVO_DIV_MASK (3 << 22)
> -#define DPLLB_TEST_N_BYPASS (1 << 19)
> -#define DPLLB_TEST_M_BYPASS (1 << 18)
> -#define DPLLB_INPUT_BUFFER_ENABLE (1 << 16)
> -#define DPLLA_TEST_N_BYPASS (1 << 3)
> -#define DPLLA_TEST_M_BYPASS (1 << 2)
> -#define DPLLA_INPUT_BUFFER_ENABLE (1 << 0)
> -
> #define D_STATE _MMIO(0x6104)
> #define DSTATE_GFX_RESET_I830 (1 << 6)
> #define DSTATE_PLL_D3_OFF (1 << 3)
> --
> 2.53.0
--
Ville Syrjälä
Intel
next prev parent reply other threads:[~2026-04-20 21:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-20 20:46 [PATCH] drm/i915: remove unused DPLL_TEST register definitions Luca Coelho
2026-04-20 21:00 ` Ville Syrjälä [this message]
2026-04-20 21:04 ` Luca Coelho
2026-04-20 22:23 ` ✗ i915.CI.BAT: failure for " Patchwork
2026-04-21 3:29 ` ✓ CI.KUnit: success " Patchwork
2026-04-21 4:22 ` ✓ Xe.CI.BAT: " Patchwork
2026-04-21 6:27 ` ✓ Xe.CI.FULL: " 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=aeaT07EcZ8jXeR41@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=luciano.coelho@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 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.