Skip to contentSkip to conversation

drm-intel-fixes

GIT PULL Daniel Vetter 2 participants 8 messages Sep 10, 2012 – May 22, 2013

lore
Share & tools
lore
#0 lore raw

Hi Dave,

You're pull just reminded me that I've been sitting on a few small -fixes, too. Nothing really major at all:
- fixup edp setup sequence (Dave)
- disable sdvo hotplug for real, this is a fixup for a messed-up regression fixer (Jani)
- don't expose dysfunctional backlight driver (Jani)
- properly init spinlock (only used by hsw/vlv code) from Alexander Shishkin

Wrt regression we have a new case of rc6-no-longer-working (times time it breaks after resume, investigation still going on) and one of the infoframe patches broke a screen on ilk (Paulo is looking into this one already).

Cheers, Daniel

The following changes since commit 4cbe5a555fa58a79b6ecbb6c531b8bab0650778d:

Linux 3.6-rc4 (2012-09-01 10:39:58 -0700)

are available in the git repository at:

git://people.freedesktop.org/~danvet/drm-intel drm-intel-fixes

for you to fetch changes up to 99d0b1db6ccd0c0e554398e8a579ff3dd4d119ee:

drm/i915: initialize dpio_lock spin lock (2012-09-08 19:04:04 +0200)

----------------------------------------------------------------
Alexander Shishkin (1):
drm/i915: initialize dpio_lock spin lock

Dave Airlie (1):
drm/i915/edp: get the panel delay before powering up

Jani Nikula (2):
drm/i915: only enable sdvo hotplug irq if needed
drm/i915: do not expose a dysfunctional backlight interface to userspace

 drivers/gpu/drm/i915/i915_dma.c    |    1 +
 drivers/gpu/drm/i915/intel_dp.c    |   11 +++++++----
 drivers/gpu/drm/i915/intel_panel.c |   31 ++++++++++++++++++++++---------
 drivers/gpu/drm/i915/intel_sdvo.c  |   15 ++++++---------
 4 files changed, 36 insertions(+), 22 deletions(-)
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
#1 lore raw
Quoted 10 lines · Daniel Vetter

Hi Dave,

You're pull just reminded me that I've been sitting on a few small -fixes, too. Nothing really major at all:
- fixup edp setup sequence (Dave)
- disable sdvo hotplug for real, this is a fixup for a messed-up regression fixer (Jani)
- don't expose dysfunctional backlight driver (Jani)
- properly init spinlock (only used by hsw/vlv code) from Alexander Shishkin

Added one more:
- fix a regression in the gen3 pageflip complete irq handling after resume (only affects some configurations, we've forgotten to restore a reg value).

Cheers, Daniel

The following changes since commit 4cbe5a555fa58a79b6ecbb6c531b8bab0650778d:

Linux 3.6-rc4 (2012-09-01 10:39:58 -0700)

are available in the git repository at:

git://people.freedesktop.org/~danvet/drm-intel drm-intel-fixes

for you to fetch changes up to 974a3b0f9f05b748fe11f1afc31efc32aa5160cb:

drm/i915: set the right gen3 flip_done mode also at resume (2012-09-10 21:30:03 +0200)

----------------------------------------------------------------
Alexander Shishkin (1):
drm/i915: initialize dpio_lock spin lock

Daniel Vetter (1):
drm/i915: set the right gen3 flip_done mode also at resume

Dave Airlie (1):
drm/i915/edp: get the panel delay before powering up

Jani Nikula (2):
drm/i915: only enable sdvo hotplug irq if needed
drm/i915: do not expose a dysfunctional backlight interface to userspace

 drivers/gpu/drm/i915/i915_dma.c    |    1 +
 drivers/gpu/drm/i915/i915_irq.c    |    3 ---
 drivers/gpu/drm/i915/intel_dp.c    |   11 +++++++----
 drivers/gpu/drm/i915/intel_panel.c |   31 ++++++++++++++++++++++---------
 drivers/gpu/drm/i915/intel_pm.c    |    3 +++
 drivers/gpu/drm/i915/intel_sdvo.c  |   15 ++++++---------
 6 files changed, 39 insertions(+), 25 deletions(-)
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
#2 lore raw
Quoted 12 lines · Daniel Vetter
Quoted 10 lines · Daniel Vetter

Hi Dave,

You're pull just reminded me that I've been sitting on a few small -fixes, too. Nothing really major at all:
- fixup edp setup sequence (Dave)
- disable sdvo hotplug for real, this is a fixup for a messed-up regression fixer (Jani)
- don't expose dysfunctional backlight driver (Jani)
- properly init spinlock (only used by hsw/vlv code) from Alexander Shishkin

Quoted 4 lines

Added one more:
- fix a regression in the gen3 pageflip complete irq handling after resume (only affects some configurations, we've forgotten to restore a reg value).

And another small patch to shut up an overzealous WARN.

The following changes since commit 4cbe5a555fa58a79b6ecbb6c531b8bab0650778d:

Linux 3.6-rc4 (2012-09-01 10:39:58 -0700)

are available in the git repository at:

git://people.freedesktop.org/~danvet/drm-intel drm-intel-fixes

for you to fetch changes up to 75c5da279e06577190abba52cabf0dc2a56edb97:

drm/i915: fix up the IBX transcoder B check (2012-09-11 17:25:14 +0200)

----------------------------------------------------------------
Alexander Shishkin (1):
drm/i915: initialize dpio_lock spin lock

Daniel Vetter (2):
drm/i915: set the right gen3 flip_done mode also at resume drm/i915: fix up the IBX transcoder B check

Dave Airlie (1):
drm/i915/edp: get the panel delay before powering up

Jani Nikula (2):
drm/i915: only enable sdvo hotplug irq if needed
drm/i915: do not expose a dysfunctional backlight interface to userspace

 drivers/gpu/drm/i915/i915_dma.c      |    1 +
 drivers/gpu/drm/i915/i915_irq.c      |    3 ---
 drivers/gpu/drm/i915/intel_display.c |    6 ++++--
 drivers/gpu/drm/i915/intel_dp.c      |   11 +++++++----
 drivers/gpu/drm/i915/intel_panel.c   |   31 ++++++++++++++++++++++---------
 drivers/gpu/drm/i915/intel_pm.c      |    3 +++
 drivers/gpu/drm/i915/intel_sdvo.c    |   15 ++++++---------
 7 files changed, 43 insertions(+), 27 deletions(-)
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
#3 lore raw
In reply to Daniel Vetter
Quoted 8 lines · Daniel Vetter

Hi Dave,

You're pull just reminded me that I've been sitting on a few small -fixes, too. Nothing really major at all:
- fixup edp setup sequence (Dave)
- disable sdvo hotplug for real, this is a fixup for a messed-up regression fixer (Jani)
- don't expose dysfunctional backlight driver (Jani)

Hi Daniel,

This change ("don't expose dysfunctional backlight driver") regresses the backlight on Chromebooks, where we don't run the vbios.

Stéphane

Quoted 46 lines

- properly init spinlock (only used by hsw/vlv code) from Alexander Shishkin

Wrt regression we have a new case of rc6-no-longer-working (times time it breaks after resume, investigation still going on) and one of the infoframe patches broke a screen on ilk (Paulo is looking into this one already).

Cheers, Daniel

The following changes since commit 4cbe5a555fa58a79b6ecbb6c531b8bab0650778d:

Linux 3.6-rc4 (2012-09-01 10:39:58 -0700)

are available in the git repository at:

git://people.freedesktop.org/~danvet/drm-intel drm-intel-fixes

for you to fetch changes up to 99d0b1db6ccd0c0e554398e8a579ff3dd4d119ee:

drm/i915: initialize dpio_lock spin lock (2012-09-08 19:04:04 +0200)

----------------------------------------------------------------
Alexander Shishkin (1):
drm/i915: initialize dpio_lock spin lock

Dave Airlie (1):
drm/i915/edp: get the panel delay before powering up

Jani Nikula (2):
drm/i915: only enable sdvo hotplug irq if needed
drm/i915: do not expose a dysfunctional backlight interface to userspace

 drivers/gpu/drm/i915/i915_dma.c    |    1 +
 drivers/gpu/drm/i915/intel_dp.c    |   11 +++++++----
 drivers/gpu/drm/i915/intel_panel.c |   31 ++++++++++++++++++++++---------
 drivers/gpu/drm/i915/intel_sdvo.c  |   15 ++++++---------
 4 files changed, 36 insertions(+), 22 deletions(-)

--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
Quoted 10 lines · Stéphane Marchesin
Quoted 8 lines · Daniel Vetter

Hi Dave,

You're pull just reminded me that I've been sitting on a few small -fixes, too. Nothing really major at all:
- fixup edp setup sequence (Dave)
- disable sdvo hotplug for real, this is a fixup for a messed-up regression fixer (Jani)
- don't expose dysfunctional backlight driver (Jani)

Quoted 4 lines

Hi Daniel,

This change ("don't expose dysfunctional backlight driver") regresses the backlight on Chromebooks, where we don't run the vbios.

Presuming the patch works as advertised it only stops publishing an intel backlight driver which won't work. How does that break stuff?

Or do you somehow update the max blc stuff only once i915.ko is loaded?

I'm decently confused how that one blows up ...

Yours, Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

#5 lore raw
Quoted 12 lines · Daniel Vetter
Quoted 10 lines · Stéphane Marchesin
Quoted 8 lines · Daniel Vetter

Hi Dave,

You're pull just reminded me that I've been sitting on a few small -fixes, too. Nothing really major at all:
- fixup edp setup sequence (Dave)
- disable sdvo hotplug for real, this is a fixup for a messed-up regression fixer (Jani)
- don't expose dysfunctional backlight driver (Jani)

Quoted 8 lines
Quoted 4 lines

Hi Daniel,

This change ("don't expose dysfunctional backlight driver") regresses the backlight on Chromebooks, where we don't run the vbios.

Presuming the patch works as advertised it only stops publishing an intel backlight driver which won't work. How does that break stuff?

Well it probably works as advertised to avoid exposing some broken backlight, but the problem is that it also stops exposing a working backlight on Chromebooks. However it sounds like the initial patch is specific to a broken machine, so maybe a dmi match is more appropriate?

Quoted 2 lines

Or do you somehow update the max blc stuff only once i915.ko is loaded?

Yup that's what used to happen.

Stéphane

Quoted 7 lines

I'm decently confused how that one blows up ...

Yours, Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

#6 lore raw
Quoted 22 lines · Stéphane Marchesin
Quoted 12 lines · Daniel Vetter
Quoted 10 lines · Stéphane Marchesin
Quoted 8 lines · Daniel Vetter

Hi Dave,

You're pull just reminded me that I've been sitting on a few small -fixes, too. Nothing really major at all:
- fixup edp setup sequence (Dave)
- disable sdvo hotplug for real, this is a fixup for a messed-up regression fixer (Jani)
- don't expose dysfunctional backlight driver (Jani)

Quoted 8 lines
Quoted 4 lines

Hi Daniel,

This change ("don't expose dysfunctional backlight driver") regresses the backlight on Chromebooks, where we don't run the vbios.

Presuming the patch works as advertised it only stops publishing an intel backlight driver which won't work. How does that break stuff?

Quoted 5 lines

Well it probably works as advertised to avoid exposing some broken backlight, but the problem is that it also stops exposing a working backlight on Chromebooks. However it sounds like the initial patch is specific to a broken machine, so maybe a dmi match is more appropriate?

I prefer a dmi match for chromebooks since the behaviour of fixing up the backlight after i915.ko is loaded seems rather peculiar to your setup.

Quoted 4 lines
Quoted 2 lines

Or do you somehow update the max blc stuff only once i915.ko is loaded?

Yup that's what used to happen.

What/when exactly does that happen?
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

#7 lore raw
Quoted 30 lines · Daniel Vetter
Quoted 22 lines · Stéphane Marchesin
Quoted 12 lines · Daniel Vetter
Quoted 10 lines · Stéphane Marchesin
Quoted 8 lines · Daniel Vetter

Hi Dave,

You're pull just reminded me that I've been sitting on a few small -fixes, too. Nothing really major at all:
- fixup edp setup sequence (Dave)
- disable sdvo hotplug for real, this is a fixup for a messed-up regression fixer (Jani)
- don't expose dysfunctional backlight driver (Jani)

Quoted 8 lines
Quoted 4 lines

Hi Daniel,

This change ("don't expose dysfunctional backlight driver") regresses the backlight on Chromebooks, where we don't run the vbios.

Presuming the patch works as advertised it only stops publishing an intel backlight driver which won't work. How does that break stuff?

Quoted 5 lines

Well it probably works as advertised to avoid exposing some broken backlight, but the problem is that it also stops exposing a working backlight on Chromebooks. However it sounds like the initial patch is specific to a broken machine, so maybe a dmi match is more appropriate?

Quoted 3 lines

I prefer a dmi match for chromebooks since the behaviour of fixing up the backlight after i915.ko is loaded seems rather peculiar to your setup.

It has nothing to do with Chromebooks though, but more with the fact that we don't run vbios. This isn't a property of the hardware.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Or do you somehow update the max blc stuff only once i915.ko is loaded?

Yup that's what used to happen.

What/when exactly does that happen?

Before the regression, the code was:

if (max == 0) {
i915_set_default_max_backlight

which would make it work. And now that doesn't run and therefore it breaks.

Stéphane

Quoted 5 lines

-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch