public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: mx6 hdmi resolution behaviour
Date: Tue, 23 Jun 2015 21:58:37 +0100	[thread overview]
Message-ID: <20150623205837.GE7557@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <CAOMZO5CkxjtH7ZnOcbDWdwwwHH4xT4UhXXWpA3O9afbP9XRBaQ@mail.gmail.com>

On Tue, Jun 23, 2015 at 05:48:51PM -0300, Fabio Estevam wrote:
> On Tue, Jun 23, 2015 at 5:41 PM, Russell King - ARM Linux
> <linux@arm.linux.org.uk> wrote:
> 
> > I've just tried this (the HBi1 was booted previously with the HDMI socket
> > disconnected).  Just now, I turned the TV on, and then connected it to
> > the HDMI.
> 
> Thanks for testing it.
> 
> > The TV reported a resolution of 1024x768, and the kernel log was silent.
> 
> That's the point that makes me confused: shouldn't it report a higher
> resolution like 1080p?

No - it won't go higher than the initial mode that was set.  See
drm_fb_helper_hotplug_event():

        max_width = fb_helper->fb->width;
        max_height = fb_helper->fb->height;

        drm_fb_helper_probe_connector_modes(fb_helper, max_width, max_height);

This calls connector->funcs->fill_modes with the max width/height,
which calls down into drm_helper_probe_single_connector_modes_merge_bits()
and there's limitations in there which means that we won't try to
increase the size of the framebuffer.

You do get that behaviour if you have the X server running, and that's
all down to the X server itself doing that (reacting to the hotplug
event which DRM generates.)

-- 
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.

  reply	other threads:[~2015-06-23 20:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-23 16:41 mx6 hdmi resolution behaviour Fabio Estevam
2015-06-23 16:44 ` Russell King - ARM Linux
2015-06-23 16:52   ` Fabio Estevam
2015-06-23 20:41     ` Russell King - ARM Linux
2015-06-23 20:48       ` Fabio Estevam
2015-06-23 20:58         ` Russell King - ARM Linux [this message]
2015-06-23 21:26           ` Daniel Vetter
2015-06-23 22:04           ` Fabio Estevam

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=20150623205837.GE7557@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=linux-arm-kernel@lists.infradead.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