2012-06-17 07:42:37

by Dave Airlie

[permalink] [raw]
Subject: [git pull] drm-fixes


Hi Linus,

radeon is most of the work, one regression, one BUG fix in the new prime
code, some fixes to init code to make streamout not lock up the hardware,
and just some code to enable users to test HDMI audio on later hw (its off by
default).

Intel adds edp edid caching for some strange Dell Vostros that black
screen on startup if keep reading their EDID, and a fix for a DP
regression.

Otherwise fix for via/sis and one to stop udl binding to multiple
non-video usb.

Dave.

The following changes since commit 9b15b817f3d62409290fd56fe3cbb076a931bb0a:

swap: fix shmem swapping when more than 8 areas (2012-06-15 21:48:14 -0700)

are available in the git repository at:

git://people.freedesktop.org/~airlied/linux drm-fixes

for you to fetch changes up to c4af5c4597a7a5d64e058703e1328f315a59794e:

Merge branch 'drm-intel-fixes' of git://people.freedesktop.org/~danvet/drm-intel into drm-fixes (2012-06-16 14:45:17 +0100)

----------------------------------------------------------------

Alex Deucher (3):
drm/radeon: fix regression in dynpm due to multi-ring rework
drm/radeon: add some additional 6xx/7xx/EG register init
drm/radeon: add support for STRMOUT_BASE_UPDATE on 7xx

Daniel Vetter (2):
drm/i915: eDP aux needs vdd
Revert "drm/i915/dp: Use auxch precharge value of 5 everywhere"

Dave Airlie (3):
drm/udl: only bind to the video devices on the hub.
drm/radeon/prime: reserve/unreserve around pin
Merge branch 'drm-intel-fixes' of git://people.freedesktop.org/~danvet/drm-intel into drm-fixes

Jesse Barnes (2):
drm/i915: don't enumerate HDMID if an eDP panel is already active on the port
drm/i915: cache the EDID for eDP panels

M?rton N?meth (2):
drm via: initialize object_idr
drm sis: initialize object_idr

Rafa? Mi?ecki (1):
drm/radeon: enable HDMI on DCE5 (AKA NI excluding Aruba)

Randy Dunlap (1):
vga_switcheroo.h: fix pci_dev warning

drivers/gpu/drm/i915/intel_display.c | 2 +-
drivers/gpu/drm/i915/intel_dp.c | 60 ++++++++++++++++++++++++----
drivers/gpu/drm/radeon/atombios_encoders.c | 4 +-
drivers/gpu/drm/radeon/evergreen.c | 3 ++
drivers/gpu/drm/radeon/evergreen_hdmi.c | 3 --
drivers/gpu/drm/radeon/evergreend.h | 1 +
drivers/gpu/drm/radeon/ni.c | 5 +++
drivers/gpu/drm/radeon/r600.c | 1 +
drivers/gpu/drm/radeon/r600_audio.c | 2 +-
drivers/gpu/drm/radeon/r600_cs.c | 42 +++++++++++++++++++
drivers/gpu/drm/radeon/r600_hdmi.c | 7 +---
drivers/gpu/drm/radeon/r600d.h | 2 +
drivers/gpu/drm/radeon/radeon_drv.c | 3 +-
drivers/gpu/drm/radeon/radeon_pm.c | 10 +++--
drivers/gpu/drm/radeon/radeon_prime.c | 10 ++++-
drivers/gpu/drm/radeon/rv770.c | 5 ++-
drivers/gpu/drm/radeon/rv770d.h | 3 ++
drivers/gpu/drm/sis/sis_drv.c | 2 +-
drivers/gpu/drm/udl/udl_drv.c | 15 ++++++-
drivers/gpu/drm/via/via_map.c | 3 +-
include/linux/vga_switcheroo.h | 2 +
21 files changed, 156 insertions(+), 29 deletions(-)


2012-06-17 19:44:38

by Daniel Vetter

[permalink] [raw]
Subject: Re: [git pull] drm-fixes

Hi Linus,

This pull also contains the fix for the eDP dmesg noise you've reported
(turned out to be a regression introduced in 3.5). Please yell if you
still see them. The DP regression Dave mentioned is a different bug
introduced in 3.4.

Thanks, Daniel

On Sun, Jun 17, 2012 at 08:42:28AM +0100, Dave Airlie wrote:
> Hi Linus,
>
> radeon is most of the work, one regression, one BUG fix in the new prime
> code, some fixes to init code to make streamout not lock up the hardware,
> and just some code to enable users to test HDMI audio on later hw (its off by
> default).
>
> Intel adds edp edid caching for some strange Dell Vostros that black
> screen on startup if keep reading their EDID, and a fix for a DP
> regression.
>
> Otherwise fix for via/sis and one to stop udl binding to multiple
> non-video usb.
>
> Dave.
>
> The following changes since commit 9b15b817f3d62409290fd56fe3cbb076a931bb0a:
>
> swap: fix shmem swapping when more than 8 areas (2012-06-15 21:48:14 -0700)
>
> are available in the git repository at:
>
> git://people.freedesktop.org/~airlied/linux drm-fixes
>
> for you to fetch changes up to c4af5c4597a7a5d64e058703e1328f315a59794e:
>
> Merge branch 'drm-intel-fixes' of git://people.freedesktop.org/~danvet/drm-intel into drm-fixes (2012-06-16 14:45:17 +0100)
>
> ----------------------------------------------------------------
>
> Alex Deucher (3):
> drm/radeon: fix regression in dynpm due to multi-ring rework
> drm/radeon: add some additional 6xx/7xx/EG register init
> drm/radeon: add support for STRMOUT_BASE_UPDATE on 7xx
>
> Daniel Vetter (2):
> drm/i915: eDP aux needs vdd
> Revert "drm/i915/dp: Use auxch precharge value of 5 everywhere"
>
> Dave Airlie (3):
> drm/udl: only bind to the video devices on the hub.
> drm/radeon/prime: reserve/unreserve around pin
> Merge branch 'drm-intel-fixes' of git://people.freedesktop.org/~danvet/drm-intel into drm-fixes
>
> Jesse Barnes (2):
> drm/i915: don't enumerate HDMID if an eDP panel is already active on the port
> drm/i915: cache the EDID for eDP panels
>
> Márton Németh (2):
> drm via: initialize object_idr
> drm sis: initialize object_idr
>
> Rafał Miłecki (1):
> drm/radeon: enable HDMI on DCE5 (AKA NI excluding Aruba)
>
> Randy Dunlap (1):
> vga_switcheroo.h: fix pci_dev warning
>
> drivers/gpu/drm/i915/intel_display.c | 2 +-
> drivers/gpu/drm/i915/intel_dp.c | 60 ++++++++++++++++++++++++----
> drivers/gpu/drm/radeon/atombios_encoders.c | 4 +-
> drivers/gpu/drm/radeon/evergreen.c | 3 ++
> drivers/gpu/drm/radeon/evergreen_hdmi.c | 3 --
> drivers/gpu/drm/radeon/evergreend.h | 1 +
> drivers/gpu/drm/radeon/ni.c | 5 +++
> drivers/gpu/drm/radeon/r600.c | 1 +
> drivers/gpu/drm/radeon/r600_audio.c | 2 +-
> drivers/gpu/drm/radeon/r600_cs.c | 42 +++++++++++++++++++
> drivers/gpu/drm/radeon/r600_hdmi.c | 7 +---
> drivers/gpu/drm/radeon/r600d.h | 2 +
> drivers/gpu/drm/radeon/radeon_drv.c | 3 +-
> drivers/gpu/drm/radeon/radeon_pm.c | 10 +++--
> drivers/gpu/drm/radeon/radeon_prime.c | 10 ++++-
> drivers/gpu/drm/radeon/rv770.c | 5 ++-
> drivers/gpu/drm/radeon/rv770d.h | 3 ++
> drivers/gpu/drm/sis/sis_drv.c | 2 +-
> drivers/gpu/drm/udl/udl_drv.c | 15 ++++++-
> drivers/gpu/drm/via/via_map.c | 3 +-
> include/linux/vga_switcheroo.h | 2 +
> 21 files changed, 156 insertions(+), 29 deletions(-)

> _______________________________________________
> dri-devel mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


--
Daniel Vetter
Mail: [email protected]
Mobile: +41 (0)79 365 57 48

2012-06-19 14:08:33

by Jörg-Volker Peetz

[permalink] [raw]
Subject: regression with dynpm [was: [git pull] drm-fixes]

Dave Airlie wrote, on 06/17/12 09:42:
>
> Hi Linus,
>
> radeon is most of the work, one regression, one BUG fix in the new prime
> code, some fixes to init code to make streamout not lock up the hardware,
> and just some code to enable users to test HDMI audio on later hw (its off by
> default).
>
> Intel adds edp edid caching for some strange Dell Vostros that black
> screen on startup if keep reading their EDID, and a fix for a DP
> regression.
>
> Otherwise fix for via/sis and one to stop udl binding to multiple
> non-video usb.
>
> Dave.
>
> The following changes since commit 9b15b817f3d62409290fd56fe3cbb076a931bb0a:
>
> swap: fix shmem swapping when more than 8 areas (2012-06-15 21:48:14 -0700)
>
> are available in the git repository at:
>
> git://people.freedesktop.org/~airlied/linux drm-fixes
>
> for you to fetch changes up to c4af5c4597a7a5d64e058703e1328f315a59794e:
>
> Merge branch 'drm-intel-fixes' of git://people.freedesktop.org/~danvet/drm-intel into drm-fixes (2012-06-16 14:45:17 +0100)
>
> ----------------------------------------------------------------
>
> Alex Deucher (3):
> drm/radeon: fix regression in dynpm due to multi-ring rework
> drm/radeon: add some additional 6xx/7xx/EG register init
> drm/radeon: add support for STRMOUT_BASE_UPDATE on 7xx
>

Hello Dave,

on my HP Pavilion dv7 there is still with 3.5-rc3 a severe problem with the
dynpm option. After booting, the machine freezes (hard-lock) when trying to
switch to dynamic power mangement on the integrated GPU via

echo -n dynpm > /sys/class/drm/card0/device/power_method

at least two trace calls are done. On the console only the last two lines of one
call trace and the last one are visible (machine is frozen). Debugfs is not
mounted. On demand I can deliver further information.
The system has two AMD-GPU (Mobility Radeon HD 4200, HD 5400) and vga_switcheroo
is built into the kernel.

--
Best regards,
J?rg-Volker.

2012-06-19 14:10:56

by Jörg-Volker Peetz

[permalink] [raw]
Subject: regression with dynpm [was: [git pull] drm-fixes]

Dave Airlie wrote, on 06/17/12 09:42:
>
> Hi Linus,
>
> radeon is most of the work, one regression, one BUG fix in the new prime
> code, some fixes to init code to make streamout not lock up the hardware,
> and just some code to enable users to test HDMI audio on later hw (its off by
> default).
>
> Intel adds edp edid caching for some strange Dell Vostros that black
> screen on startup if keep reading their EDID, and a fix for a DP
> regression.
>
> Otherwise fix for via/sis and one to stop udl binding to multiple
> non-video usb.
>
> Dave.
>
> The following changes since commit 9b15b817f3d62409290fd56fe3cbb076a931bb0a:
>
> swap: fix shmem swapping when more than 8 areas (2012-06-15 21:48:14 -0700)
>
> are available in the git repository at:
>
> git://people.freedesktop.org/~airlied/linux drm-fixes
>
> for you to fetch changes up to c4af5c4597a7a5d64e058703e1328f315a59794e:
>
> Merge branch 'drm-intel-fixes' of git://people.freedesktop.org/~danvet/drm-intel into drm-fixes (2012-06-16 14:45:17 +0100)
>
> ----------------------------------------------------------------
>
> Alex Deucher (3):
> drm/radeon: fix regression in dynpm due to multi-ring rework
> drm/radeon: add some additional 6xx/7xx/EG register init
> drm/radeon: add support for STRMOUT_BASE_UPDATE on 7xx
>

Hello Dave,

on my HP Pavilion dv7 there is still with 3.5-rc3 a severe problem with the
dynpm option. After booting, the machine freezes (hard-lock) when trying to
switch to dynamic power mangement on the integrated GPU via

echo -n dynpm > /sys/class/drm/card0/device/power_method

at least two trace calls are done. On the console only the last two lines of one
call trace and the last one are visible (machine is frozen). Debugfs is not
mounted. Please find appended my kernel .config, on demand I can deliver further
information.
The system has two AMD-GPU (Mobility Radeon HD 4200, HD 5400) and vga_switcheroo
is built into the kernel.

--
Best regards,
J?rg-Volker.


Attachments:
config-3.5.0-rc3 (63.86 kB)

2012-06-19 14:11:50

by Dave Airlie

[permalink] [raw]
Subject: Re: regression with dynpm [was: [git pull] drm-fixes]

On Tue, Jun 19, 2012 at 3:08 PM, J?rg-Volker Peetz <[email protected]> wrote:
> Dave Airlie wrote, on 06/17/12 09:42:
>>
>> Hi Linus,
>>
>> radeon is most of the work, one regression, one BUG fix in the new prime
>> code, some fixes to init code to make streamout not lock up the hardware,
>> and just some code to enable users to test HDMI audio on later hw (its off by
>> default).
>>
>> Intel adds edp edid caching for some strange Dell Vostros that black
>> screen on startup if keep reading their EDID, and a fix for a DP
>> regression.
>>
>> Otherwise fix for via/sis and one to stop udl binding to multiple
>> non-video usb.
>>
>> Dave.
>>
>> The following changes since commit 9b15b817f3d62409290fd56fe3cbb076a931bb0a:
>>
>> ? swap: fix shmem swapping when more than 8 areas (2012-06-15 21:48:14 -0700)
>>
>> are available in the git repository at:
>>
>> ? git://people.freedesktop.org/~airlied/linux drm-fixes
>>
>> for you to fetch changes up to c4af5c4597a7a5d64e058703e1328f315a59794e:
>>
>> ? Merge branch 'drm-intel-fixes' of git://people.freedesktop.org/~danvet/drm-intel into drm-fixes (2012-06-16 14:45:17 +0100)
>>
>> ----------------------------------------------------------------
>>
>> Alex Deucher (3):
>> ? ? ? drm/radeon: fix regression in dynpm due to multi-ring rework
>> ? ? ? drm/radeon: add some additional 6xx/7xx/EG register init
>> ? ? ? drm/radeon: add support for STRMOUT_BASE_UPDATE on 7xx
>>
>
> Hello Dave,
>
> on my HP Pavilion dv7 there is still with 3.5-rc3 a severe problem with the
> dynpm option. After booting, the machine freezes (hard-lock) when trying to
> switch to dynamic power mangement on the integrated GPU via
>

These fixes went in after -rc3, so make sure you have them.

Dave.

2012-06-20 09:42:17

by Jörg-Volker Peetz

[permalink] [raw]
Subject: Re: regression with dynpm [was: [git pull] drm-fixes]

Dave Airlie wrote, on 06/19/12 16:11:
> On Tue, Jun 19, 2012 at 3:08 PM, J?rg-Volker Peetz <[email protected]> wrote:
>> Dave Airlie wrote, on 06/17/12 09:42:
>>>
>>> Hi Linus,
>>>
>>> radeon is most of the work, one regression, one BUG fix in the new prime
>>> code, some fixes to init code to make streamout not lock up the hardware,
>>> and just some code to enable users to test HDMI audio on later hw (its off by
>>> default).
>>>
>>> Intel adds edp edid caching for some strange Dell Vostros that black
>>> screen on startup if keep reading their EDID, and a fix for a DP
>>> regression.
>>>
>>> Otherwise fix for via/sis and one to stop udl binding to multiple
>>> non-video usb.
>>>
>>> Dave.
>>>
>>> The following changes since commit 9b15b817f3d62409290fd56fe3cbb076a931bb0a:
>>>
>>> swap: fix shmem swapping when more than 8 areas (2012-06-15 21:48:14 -0700)
>>>
>>> are available in the git repository at:
>>>
>>> git://people.freedesktop.org/~airlied/linux drm-fixes
>>>
>>> for you to fetch changes up to c4af5c4597a7a5d64e058703e1328f315a59794e:
>>>
>>> Merge branch 'drm-intel-fixes' of git://people.freedesktop.org/~danvet/drm-intel into drm-fixes (2012-06-16 14:45:17 +0100)
>>>
>>> ----------------------------------------------------------------
>>>
>>> Alex Deucher (3):
>>> drm/radeon: fix regression in dynpm due to multi-ring rework
>>> drm/radeon: add some additional 6xx/7xx/EG register init
>>> drm/radeon: add support for STRMOUT_BASE_UPDATE on 7xx
>>>
>>
>> Hello Dave,
>>
>> on my HP Pavilion dv7 there is still with 3.5-rc3 a severe problem with the
>> dynpm option. After booting, the machine freezes (hard-lock) when trying to
>> switch to dynamic power mangement on the integrated GPU via
>>
>
> These fixes went in after -rc3, so make sure you have them.
>
> Dave.

Hi Dave,

indeed, with this fix from Alex (drm/radeon: fix regression in dynpm due to
multi-ring rework) on top of 3.5-rc3, dynpm is working again on the HP Pavilion dv7.
Thanks for your caring.

--
Best regards,
J?rg-Volker.