[pull] radeon drm-fixes-3.15

2014-06-02 Thread Christian König
Hi Dave,

since Linus delayed the release of 3.15 a bit more it gives me the 
opportunity to submit three more patches that otherwise would have 
needed a Cc stable in 3.16.

The first one is a one liner fixing a stupid typo in the VM handling 
code and is only relevant if play with one of the VM defines.

The other two switches CIK to use the CPDMA instead of the SDMA for 
buffer moves, as it turned out the SDMA is still sometimes not 100% 
reliable.

The following changes since commit ba6f582606655754d9dfbfc9dffe75dcf806f1dd:

   drm/crtc-helper: skip locking checks in panicking path (2014-06-02 
13:36:52 +1000)

are available in the git repository at:

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

for you to fetch changes up to 91b0275c0ecd1870c5f8bfb73e2da2d6c29414b3:

   drm/radeon: use the CP DMA on CIK (2014-06-02 10:57:04 +0200)


Christian K?nig (3):
   drm/radeon: fix vm buffer size estimation
   drm/radeon: sync page table updates
   drm/radeon: use the CP DMA on CIK

  drivers/gpu/drm/radeon/radeon_asic.c |  4 ++--
  drivers/gpu/drm/radeon/radeon_vm.c   | 11 ---
  2 files changed, 10 insertions(+), 5 deletions(-)


[pull] radeon drm-fixes-3.15

2014-05-30 Thread Christian König
Hi Dave,

this is the next pull request for stashed up radeon fixes for 3.15. This 
is finally calming down with only four patches in this pull request.

The following changes since commit efb27e73e12633a24dfdc67b8a6a58c4b427f3e4:

   Merge tag 'drm-intel-fixes-2014-05-27' of 
git://anongit.freedesktop.org/drm-intel into drm-fixes (2014-05-28 
09:18:32 +1000)

are available in the git repository at:


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

for you to fetch changes up to bde1d0aa10e861cea6e992d37319212ba2b15386:

   drm/radeon: only allocate necessary size for vm bo list (2014-05-30 
14:14:16 +0200)


Christian K?nig (3):
   drm/radeon: lower the ref * post PLL maximum once more
   drm/radeon: avoid crash if VM command submission isn't available
   drm/radeon: only allocate necessary size for vm bo list

Marek Ol??k (1):
   drm/radeon: don't allow RADEON_GEM_DOMAIN_CPU for command submission

  drivers/gpu/drm/radeon/radeon_cs.c  | 21 +
  drivers/gpu/drm/radeon/radeon_display.c |  2 +-
  drivers/gpu/drm/radeon/radeon_vm.c  |  6 +++---
  3 files changed, 21 insertions(+), 8 deletions(-)



*** GMX Spamverdacht *** Re: [pull] radeon drm-fixes-3.15

2014-05-26 Thread Malte Schröder
On 26.05.2014 09:39, Christian K?nig wrote:
> Am 26.05.2014 09:12, schrieb Malte Schr?der:
>> On 20.05.2014 15:14, Christian K?nig wrote:
>>> Hi Dave,
>>>
>>> by your request I've removed Alex's I2C mutex patch from the branch. I
>>> would like to keep the VCE patch, cause it actually fixed a serious bug
>>> for me, but I've fixed the formal error of the missing Signed-off-by
>>> line.
>>>
>>> Additional to that we have two new fixes from Jerome and Alex, both are
>>> CC stable as well so important enough for 3.15.
>>>
>>> So this is the resend pull of stashed up radeon fixes for 3.15.
>>> Highlights are:
>>> 1. Avoid sending SIGBUS on CPU access just because kernel can't handle
>>> buffer placement.
>>> 2. Some fixes for VM page table updates and buffer placements.
>>> 3. Fixing two typos in the PLL and SI register spec.
>>> 4. Checking VCE buffers ranges.
>>> 5. Mullins and non-VGA pci class fixes.
>>> 6. A PX power management fix.
>>> 7. Fix for a crash if acceleration fails to initialize.
>>>
>>> The following changes since commit
>>> 4ba4801d73d14690ed15774424e8b1d4c18323a5:
>>>
>>>Merge tag 'drm-intel-fixes-2014-05-16' of
>>> git://anongit.freedesktop.org/drm-intel into drm-fixes (2014-05-20
>>> 09:56:26 +1000)
>>>
>>> are available in the git repository at:
>>>
>>>
>>>git://people.freedesktop.org/~deathsimple/linux drm-fixes-3.15
>>>
>>> for you to fetch changes up to 4f2f203976964e267dc477de6648bdb3acd2b74b:
>>>
>>>drm/radeon/pm: don't allow debugfs/sysfs access when PX card is off
>>> (v2) (2014-05-20 14:42:08 +0200)
>>>
>> I've pulled above and it fixes a suspend to RAM issue I've been seeing
>> in 3.15-rc. Short description of the problem:
>>
>> On wakeup all seems fine, i.e. hd starts to spin an USB-stuff wakes up.
>> But all I get from the graphics card is a white screen slowly filling
>> with random colored pixels. I had to hard reset the system.
>>
>> GMane seems to be broken currently so I can't post  a link to my
>> original report.
> 
> Hi Malte,
> 
> what hardware do you have?
> 
> It's most likely the VM page table update fix, cause that one fixed
> similar problems for other people, but it only applies for SI and CIK
> hardware generations.

Hi, it's a 7970-GHZ-edition, Tahiti XT. So it applies.
I just tried v3.15-rc7 and the problem seems to be fixed there as well.

> 
> Good to hear that it is fixed now,
> Christian.
> 
>> Regards
>> Malte
>>
> 


-- 
Gru?
Malte Schr?der
-
MalteSch at gmx.de

-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: 



[pull] radeon drm-fixes-3.15

2014-05-26 Thread Christian König
Am 26.05.2014 09:12, schrieb Malte Schr?der:
> On 20.05.2014 15:14, Christian K?nig wrote:
>> Hi Dave,
>>
>> by your request I've removed Alex's I2C mutex patch from the branch. I
>> would like to keep the VCE patch, cause it actually fixed a serious bug
>> for me, but I've fixed the formal error of the missing Signed-off-by line.
>>
>> Additional to that we have two new fixes from Jerome and Alex, both are
>> CC stable as well so important enough for 3.15.
>>
>> So this is the resend pull of stashed up radeon fixes for 3.15.
>> Highlights are:
>> 1. Avoid sending SIGBUS on CPU access just because kernel can't handle
>> buffer placement.
>> 2. Some fixes for VM page table updates and buffer placements.
>> 3. Fixing two typos in the PLL and SI register spec.
>> 4. Checking VCE buffers ranges.
>> 5. Mullins and non-VGA pci class fixes.
>> 6. A PX power management fix.
>> 7. Fix for a crash if acceleration fails to initialize.
>>
>> The following changes since commit
>> 4ba4801d73d14690ed15774424e8b1d4c18323a5:
>>
>>Merge tag 'drm-intel-fixes-2014-05-16' of
>> git://anongit.freedesktop.org/drm-intel into drm-fixes (2014-05-20
>> 09:56:26 +1000)
>>
>> are available in the git repository at:
>>
>>
>>git://people.freedesktop.org/~deathsimple/linux drm-fixes-3.15
>>
>> for you to fetch changes up to 4f2f203976964e267dc477de6648bdb3acd2b74b:
>>
>>drm/radeon/pm: don't allow debugfs/sysfs access when PX card is off
>> (v2) (2014-05-20 14:42:08 +0200)
>>
> I've pulled above and it fixes a suspend to RAM issue I've been seeing
> in 3.15-rc. Short description of the problem:
>
> On wakeup all seems fine, i.e. hd starts to spin an USB-stuff wakes up.
> But all I get from the graphics card is a white screen slowly filling
> with random colored pixels. I had to hard reset the system.
>
> GMane seems to be broken currently so I can't post  a link to my
> original report.

Hi Malte,

what hardware do you have?

It's most likely the VM page table update fix, cause that one fixed 
similar problems for other people, but it only applies for SI and CIK 
hardware generations.

Good to hear that it is fixed now,
Christian.

> Regards
> Malte
>



[pull] radeon drm-fixes-3.15

2014-05-26 Thread Malte Schröder
On 20.05.2014 15:14, Christian K?nig wrote:
> Hi Dave,
> 
> by your request I've removed Alex's I2C mutex patch from the branch. I
> would like to keep the VCE patch, cause it actually fixed a serious bug
> for me, but I've fixed the formal error of the missing Signed-off-by line.
> 
> Additional to that we have two new fixes from Jerome and Alex, both are
> CC stable as well so important enough for 3.15.
> 
> So this is the resend pull of stashed up radeon fixes for 3.15.
> Highlights are:
> 1. Avoid sending SIGBUS on CPU access just because kernel can't handle
> buffer placement.
> 2. Some fixes for VM page table updates and buffer placements.
> 3. Fixing two typos in the PLL and SI register spec.
> 4. Checking VCE buffers ranges.
> 5. Mullins and non-VGA pci class fixes.
> 6. A PX power management fix.
> 7. Fix for a crash if acceleration fails to initialize.
> 
> The following changes since commit
> 4ba4801d73d14690ed15774424e8b1d4c18323a5:
> 
>   Merge tag 'drm-intel-fixes-2014-05-16' of
> git://anongit.freedesktop.org/drm-intel into drm-fixes (2014-05-20
> 09:56:26 +1000)
> 
> are available in the git repository at:
> 
> 
>   git://people.freedesktop.org/~deathsimple/linux drm-fixes-3.15
> 
> for you to fetch changes up to 4f2f203976964e267dc477de6648bdb3acd2b74b:
> 
>   drm/radeon/pm: don't allow debugfs/sysfs access when PX card is off
> (v2) (2014-05-20 14:42:08 +0200)
> 

I've pulled above and it fixes a suspend to RAM issue I've been seeing
in 3.15-rc. Short description of the problem:

On wakeup all seems fine, i.e. hd starts to spin an USB-stuff wakes up.
But all I get from the graphics card is a white screen slowly filling
with random colored pixels. I had to hard reset the system.

GMane seems to be broken currently so I can't post  a link to my
original report.

Regards
Malte

-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: 



[pull] radeon drm-fixes-3.15

2014-05-20 Thread Christian König
Hi Dave,

by your request I've removed Alex's I2C mutex patch from the branch. I 
would like to keep the VCE patch, cause it actually fixed a serious bug 
for me, but I've fixed the formal error of the missing Signed-off-by line.

Additional to that we have two new fixes from Jerome and Alex, both are 
CC stable as well so important enough for 3.15.

So this is the resend pull of stashed up radeon fixes for 3.15. 
Highlights are:
1. Avoid sending SIGBUS on CPU access just because kernel can't handle 
buffer placement.
2. Some fixes for VM page table updates and buffer placements.
3. Fixing two typos in the PLL and SI register spec.
4. Checking VCE buffers ranges.
5. Mullins and non-VGA pci class fixes.
6. A PX power management fix.
7. Fix for a crash if acceleration fails to initialize.

The following changes since commit 4ba4801d73d14690ed15774424e8b1d4c18323a5:

   Merge tag 'drm-intel-fixes-2014-05-16' of 
git://anongit.freedesktop.org/drm-intel into drm-fixes (2014-05-20 
09:56:26 +1000)

are available in the git repository at:


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

for you to fetch changes up to 4f2f203976964e267dc477de6648bdb3acd2b74b:

   drm/radeon/pm: don't allow debugfs/sysfs access when PX card is off 
(v2) (2014-05-20 14:42:08 +0200)


Alex Deucher (4):
   drm/radeon: fix DCE83 check for mullins
   drm/radeon: handle non-VGA class pci devices with ATRM
   drm/radeon: fix register typo on si
   drm/radeon/pm: don't allow debugfs/sysfs access when PX card is 
off (v2)

Christian K?nig (4):
   drm/radeon: also try GART for CPU accessed buffers
   drm/radeon: fix page directory update size estimation
   drm/radeon: fix buffer placement under memory pressure v2
   drm/radeon: fix typo in finding PLL params

J?r?me Glisse (1):
   drm/radeon: avoid segfault on device open when accel is not working.

Leo Liu (1):
   drm/radeon: check VCE relocation buffer range v3

  drivers/gpu/drm/radeon/radeon.h |   6 +++--
  drivers/gpu/drm/radeon/radeon_bios.c|  14 +++
  drivers/gpu/drm/radeon/radeon_display.c |   2 +-
  drivers/gpu/drm/radeon/radeon_kms.c |  55 
+
  drivers/gpu/drm/radeon/radeon_object.c  |  40 
++
  drivers/gpu/drm/radeon/radeon_pm.c  |  42 
+++-
  drivers/gpu/drm/radeon/radeon_vce.c | 130 
++---
  drivers/gpu/drm/radeon/radeon_vm.c  |   2 +-
  drivers/gpu/drm/radeon/sid.h|   4 +--
  9 files changed, 216 insertions(+), 79 deletions(-)



[pull] radeon drm-fixes-3.15

2014-05-19 Thread Deucher, Alexander
> -Original Message-
> From: Koenig, Christian
> Sent: Monday, May 19, 2014 4:50 AM
> To: Dave Airlie
> Cc: Deucher, Alexander; dri-devel at lists.freedesktop.org
> Subject: Re: [pull] radeon drm-fixes-3.15
> 
> Am 19.05.2014 01:04, schrieb Dave Airlie:
> > On 16 May 2014 23:54, Christian K?nig  wrote:
> >> Hi Dave,
> >>
> >> this is the next pull quested for stashed up radeon fixes for 3.15.
> >>
> >> Highlights are:
> >> 1. Avoid sending SIGBUS on CPU access just because kernel can't handle
> >> buffer placement.
> >> 2. Some fixes for VM page table updates and buffer placements.
> >> 3. Fixing two typos in the PLL and SI register spec.
> >> 4. Checking VCE buffers ranges.
> >> 5. Adding a mutex for I2C access.
> >> 6. Mullins and non-VGA pci class fixes from Alex.
> > This is starting to feel a bit large, we should be in regression
> > fixing, oopses and black screens at this point,
> >
> > The main ones I'm concerned about are the VCE buffer ranges and i2c
> > mutex, whether these fix known problems or issues,
> 
> For the VCE buffer range checks that fixed a lockup I experienced while
> working on the userspace driver (VCE writing over the end of a buffer
> into an shader, GPU then trying to execute the messed up shader
> code...). Apart from that VCE is a new feature for 3.15 so we can't
> really break it compared to 3.14.
> 
> I can't judge on the I2C mutex since that was Alex suggestion and I'm
> not sure how invasive and/or necessary this is.

The i2c mutex can wait for 3.16 if need be.  I don't know of any actual bugs it 
fixes.

Alex

> 
> Regards,
> Christian.
> 
> >
> > Dave.



[pull] radeon drm-fixes-3.15

2014-05-19 Thread Christian König
Am 19.05.2014 01:04, schrieb Dave Airlie:
> On 16 May 2014 23:54, Christian K?nig  wrote:
>> Hi Dave,
>>
>> this is the next pull quested for stashed up radeon fixes for 3.15.
>>
>> Highlights are:
>> 1. Avoid sending SIGBUS on CPU access just because kernel can't handle
>> buffer placement.
>> 2. Some fixes for VM page table updates and buffer placements.
>> 3. Fixing two typos in the PLL and SI register spec.
>> 4. Checking VCE buffers ranges.
>> 5. Adding a mutex for I2C access.
>> 6. Mullins and non-VGA pci class fixes from Alex.
> This is starting to feel a bit large, we should be in regression
> fixing, oopses and black screens at this point,
>
> The main ones I'm concerned about are the VCE buffer ranges and i2c
> mutex, whether these fix known problems or issues,

For the VCE buffer range checks that fixed a lockup I experienced while 
working on the userspace driver (VCE writing over the end of a buffer 
into an shader, GPU then trying to execute the messed up shader 
code...). Apart from that VCE is a new feature for 3.15 so we can't 
really break it compared to 3.14.

I can't judge on the I2C mutex since that was Alex suggestion and I'm 
not sure how invasive and/or necessary this is.

Regards,
Christian.

>
> Dave.



[pull] radeon drm-fixes-3.15

2014-05-19 Thread Dave Airlie
On 16 May 2014 23:54, Christian K?nig  wrote:
> Hi Dave,
>
> this is the next pull quested for stashed up radeon fixes for 3.15.
>
> Highlights are:
> 1. Avoid sending SIGBUS on CPU access just because kernel can't handle
> buffer placement.
> 2. Some fixes for VM page table updates and buffer placements.
> 3. Fixing two typos in the PLL and SI register spec.
> 4. Checking VCE buffers ranges.
> 5. Adding a mutex for I2C access.
> 6. Mullins and non-VGA pci class fixes from Alex.

This is starting to feel a bit large, we should be in regression
fixing, oopses and black screens at this point,

The main ones I'm concerned about are the VCE buffer ranges and i2c
mutex, whether these fix known problems or issues,

Dave.


[pull] radeon drm-fixes-3.15

2014-05-16 Thread Christian König
Hi Dave,

this is the next pull quested for stashed up radeon fixes for 3.15.

Highlights are:
1. Avoid sending SIGBUS on CPU access just because kernel can't handle 
buffer placement.
2. Some fixes for VM page table updates and buffer placements.
3. Fixing two typos in the PLL and SI register spec.
4. Checking VCE buffers ranges.
5. Adding a mutex for I2C access.
6. Mullins and non-VGA pci class fixes from Alex.

The following changes since commit 995c376e89992e756cf844b86209eb4ceb5ebe27:

   Merge branch 'mullins' of 
git://people.freedesktop.org/~deathsimple/linux into drm-fixes 
(2014-05-07 09:10:28 +1000)

are available in the git repository at:


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

for you to fetch changes up to bae4460e9153a728920ce6b13103f62e76f97cb2:

   drm/radeon: fix typo in finding PLL params (2014-05-14 11:45:45 +0200)


Alex Deucher (4):
   drm/radeon: add a i2c bus mutex
   drm/radeon: fix DCE83 check for mullins
   drm/radeon: handle non-VGA class pci devices with ATRM
   drm/radeon: fix register typo on si

Christian K?nig (4):
   drm/radeon: also try GART for CPU accessed buffers
   drm/radeon: fix page directory update size estimation
   drm/radeon: fix buffer placement under memory pressure v2
   drm/radeon: fix typo in finding PLL params

Leo Liu (1):
   drm/radeon: check VCE relocation buffer range v3

  drivers/gpu/drm/radeon/atombios_dp.c|  18 +++---
  drivers/gpu/drm/radeon/atombios_i2c.c   |  17 ++---
  drivers/gpu/drm/radeon/radeon.h |   6 +++--
  drivers/gpu/drm/radeon/radeon_bios.c|  14 +++
  drivers/gpu/drm/radeon/radeon_display.c |   2 +-
  drivers/gpu/drm/radeon/radeon_i2c.c |   9 +++
  drivers/gpu/drm/radeon/radeon_mode.h|   1 +
  drivers/gpu/drm/radeon/radeon_object.c  |  40 
++
  drivers/gpu/drm/radeon/radeon_vce.c | 130 
++---
  drivers/gpu/drm/radeon/radeon_vm.c  |   2 +-
  drivers/gpu/drm/radeon/sid.h|   4 +--
  11 files changed, 183 insertions(+), 60 deletions(-)



[pull] radeon drm-fixes-3.15

2014-05-06 Thread Christian König
Hi Dave,

this is the next pull quested for stashed up radeon fixes for 3.15. As 
discussed support for Mullins was separated out and will get it's own 
pull request. Remaining highlights are:
1. Some more patches to better handle PLL limits.
2. Making use of the PFLIP additional to the VBLANK interrupt, otherwise 
we sometimes miss page flip events.
3. Fix for the UVD command stream parser.
4. Fix for bootup UVD clocks on RV7xx systems.
5. Adding missing error check on dpcd reads.
6. Fixes number of banks calculation on SI.

The following changes since commit b8eade24c9891b8f153c40cf310ef4696c873af9:

   drm/exynos: use %pad for dma_addr_t (2014-04-30 09:48:54 +1000)

are available in the git repository at:

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

for you to fetch changes up to cbe655137aa8f644f4985021a1e1e65df1d28fa8:

   drm/radeon: lower the ref * post PLL maximum (2014-05-06 12:18:44 +0200)


Alex Deucher (1):
   drm/radeon/dp: check for errors in dpcd reads

Christian K?nig (5):
   drm/radeon/uvd: use lower clocks on old UVD to boot v2
   drm/radeon: use pflip irq on R600+ v2
   drm/radeon: avoid high jitter with small frac divs
   drm/radeon: check that we have a clock before PLL setup
   drm/radeon: lower the ref * post PLL maximum

Leo Liu (1):
   drm/radeon: check buffer relocation offset

Maarten Lankhorst (1):
   drm/radeon: drm/radeon: add missing radeon_semaphore_free to 
error path

Michel D?nzer (1):
   drm/radeon: Fix num_banks calculation for SI

  drivers/gpu/drm/radeon/atombios_crtc.c  | 49 
++---
  drivers/gpu/drm/radeon/atombios_dp.c| 44 
+---
  drivers/gpu/drm/radeon/cik.c| 77 
+
  drivers/gpu/drm/radeon/cik_sdma.c   |  1 +
  drivers/gpu/drm/radeon/cikd.h   |  9 +
  drivers/gpu/drm/radeon/evergreen.c  | 28 +---
  drivers/gpu/drm/radeon/evergreen_dma.c  |  1 +
  drivers/gpu/drm/radeon/r600.c   | 14 +++---
  drivers/gpu/drm/radeon/r600_dma.c   |  1 +
  drivers/gpu/drm/radeon/radeon.h |  6 ++
  drivers/gpu/drm/radeon/radeon_display.c | 20 +---
  drivers/gpu/drm/radeon/radeon_uvd.c |  4 
  drivers/gpu/drm/radeon/rv770_dma.c  |  1 +
  drivers/gpu/drm/radeon/si.c | 28 +---
  drivers/gpu/drm/radeon/si_dma.c |  1 +
  drivers/gpu/drm/radeon/uvd_v1_0.c   | 10 --
  16 files changed, 238 insertions(+), 56 deletions(-)



[pull] radeon drm-fixes-3.15

2014-05-05 Thread Deucher, Alexander
> -Original Message-
> From: Koenig, Christian
> Sent: Monday, May 05, 2014 5:04 AM
> To: Dave Airlie
> Cc: Deucher, Alexander; dri-devel at lists.freedesktop.org
> Subject: Re: [pull] radeon drm-fixes-3.15
> 
> Hi Dave,
> 
> > To keep Linus happier, I'd like to split this into two pull requests,
> > one with the
> > fixes, and one with the new hardware support, so I can send one as part of
> my
> > regular fixes pull without fear of it upsetting the other, and vice-versa.
> Sure, no problem.
> 
> I've just removed mullins support from my drm-fixes-3.15 branch and
> forcefully pushed the result to fdo. The old branch is now available as
> "mullins" on fdo as well.
> 
> The only patch I'm not 100% sure about is "drm/radeon: dpm updates for
> KV/KB". This one came from the Mullins branch as well, but I need to
> check with Alex if we shouldn't include that in fixes even without
> Mullins support.
> 

That patch depends on the mullins patches so it should be included with them.

Alex

> I have a couple of more patches for drm-fixes in the queue, so I wanted
> to send out a new pull request tomorrow anyway. You can pull my
> drm-fixes-3.15 branch now or you could just ignore this one and get a
> new clean pull request tomorrow. Just let me know what you prefer.
> 
> Regards,
> Christian.
> 
> Am 05.05.2014 02:51, schrieb Dave Airlie:
> > On 1 May 2014 23:47, Christian K?nig  wrote:
> >> Hi Dave,
> >>
> > To keep Linus happier, I'd like to split this into two pull requests,
> > one with the
> > fixes, and one with the new hardware support, so I can send one as part of
> my
> > regular fixes pull without fear of it upsetting the other, and vice-versa.
> >
> > Dave.
> >
> >> this is the next pull quested for stashed up radeon fixes for 3.15.
> >> Highlights this time are:
> >> 1. Support for Mullins. Handled like Kabini, so only PCI-IDs and a new
> enum
> >> that needs to be added on various locations.
> >> 2. DPM updates for Kabini.
> >> 3. One more patch to better handle PLL limits.
> >> 4. Making use of the PFLIP additional to the VBLANK interrupt, otherwise
> we
> >> sometimes miss page flip events.
> >> 5. Fix for the UVD command stream parser.
> >> 6. Fix for bootup UVD clocks on RV7xx systems.
> >>



[pull] radeon drm-fixes-3.15

2014-05-05 Thread Christian König
Hi Dave,

> To keep Linus happier, I'd like to split this into two pull requests,
> one with the
> fixes, and one with the new hardware support, so I can send one as part of my
> regular fixes pull without fear of it upsetting the other, and vice-versa.
Sure, no problem.

I've just removed mullins support from my drm-fixes-3.15 branch and 
forcefully pushed the result to fdo. The old branch is now available as 
"mullins" on fdo as well.

The only patch I'm not 100% sure about is "drm/radeon: dpm updates for 
KV/KB". This one came from the Mullins branch as well, but I need to 
check with Alex if we shouldn't include that in fixes even without 
Mullins support.

I have a couple of more patches for drm-fixes in the queue, so I wanted 
to send out a new pull request tomorrow anyway. You can pull my 
drm-fixes-3.15 branch now or you could just ignore this one and get a 
new clean pull request tomorrow. Just let me know what you prefer.

Regards,
Christian.

Am 05.05.2014 02:51, schrieb Dave Airlie:
> On 1 May 2014 23:47, Christian K?nig  wrote:
>> Hi Dave,
>>
> To keep Linus happier, I'd like to split this into two pull requests,
> one with the
> fixes, and one with the new hardware support, so I can send one as part of my
> regular fixes pull without fear of it upsetting the other, and vice-versa.
>
> Dave.
>
>> this is the next pull quested for stashed up radeon fixes for 3.15.
>> Highlights this time are:
>> 1. Support for Mullins. Handled like Kabini, so only PCI-IDs and a new enum
>> that needs to be added on various locations.
>> 2. DPM updates for Kabini.
>> 3. One more patch to better handle PLL limits.
>> 4. Making use of the PFLIP additional to the VBLANK interrupt, otherwise we
>> sometimes miss page flip events.
>> 5. Fix for the UVD command stream parser.
>> 6. Fix for bootup UVD clocks on RV7xx systems.
>>



[pull] radeon drm-fixes-3.15

2014-05-05 Thread Dave Airlie
On 1 May 2014 23:47, Christian K?nig  wrote:
> Hi Dave,
>

To keep Linus happier, I'd like to split this into two pull requests,
one with the
fixes, and one with the new hardware support, so I can send one as part of my
regular fixes pull without fear of it upsetting the other, and vice-versa.

Dave.

> this is the next pull quested for stashed up radeon fixes for 3.15.
> Highlights this time are:
> 1. Support for Mullins. Handled like Kabini, so only PCI-IDs and a new enum
> that needs to be added on various locations.
> 2. DPM updates for Kabini.
> 3. One more patch to better handle PLL limits.
> 4. Making use of the PFLIP additional to the VBLANK interrupt, otherwise we
> sometimes miss page flip events.
> 5. Fix for the UVD command stream parser.
> 6. Fix for bootup UVD clocks on RV7xx systems.
>


[pull] radeon drm-fixes-3.15

2014-05-01 Thread Christian König
Hi Dave,

this is the next pull quested for stashed up radeon fixes for 3.15. 
Highlights this time are:
1. Support for Mullins. Handled like Kabini, so only PCI-IDs and a new 
enum that needs to be added on various locations.
2. DPM updates for Kabini.
3. One more patch to better handle PLL limits.
4. Making use of the PFLIP additional to the VBLANK interrupt, otherwise 
we sometimes miss page flip events.
5. Fix for the UVD command stream parser.
6. Fix for bootup UVD clocks on RV7xx systems.

The following changes since commit b8eade24c9891b8f153c40cf310ef4696c873af9:

   drm/exynos: use %pad for dma_addr_t (2014-04-30 09:48:54 +1000)

are available in the git repository at:

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

for you to fetch changes up to 4404cc95b18e4cacacb7e94fde00b4fc8506ae57:

   drm/radeon: add pci ids for Mullins (2014-05-01 12:29:00 +0200)


Alex Deucher (2):
   drm/radeon/dp: check for errors in dpcd reads
   drm/radeon: dpm updates for KV/KB

Christian K?nig (3):
   drm/radeon/uvd: use lower clocks on old UVD to boot v2
   drm/radeon: use pflip irq on R600+ v2
   drm/radeon: avoid high jitter with small frac divs

Leo Liu (2):
   drm/radeon: check buffer relocation offset
   drm/radeon: add Mullins VCE support

Samuel Li (6):
   drm/radeon: add Mullins chip family
   drm/radeon: update cik init for Mullins.
   drm/radeon: add Mullins UVD support.
   drm/radeon: add Mullins dpm support.
   drm/radeon: modesetting updates for Mullins.
   drm/radeon: add pci ids for Mullins

  drivers/gpu/drm/radeon/atombios_crtc.c  |   5 ++--
  drivers/gpu/drm/radeon/atombios_dp.c|  44 
-
  drivers/gpu/drm/radeon/cik.c| 147 
+
  drivers/gpu/drm/radeon/cikd.h   |   9 ++
  drivers/gpu/drm/radeon/evergreen.c  |  28 ++-
  drivers/gpu/drm/radeon/kv_dpm.c | 135 
++---
  drivers/gpu/drm/radeon/r600.c   |  13 +++--
  drivers/gpu/drm/radeon/radeon.h |   6 
  drivers/gpu/drm/radeon/radeon_asic.c|   1 +
  drivers/gpu/drm/radeon/radeon_device.c  |   1 +
  drivers/gpu/drm/radeon/radeon_display.c |  18 ++--
  drivers/gpu/drm/radeon/radeon_family.h  |   1 +
  drivers/gpu/drm/radeon/radeon_pm.c  |   1 +
  drivers/gpu/drm/radeon/radeon_ucode.h   |   1 +
  drivers/gpu/drm/radeon/radeon_uvd.c |   5 
  drivers/gpu/drm/radeon/radeon_vce.c |   1 +
  drivers/gpu/drm/radeon/si.c |  28 ++-
  drivers/gpu/drm/radeon/uvd_v1_0.c   |  10 +--
  include/drm/drm_pciids.h|  16 +++
  19 files changed, 399 insertions(+), 71 deletions(-)



[pull] radeon drm-fixes-3.15

2014-04-22 Thread Christian König
Hi Dave,

this is the first pull request for stashed radeon fixes for 3.15. 
Highlights:
1. Further PLL parameter fixes.
2. Fixes for HPD on DP
3. Could of different PM fixes
4. Disabling DPM on RV770

The following changes since commit a42892ed10585c5511e8a3e53f0350b4e2242050:

   Merge branch 'drm-next-3.15-wip' of 
git://people.freedesktop.org/~deathsimple/linux into drm-next 
(2014-04-19 11:16:02 +1000)

are available in the git repository at:


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

for you to fetch changes up to 73acacc7397fe854ed2ab75f1c940fa00faaf15e:

   drm/radeon: don't allow runpm=1 on systems with out ATPX (2014-04-22 
16:51:21 +0200)


Alex Deucher (7):
   drm/radeon: disable dpm on rv770 by default
   drm/radeon/aux: fix hpd assignment for aux bus
   drm/radeon: fix count in cik_sdma_ring_test()
   drm/radeon: properly unregister hwmon interface (v2)
   drm/radeon/pm: don't walk the crtc list before it has been 
initialized (v2)
   drm/radeon: fix ATPX detection on non-VGA GPUs
   drm/radeon: don't allow runpm=1 on systems with out ATPX

Christian K?nig (2):
   drm/radeon: use fixed PPL ref divider if needed
   drm/radeon: improve PLL limit handling in post div calculation

  drivers/gpu/drm/radeon/atombios_dp.c |  1 +
  drivers/gpu/drm/radeon/cik_sdma.c|  2 +-
  drivers/gpu/drm/radeon/r600_dpm.c| 35 
+++
  drivers/gpu/drm/radeon/radeon_atpx_handler.c |  7 +++
  drivers/gpu/drm/radeon/radeon_display.c  | 84 
+---
  drivers/gpu/drm/radeon/radeon_kms.c  |  8 +++-
  drivers/gpu/drm/radeon/radeon_pm.c   | 51 
---
  7 files changed, 120 insertions(+), 68 deletions(-)



[pull] radeon drm-fixes-3.15

2014-04-17 Thread Christian König
Hi Dave,

this is the first pull request for stashed radeon fixes for 3.15. 
Highlights are:
1. Fixing PLL regressions
2. A couple of memory reclocking and DPM fixes
3. Small cleanups

The following changes since commit 5df5242d34c131d049359e01b9ce928659885c4b:

   Merge tag 'drm-intel-fixes-2014-04-11' of 
git://anongit.freedesktop.org/drm-intel into drm-next (2014-04-16 
10:35:01 +1000)

are available in the git repository at:


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

for you to fetch changes up to bcddee29b0b87af3aeda953840f97b356b24dc5e:

   drm/radeon/ci: make sure mc ucode is loaded before checking the size 
(2014-04-17 14:14:43 +0200)


Alex Deucher (8):
   drm/radeon: disable mclk dpm on R7 260X
   drm/radeon: fix runpm handling on APUs (v4)
   drm/radeon: update CI DPM powertune settings
   drm/radeon: add support for newer mc ucode on SI (v2)
   drm/radeon: add support for newer mc ucode on CI (v2)
   drm/radeon: re-enable mclk dpm on R7 260X asics
   drm/radeon/si: make sure mc ucode is loaded before checking the size
   drm/radeon/ci: make sure mc ucode is loaded before checking the size

Christian K?nig (2):
   drm/radeon: apply more strict limits for PLL params v2
   drm/radeon: improve PLL params if we don't match exactly v2

Christoph Jaeger (1):
   drm/radeon: fix VCE fence command

Quentin Casasnovas (1):
   drm/radeon: memory leak on bo reservation failure. v2

  drivers/gpu/drm/radeon/ci_dpm.c  | 33 
+
  drivers/gpu/drm/radeon/cik.c | 28 
+++-
  drivers/gpu/drm/radeon/radeon.h  |  1 +
  drivers/gpu/drm/radeon/radeon_atpx_handler.c |  2 +-
  drivers/gpu/drm/radeon/radeon_device.c   | 19 ++-
  drivers/gpu/drm/radeon/radeon_display.c  | 16 ++--
  drivers/gpu/drm/radeon/radeon_drv.c  | 24 
  drivers/gpu/drm/radeon/radeon_family.h   |  1 +
  drivers/gpu/drm/radeon/radeon_kms.c  | 23 +--
  drivers/gpu/drm/radeon/radeon_ucode.h|  7 ++-
  drivers/gpu/drm/radeon/radeon_vce.c  |  2 +-
  drivers/gpu/drm/radeon/si.c  | 37 
-
  12 files changed, 115 insertions(+), 78 deletions(-)