[pull] radeon drm-next-3.13

2013-11-11 Thread Alex Deucher
Hi Dave,

  One last patch I keep forgetting to include.  Fix for EDID quirk
handling.  Been on the list and reviewed for several months now,
I just keep forgetting about it.

The following changes since commit cf0613d242805797f252535fcf7bb019512beb46:

  Merge branch 'gma500-next' of git://github.com/patjak/drm-gma500 into 
drm-next (2013-11-11 07:25:33 +1000)

are available in the git repository at:


  git://people.freedesktop.org/~agd5f/linux drm-next-3.13

for you to fetch changes up to 339d202cde8e63113124d8931203f5bdb3343f27:

  drm/edid: compare actual vrefresh for all modes for quirks (2013-11-11 
11:08:12 -0500)


Alex Deucher (1):
  drm/edid: compare actual vrefresh for all modes for quirks

 drivers/gpu/drm/drm_edid.c | 11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)


[pull] radeon drm-next-3.13

2013-11-10 Thread Rafał Miłecki
2013/11/10 Alex Deucher :
> On Sat, Nov 9, 2013 at 3:20 AM, Rafa? Mi?ecki  wrote:
>> 2013/11/8 Alex Deucher :
>>>   Revert "drm/radeon/audio: don't set speaker allocation on DCE4+"
>>
>> What about that hangs people reported? Has anything changed meanwhile?
>> Did you fix them with some another commit?
>
> No one actually pointed to this commit as a problem, but it seemed
> like the safe thing to do for 3.12 considering the problems caused by
> the same functionality for DCE3.2 parts.  That said, a number of
> people have tested this patch successfully without problems, and it's
> necessary for the alsa driver to work correctly so I figured it was
> worth trying again for 3.13.

Nice to hear that. My short-hanging case appeared to be eDP related
(disabling eDP takes few seconds for some reason, will debug it some
day).


[pull] radeon drm-next-3.13

2013-11-10 Thread Alex Deucher
On Sat, Nov 9, 2013 at 3:20 AM, Rafa? Mi?ecki  wrote:
> 2013/11/8 Alex Deucher :
>>   Revert "drm/radeon/audio: don't set speaker allocation on DCE4+"
>
> What about that hangs people reported? Has anything changed meanwhile?
> Did you fix them with some another commit?

No one actually pointed to this commit as a problem, but it seemed
like the safe thing to do for 3.12 considering the problems caused by
the same functionality for DCE3.2 parts.  That said, a number of
people have tested this patch successfully without problems, and it's
necessary for the alsa driver to work correctly so I figured it was
worth trying again for 3.13.

Alex

>
> 2013/10/28 Deucher, Alexander :
>>> Did you get any reports about that? Or is that based only on mine comment:
>>
>> Yes, I had some reports of hangs on newer chips for some people as well.  
>> I'm not sure if it was directly correlated, but seemed like the safe thing 
>> to at this point in the kernel cycle.


[pull] radeon drm-next-3.13

2013-11-09 Thread Rafał Miłecki
2013/11/8 Alex Deucher :
>   Revert "drm/radeon/audio: don't set speaker allocation on DCE4+"

What about that hangs people reported? Has anything changed meanwhile?
Did you fix them with some another commit?

2013/10/28 Deucher, Alexander :
>> Did you get any reports about that? Or is that based only on mine comment:
>
> Yes, I had some reports of hangs on newer chips for some people as well.  I'm 
> not sure if it was directly correlated, but seemed like the safe thing to at 
> this point in the kernel cycle.


[pull] radeon drm-next-3.13

2013-11-08 Thread Alex Deucher
Hi Dave,

A few more patches for 3.13.  The big one here is Hawaii support.
I wanted to get that out sooner, but was sick earlier this week.  That
said, it's mostly self contained, so it shouldn't impact other asics.
The rest are just bug fixes and a merge fix.

The following changes since commit 91915260ea5ed9d9b19bfb75d53c989c8ada2ab0:

  Merge tag 'drm-intel-fixes-2013-11-07' of 
git://people.freedesktop.org/~danvet/drm-intel into drm-next (2013-11-08 
16:34:39 +1000)

are available in the git repository at:


  git://people.freedesktop.org/~agd5f/linux drm-next-3.13

for you to fetch changes up to 28ed756f1f4cf778785e6b627cabdcf337070fd6:

  Revert "drm/radeon/audio: don't set speaker allocation on DCE4+" (2013-11-08 
13:07:51 -0500)


Alex Deucher (18):
  drm/radeon: use HDP_MEM_COHERENCY_FLUSH_CNTL for sdma as well
  drm/radeon: fix-up some float to fixed conversion thinkos
  drm/radeon: add Hawaii chip family
  drm/radeon: update cik_gpu_init() for hawaii
  drm/radeon: minor updates to cik.c for hawaii
  drm/radeon: update cik_tiling_mode_table_init() for hawaii
  drm/radeon: add golden register settings for hawaii
  drm/radeon: update rb setup for hawaii
  drm/radeon: update firmware loading for hawaii
  drm/radeon/cik: add hawaii UVD support
  drm/radeon: add hawaii dpm support
  drm/radeon: update cik_get_csb_buffer for hawaii
  drm/radeon: atombios.h updates for hawaii
  drm/radeon: modesetting updates for hawaii
  drm/radeon: fill in radeon_asic_init for hawaii
  drm/radeon: add pci ids for hawaii
  drm/radeon: fix mismerge of drm-next with 3.12
  Revert "drm/radeon/audio: don't set speaker allocation on DCE4+"

Anssi Hannula (1):
  drm/radeon/audio: fix missing multichannel PCM SAD in some cases

Ilija Hadzic (2):
  drm/radeon/kms: unpin fb in atombios crtc disable
  drm/radeon/kms: add crtc_disable function for legacy crtc

Pierre Ossman (2):
  drm/radeon/audio: correct ACR table
  drm/radeon/audio: improve ACR calculation

 drivers/gpu/drm/radeon/atombios.h   | 127 ++-
 drivers/gpu/drm/radeon/atombios_crtc.c  |  19 +-
 drivers/gpu/drm/radeon/ci_dpm.c |  58 +++-
 drivers/gpu/drm/radeon/ci_smc.c |   4 +
 drivers/gpu/drm/radeon/cik.c| 504 +++-
 drivers/gpu/drm/radeon/cik_sdma.c   |  40 +--
 drivers/gpu/drm/radeon/cikd.h   |   8 +-
 drivers/gpu/drm/radeon/dce6_afmt.c  |  23 +-
 drivers/gpu/drm/radeon/evergreen_hdmi.c |  23 +-
 drivers/gpu/drm/radeon/r600_hdmi.c  |  94 --
 drivers/gpu/drm/radeon/radeon_asic.c|  57 +++-
 drivers/gpu/drm/radeon/radeon_connectors.c  |  16 +-
 drivers/gpu/drm/radeon/radeon_device.c  |   1 +
 drivers/gpu/drm/radeon/radeon_family.h  |   1 +
 drivers/gpu/drm/radeon/radeon_legacy_crtc.c |  21 ++
 drivers/gpu/drm/radeon/radeon_pm.c  |   1 +
 drivers/gpu/drm/radeon/radeon_ucode.h   |   4 +
 drivers/gpu/drm/radeon/radeon_uvd.c |   1 +
 drivers/gpu/drm/radeon/rs690.c  |  16 +-
 drivers/gpu/drm/radeon/rv515.c  |   8 -
 include/drm/drm_pciids.h|  12 +
 21 files changed, 882 insertions(+), 156 deletions(-)


[pull] radeon drm-next-3.13

2013-11-06 Thread Dave Airlie
On Wed, Nov 6, 2013 at 9:08 PM, Rafa? Mi?ecki  wrote:
> 2013/11/3 Rafa? Mi?ecki :
>> 2013/11/1 Alex Deucher :
>>>
>>> Christian K?nig (7):
>>>   drm/radeon: rework and fix reset detection v2
>>
>> Please note this pull request (above patch) break suspending on my:
>> 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD]
>> nee ATI Blackcomb [Radeon HD 6900M series] [1002:6720]
>
> Alex: he have a fix for the above issue, could you add
> [PATCH] drm/radeon: fix radeon_fence_wait_empty_locked
> are re-send to Dave?
>

I already merged the fix into drm-next to avoid the regression there.

Dave.


[pull] radeon drm-next-3.13

2013-11-06 Thread Rafał Miłecki
2013/11/6 Dave Airlie :
> On Wed, Nov 6, 2013 at 9:08 PM, Rafa? Mi?ecki  wrote:
>> 2013/11/3 Rafa? Mi?ecki :
>>> 2013/11/1 Alex Deucher :

 Christian K?nig (7):
   drm/radeon: rework and fix reset detection v2
>>>
>>> Please note this pull request (above patch) break suspending on my:
>>> 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD]
>>> nee ATI Blackcomb [Radeon HD 6900M series] [1002:6720]
>>
>> Alex: he have a fix for the above issue, could you add
>> [PATCH] drm/radeon: fix radeon_fence_wait_empty_locked
>> are re-send to Dave?
>>
>
> I already merged the fix into drm-next to avoid the regression there.

Oh, I missed that. Thanks!

-- 
Rafa?


[pull] radeon drm-next-3.13

2013-11-06 Thread Rafał Miłecki
2013/11/3 Rafa? Mi?ecki :
> 2013/11/1 Alex Deucher :
>>
>> Christian K?nig (7):
>>   drm/radeon: rework and fix reset detection v2
>
> Please note this pull request (above patch) break suspending on my:
> 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD]
> nee ATI Blackcomb [Radeon HD 6900M series] [1002:6720]

Alex: he have a fix for the above issue, could you add
[PATCH] drm/radeon: fix radeon_fence_wait_empty_locked
are re-send to Dave?

-- 
Rafa?


[pull] radeon drm-next-3.13

2013-11-03 Thread Rafał Miłecki
2013/11/1 Alex Deucher :
>
> Christian K?nig (7):
>   drm/radeon: rework and fix reset detection v2

Please note this pull request (above patch) break suspending on my:
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD]
nee ATI Blackcomb [Radeon HD 6900M series] [1002:6720]


[pull] radeon drm-next-3.13

2013-11-01 Thread Rafał Miłecki
HDMI/audio part looks fine, thanks!


[pull] radeon drm-next-3.13

2013-11-01 Thread Alex Deucher
Hi Dave,

Initial pull request for radeon drm-next 3.13.  Highlights:
- Enable DPM on a number of asics by default
- Enable audio by default
- Dynamically power down dGPUs on PowerXpress systems
- Lots of bug fixes

The following changes since commit 9d6104e0174b130ed864571b31811c3fd09fd611:

  drm/sysfs: Do not drop device reference twice (2013-10-31 06:33:49 +1000)

are available in the git repository at:

  git://people.freedesktop.org/~agd5f/linux drm-next-3.13

for you to fetch changes up to 70471860ff9f335c60c004d42ebd48945bfa5403:

  drm/radeon: don't share PPLLs on DCE4.1 (2013-11-01 15:25:55 -0400)


Alex Deucher (23):
  drm/radeon: Add support for programming the FMT blocks
  drm/radeon: add a connector property for dither
  drm/radeon: enable hdmi audio by default
  drm/radeon: plug in blit copy routine for SI
  drm/radeon: implement blit copy callback for CIK
  drm/radeon/si: tell dpm there is a display connected
  drm/radeon/atom: don't call [EN|DIS]ABLE_OUTPUT on DCE3.x
  drm/radeon/atom: don't call [EN|DIS]ABLE_OUTPUT on DCE4.x
  drm/radeon/audio: break out of loops once we match connector
  drm/radeon/audio: write audio/video latency info for DCE4/5
  drm/radeon/audio: write audio/video latency info for DCE6/8
  drm/radeon/dpm: only print dpm debugging messages when radeon_dpm=1
  drm/radeon: enable DPM by default on SUMO/PALM APUs
  drm/radeon: enable DPM by default on SI asics
  drm/radeon: enable DPM by default on BTC asics
  drm/radeon: enable DPM by default on evergreen asics
  drm/radeon: enable DPM by default on r7xx asics
  drm/radeon: disable force performance state when thermal state is active
  drm/radeon/dpm: retain user selected performance level across state 
changes
  drm/radeon: fix endian handling in rlc buffer setup
  drm/radeon/si: fix define for MC_SEQ_TRAIN_WAKEUP_CNTL
  drm/radeon/dpm: fix typo in setting smc flag
  drm/radeon: don't share PPLLs on DCE4.1

Christian K?nig (7):
  drm/radeon: activate UVD clocks before sending the destroy msg
  drm/radeon: fix UVD destroy IB size
  drm/radeon: rework and fix reset detection v2
  drm/radeon: add vm_set_page tracepoint
  drm/radeon: drop CP page table updates & cleanup v2
  drm/radeon: initially clear page tables
  drm/radeon: clear the page directory using the DMA

Dan Carpenter (1):
  drm/radeon/dpm: cleanup a type issue with rv6xx_clocks_per_unit()

Dave Airlie (2):
  drm/radeon: convert to pmops
  drm/radeon: add runtime PM support (v2)

Maarten Lankhorst (1):
  drm/radeon: fixup locking inversion between, mmap_sem and reservations

Marek Ol??k (1):
  drm/radeon: don't use PACKET2 on CIK

Markus Trippelsdorf (1):
  drm/radeon: Implement radeon_pci_shutdown

 drivers/gpu/drm/radeon/atombios_crtc.c   |   2 +-
 drivers/gpu/drm/radeon/atombios_encoders.c   |  24 +-
 drivers/gpu/drm/radeon/cik.c | 253 ---
 drivers/gpu/drm/radeon/cik_sdma.c|  22 +-
 drivers/gpu/drm/radeon/cikd.h|  95 
 drivers/gpu/drm/radeon/dce6_afmt.c   |  43 
 drivers/gpu/drm/radeon/evergreen.c   |  80 +-
 drivers/gpu/drm/radeon/evergreen_hdmi.c  |  48 +++-
 drivers/gpu/drm/radeon/evergreend.h  |  70 ++
 drivers/gpu/drm/radeon/ni.c  |  76 --
 drivers/gpu/drm/radeon/ni_dma.c  |  19 +-
 drivers/gpu/drm/radeon/r600.c|  53 
 drivers/gpu/drm/radeon/r600_cs.c |  16 +-
 drivers/gpu/drm/radeon/r600_hdmi.c   |   8 +-
 drivers/gpu/drm/radeon/r600d.h   |  28 +++
 drivers/gpu/drm/radeon/radeon.h  |  33 ++-
 drivers/gpu/drm/radeon/radeon_asic.c |  17 +-
 drivers/gpu/drm/radeon/radeon_asic.h |  35 +--
 drivers/gpu/drm/radeon/radeon_atpx_handler.c |   4 +
 drivers/gpu/drm/radeon/radeon_connectors.c   | 104 +++-
 drivers/gpu/drm/radeon/radeon_cs.c   | 298 +++
 drivers/gpu/drm/radeon/radeon_device.c   |  77 --
 drivers/gpu/drm/radeon/radeon_display.c  |  59 -
 drivers/gpu/drm/radeon/radeon_drv.c  | 168 +++--
 drivers/gpu/drm/radeon/radeon_drv.h  |   3 +
 drivers/gpu/drm/radeon/radeon_fence.c| 347 +--
 drivers/gpu/drm/radeon/radeon_gart.c |  73 +-
 drivers/gpu/drm/radeon/radeon_ioc32.c|   2 +-
 drivers/gpu/drm/radeon/radeon_irq_kms.c  |   8 +-
 drivers/gpu/drm/radeon/radeon_kms.c  |  26 +-
 drivers/gpu/drm/radeon/radeon_mode.h |  14 ++
 drivers/gpu/drm/radeon/radeon_pm.c   |  62 +++--
 drivers/gpu/drm/radeon/radeon_trace.h|  24 ++
 drivers/gpu/drm/radeon/radeon_uvd.c  |   4 +-
 drivers/gpu/drm/radeon/rs600.c   |  64 +
 drivers/gpu/drm/radeon/rv6xx_dpm.c   |   6