From: Ben Widawsky <ben@bwidawsk.net>
To: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Intel Graphics Development <intel-gfx@lists.freedesktop.org>,
"Runyan, Arthur J" <arthur.j.runyan@intel.com>
Subject: Re: [PATCH] drm/i915: implement MCH pipe underrun prevention for snb/ivb
Date: Thu, 7 Feb 2013 10:09:07 -0800 [thread overview]
Message-ID: <20130207180907.GA723@lundgren.nims.intel.com> (raw)
In-Reply-To: <1360247004-15707-1-git-send-email-daniel.vetter@ffwll.ch>
On Thu, Feb 07, 2013 at 03:23:24PM +0100, Daniel Vetter wrote:
> Some early bios versions seem to ship with the wrong tuning values for
> the MCH, possible resulting in pipe underruns under load. Especially
> on DP outputs this can lead to black screen, since DP really doesn't
> like an occasional whack from an underrun.
>
> Unfortunately the registers seem to be locked after boot, so the only
> thing we can do is politely point out issues and suggest a BIOS
> upgrade.
>
> Arthur Runyan pointed us at this issue while discussion DP bugs - thus
> far no confirmation from a bug report yet that it helps. But at least
> some of my machines here have wrong values, so this might be useful in
> understanding bug reports.
>
> Cc: Runyan, Arthur J <arthur.j.runyan@intel.com>
> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> ---
> drivers/gpu/drm/i915/i915_reg.h | 8 ++++++++
> drivers/gpu/drm/i915/intel_pm.c | 34 ++++++++++++++++++++++++++++++++++
> 2 files changed, 42 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
> index 8754f91..b3915cf 100644
> --- a/drivers/gpu/drm/i915/i915_reg.h
> +++ b/drivers/gpu/drm/i915/i915_reg.h
> @@ -1235,6 +1235,14 @@
> #define MAD_DIMM_A_SIZE_SHIFT 0
> #define MAD_DIMM_A_SIZE_MASK (0xff << MAD_DIMM_A_SIZE_SHIFT)
>
> +/** snb MCH registers for priority tuning */
> +#define MCH_TC_RFP_C0 (MCHBAR_MIRROR_BASE_SNB + 0x4294)
> +#define MCH_TC_RFP_C1 (MCHBAR_MIRROR_BASE_SNB + 0x4694)
> +#define TC_RFP_OREF_MASK 0xff
> +#define TC_RFP_OREF_VAL 0xff
> +#define MCH_SSKPD (MCHBAR_MIRROR_BASE_SNB + 0x5d10)
> +#define MCH_SSKPD_WM0_MASK 0x3f
> +#define MCH_SSKPD_WM0_VAL 0xc
According to the bug report I'm reading, there are several valid values,
so I think you should do some more work.
[snip]
--
Ben Widawsky, Intel Open Source Technology Center
next prev parent reply other threads:[~2013-02-07 18:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-07 14:23 [PATCH] drm/i915: implement MCH pipe underrun prevention for snb/ivb Daniel Vetter
2013-02-07 18:09 ` Ben Widawsky [this message]
2013-02-09 20:03 ` [PATCH] drm/i915: detect wrong MCH watermark values Daniel Vetter
2013-02-09 20:24 ` Ben Widawsky
2013-02-12 13:44 ` Daniel Vetter
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=20130207180907.GA723@lundgren.nims.intel.com \
--to=ben@bwidawsk.net \
--cc=arthur.j.runyan@intel.com \
--cc=daniel.vetter@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox