All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matt Roper <matthew.d.roper@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Subject: [PATCH 0/2] New cdclk values for gen11+
Date: Mon, 26 Aug 2019 15:55:38 -0700	[thread overview]
Message-ID: <20190826225540.11987-1-matthew.d.roper@intel.com> (raw)

The bspec was recently updated with new cdclk values 324mhz and
326.4mhz.  These clock values are the first ones on gen11+ that use a
CD2X clock divider of /2 rather than /1 so we need a little bit of extra
logic to program the divider properly before actually enabling them.

Note that the bspec does have a note next to the /1 divider bits saying
"Use this setting for all CD frequencies" on gen11.  I suspect that this
note is left over from before these new frequencies were added, but I'm
still confirming that with the hardware team.  The note does not appear
on the TGL bspec.

Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>

Matt Roper (2):
  drm/i915: Allow /2 CD2X divider on gen11+
  drm/i915: Add 324mhz and 326.4mhz cdclks for gen11+

 drivers/gpu/drm/i915/display/intel_cdclk.c | 98 +++++++++-------------
 drivers/gpu/drm/i915/i915_reg.h            |  1 +
 2 files changed, 42 insertions(+), 57 deletions(-)

-- 
2.20.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

             reply	other threads:[~2019-08-26 22:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-26 22:55 Matt Roper [this message]
2019-08-26 22:55 ` [PATCH 1/2] drm/i915: Allow /2 CD2X divider on gen11+ Matt Roper
2019-08-27 13:52   ` Ville Syrjälä
2019-08-30  0:48     ` [PATCH v2 " Matt Roper
2019-08-26 22:55 ` [PATCH 2/2] drm/i915: Add 324mhz and 326.4mhz cdclks for gen11+ Matt Roper
2019-08-27  9:19 ` ✓ Fi.CI.BAT: success for New cdclk values " Patchwork
2019-08-27 13:33 ` ✓ Fi.CI.IGT: " Patchwork
2019-08-30  1:27 ` ✓ Fi.CI.BAT: success for New cdclk values for gen11+ (rev2) Patchwork
2019-08-30 21:47 ` ✓ Fi.CI.IGT: " Patchwork
2019-08-30 22:49   ` Matt Roper

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=20190826225540.11987-1-matthew.d.roper@intel.com \
    --to=matthew.d.roper@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=lucas.demarchi@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.