From: Russell King - ARM Linux <linux@arm.linux.org.uk>
To: Doug Anderson <dianders@chromium.org>
Cc: Philipp Zabel <p.zabel@pengutronix.de>,
Thierry Reding <treding@nvidia.com>,
Heiko Stuebner <heiko@sntech.de>, David Airlie <airlied@linux.ie>,
Andy Yan <andy.yan@rock-chips.com>,
Yakir Yang <ykk@rock-chips.com>,
Fabio Estevam <fabio.estevam@freescale.com>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] drm: bridge/dw_hdmi: Filter modes > 165MHz for DVI
Date: Thu, 18 Jun 2015 16:55:45 +0100 [thread overview]
Message-ID: <20150618155545.GQ7557@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <CAD=FV=UHaUysAt3BGNXm3ULkfEJSSCsxPjDa4ZSJ4V42sSth_g@mail.gmail.com>
On Thu, Jun 18, 2015 at 08:26:39AM -0700, Doug Anderson wrote:
> Russell,
>
> On Thu, Jun 18, 2015 at 1:53 AM, Russell King - ARM Linux
> <linux@arm.linux.org.uk> wrote:
> >> OK, so clearly my patch won't work against mainline. I guess it's a
> >> good thing that I pointed out that it was only tested locally (would
> >> have been better to test against mainline, but I don't think that's so
> >> easy since there are several unlanded patches in mainline for
> >> Rockchip).
> >
> > As far as I'm aware, Freescale's original BSP version was the same, as is
> > their later BSPs, and Jon's maintained 3.14-stable kernel.
>
> Was "the same"? You mean was untested, or was 3.14?
I'm saying that the mdvi thing behaves the same in all the kernel sources
I've seen of this driver, and I'm unaware of anything that changes it -
and I've been looking at Jon's 3.14-stable kernels as well as Freescale's
git repository.
> >> As pointed out by others at <http://crosreview.com/278255>, locally
> >> our kernel has a slightly older version of
> >> <https://lkml.org/lkml/2015/2/28/291>, which would change mdvi to be
> >> as needed.
> >
> > Please don't post unreliable lkml.org URLs, please use some other archive
> > site. I can't access this URL at the moment.
>
> Perhaps you can try <https://patchwork.kernel.org/patch/5906771/>
Something like that needs to be done, but let's get rid of the mdvi
thing in struct hdmi_vmode - it doesn't belong there, it isn't part
of the currently set video mode, but becomes a property of the
connected sink.
I'd also prefer it to be called "is_dvi_sink", especially as its
function is changing from "is it a CEA mode" to "is the attached
device a DVI sink".
Even better would be to call it "is_hdmi_sink" to maintain positive
logic with single-negation where required, rather than double-
negation in places.
> >> ...so I guess my change is blocked on someone reviewing/landing that
> >> series. If that series is rejected (or is changed sufficiently so
> >> that mdvi no longer is set via drm_detect_hdmi_monitor() then my patch
> >> will need to be re-spun.
> >
> > That's not what I said. I said mdvi is set according to whether the mode
> > being set is a CEA mode or not.
>
> Perhaps now that you can access the patch with the patchwork link you
> can re-read my email. If/when that patch lands then mdvi _will_ be
> set as per drm_detect_hdmi_monitor().
Well, I object to that patch (see above.)
> I am nowhere near an HDMI expert. If you have a better suggestion
> then I'm more than happy for you to post it and drop my patch. In my
> non-expert opinion, it would seem awfully strange for an AV receiver
> to modify the EDID though unless it was actively interpreting the
> signal and generating a whole new signal on the other end. In any
> case, perhaps you can find such a device and that will give insight to
> how we should deal with it. Until such a device is found, it seems
> fruitless to speculate.
Neither am I, but I have had the ability to do some testing with AV
receivers in the path of a HDMI device, and I've seen how they behave.
(I made copious notes on this, which I intend to publish when I have
a round tuit.) Unfortunately, I have no DVI devices to test with,
and DVI devices are a dying breed - most monitors today come with
HDMI sockets instead.
> Personally, I was pointed at "drivers/gpu/drm/i915/intel_hdmi.c". If
> you look there you will find a similar bit of code.
Yea, I've also been using that for inspiration too, but I put personal
testing above what's in someone elses driver. :)
> To summarize: I am not planning to spin my patch. I am hopeful that
> folks could review Yakir's series. Would it help if he re-sent it
> with different people in the "To" line?
That's a shame... I'm not inclined to Ack it as-is - and I'd also like
to see Yakir's patch reworked as I mentioned above.
--
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
next prev parent reply other threads:[~2015-06-18 15:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-17 23:14 Doug Anderson
2015-06-17 23:30 ` Russell King - ARM Linux
2015-06-18 2:52 ` Doug Anderson
2015-06-18 8:53 ` Russell King - ARM Linux
2015-06-18 15:26 ` Doug Anderson
2015-06-18 15:55 ` Russell King - ARM Linux [this message]
2015-06-18 16:09 ` Russell King - ARM Linux
2015-06-18 16:22 ` Doug Anderson
2015-06-18 16:10 ` Doug Anderson
2015-06-19 1:31 ` Yakir Yang
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=20150618155545.GQ7557@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=airlied@linux.ie \
--cc=andy.yan@rock-chips.com \
--cc=dianders@chromium.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=fabio.estevam@freescale.com \
--cc=heiko@sntech.de \
--cc=linux-kernel@vger.kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=treding@nvidia.com \
--cc=ykk@rock-chips.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
Powered by JetHome