From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Paulo Zanoni <przanoni@gmail.com>
Cc: intel-gfx@lists.freedesktop.org, Paulo Zanoni <paulo.r.zanoni@intel.com>
Subject: Re: [PATCH 08/11] drm/i915: don't write 0 to DIP control at HDMI init
Date: Thu, 24 May 2012 13:58:52 -0700 [thread overview]
Message-ID: <20120524135852.3d53505b@jbarnes-desktop> (raw)
In-Reply-To: <1337892594-31908-9-git-send-email-przanoni@gmail.com>
On Thu, 24 May 2012 17:49:50 -0300
Paulo Zanoni <przanoni@gmail.com> wrote:
> From: Paulo Zanoni <paulo.r.zanoni@intel.com>
>
> At this time, the HDMI port is enabled, and the DIP control register
> specification says we need to disable the port *before* disabling the
> DIPs. Also, while doing this we risk telling the HW to send the AVI
> DIPs once (not every VSync), which really seems to confuse the HW and
> trigger bugs where the DIPs are not sent.
>
> This code was here just to set the DIP register to a 'known state'
> before using it, but since now the set_infoframes functions already
> set the control registers to a known state, this code can go away.
>
> Also, the previous code disables *all* the DIP registers for *each*
> HDMI port, so we end disabling each DIP register more than once.
>
> This patch solves a problem I can reproduce on my IVB machine. When I
> boot it with just a single HDMI monitor, the AVI InfoFrames are not
> sent. With this patch, the InfoFrames are sent. Previously, I wrote a
> patch to 'touch the DIP registers after we enable the HDMI port' to
> solve this same problem, but that patch doesn't seem to be needed
> anymore after this patch.
>
> All this patch does is revert a chunk of the following commit:
>
> commit 64a8fc0145a1d0fdc25fc9367c2e6c621955fb3b
> Author: Jesse Barnes <jbarnes@virtuousgeek.org>
> Date: Thu Sep 22 11:16:00 2011 +0530
>
> drm/i915: fix ILK+ infoframe support
>
> So bugs that can be bisected to that commit may be fixed now.
>
> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=43256
> Cc: jbarnes@virtuousgeek.org
> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Thanks for tracking down the right disable and enable order on all the
generations Paulo! \o/
--
Jesse Barnes, Intel Open Source Technology Center
next prev parent reply other threads:[~2012-05-24 20:58 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-24 20:49 [PATCH 00/11] More HDMI fixes Paulo Zanoni
2012-05-24 20:49 ` [PATCH 01/11] drm/i915: add set_infoframes to struct intel_hdmi Paulo Zanoni
2012-05-24 23:02 ` Chris Wilson
2012-05-24 20:49 ` [PATCH 02/11] drm/i915: properly alternate between DVI and HDMI Paulo Zanoni
2012-05-24 20:49 ` [PATCH 03/11] drm/i915: only set the HDMI port on the DIP once Paulo Zanoni
2012-05-24 20:49 ` [PATCH 04/11] drm/i915: enable DIP before enabling each InfoFrame Paulo Zanoni
2012-05-24 20:49 ` [PATCH 05/11] drm/i915: don't wait for vblank while writing InfoFrames Paulo Zanoni
2012-05-24 20:49 ` [PATCH 06/11] drm/i915: explicitly disable the DIPs we're not using Paulo Zanoni
2012-05-24 20:49 ` [PATCH 07/11] drm/i915: disable DIP while changing the port Paulo Zanoni
2012-05-24 23:07 ` Chris Wilson
2012-05-24 20:49 ` [PATCH 08/11] drm/i915: don't write 0 to DIP control at HDMI init Paulo Zanoni
2012-05-24 20:58 ` Jesse Barnes [this message]
2012-05-24 20:49 ` [PATCH 09/11] drm/i915: don't set SDVO_BORDER_ENABLE when we're HDMI Paulo Zanoni
2012-05-24 20:49 ` [PATCH 10/11] drm/i915: rename sdvox_reg to hdmi_reg on HDMI context Paulo Zanoni
2012-05-24 20:49 ` [PATCH 11/11] drm/i915: remove comment about HSW HDMI DIPs Paulo Zanoni
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=20120524135852.3d53505b@jbarnes-desktop \
--to=jbarnes@virtuousgeek.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=paulo.r.zanoni@intel.com \
--cc=przanoni@gmail.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.