Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1346291 > unrolled thread

[PATCH 0/2] drm/vc4: Fixes for Raspberry Pi 3

Started byEric Anholt <eric@anholt.net>
First post2016-03-01 03:00 +0100
Last post2016-03-01 19:30 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/2] drm/vc4: Fixes for Raspberry Pi 3 Eric Anholt <eric@anholt.net> - 2016-03-01 03:00 +0100
    Re: [PATCH 0/2] drm/vc4: Fixes for Raspberry Pi 3 Daniel Stone <daniel@fooishbar.org> - 2016-03-01 19:30 +0100

#1346291 — [PATCH 0/2] drm/vc4: Fixes for Raspberry Pi 3

FromEric Anholt <eric@anholt.net>
Date2016-03-01 03:00 +0100
Subject[PATCH 0/2] drm/vc4: Fixes for Raspberry Pi 3
Message-ID<r7HLr-2tR-3@gated-at.bofh.it>
These are for fixing the vc4 driver on the Pi 3.  Note that patch 2
will also be necessary for fixing HPD on the Pi2, which we've been
carrying downstream patches to work around until now.

Eric Anholt (2):
  drm/vc4: Let gpiolib know that we're OK with sleeping for HPD.
  drm/vc4: Respect GPIO_ACTIVE_LOW on HDMI HPD if set in the devicetree.

 drivers/gpu/drm/vc4/vc4_hdmi.c | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

-- 
2.7.0

[toc] | [next] | [standalone]


#1346856

FromDaniel Stone <daniel@fooishbar.org>
Date2016-03-01 19:30 +0100
Message-ID<r7Xdy-4kR-55@gated-at.bofh.it>
In reply to#1346291
Hi,

On 1 March 2016 at 01:52, Eric Anholt <eric@anholt.net> wrote:
> These are for fixing the vc4 driver on the Pi 3.  Note that patch 2
> will also be necessary for fixing HPD on the Pi2, which we've been
> carrying downstream patches to work around until now.

Indeed. Having cherry-picked 80032d2e61 and added ACTIVE_LOW to the
bcm2836-rpi-2-b DT, I now get HPD reported correctly.

I think it might still need work: on RPi2 again, DDC fails on boot
(the same BCM2835_I2C_S_ERR bit being set, i.e. 'i2c transfer failed:
100'), and does work after a hotplug cycle. But the machine then
immediately hard-hangs - no serial console - after cat
/sys/class/drm/card0-HDMI-A-1/edid.

On the grounds that the VC4 node isn't yet in upstream DT though, and
this _does_ indeed fix HPD:
Tested-by: Daniel Stone <daniels@collabora.com>

Cheers,
Daniel

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web