[pull] radeon drm-next 3.16

2014-06-13 Thread Alex Deucher
Hi Dave,

Just a couple of further improvements for the deep color support.

The following changes since commit bc1dfff04a5d4064ba0db1fab13f84ab4f333d2b:

  Merge branch 'drm-nouveau-next' of 
git://anongit.freedesktop.org/git/nouveau/linux-2.6 into drm-next (2014-06-11 
16:28:10 +1000)

are available in the git repository at:


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

for you to fetch changes up to 4366f3b5f5a971cf348c298716b2cb29aab6ef4f:

  drm/radeon: Bypass hw lut's for > 8 bpc framebuffer scanout. (2014-06-13 
12:22:30 -0400)


Fredrik H?glund (1):
  drm/radeon: use pixel formats instead of depth/bpp

Mario Kleiner (1):
  drm/radeon: Bypass hw lut's for > 8 bpc framebuffer scanout.

 drivers/gpu/drm/radeon/atombios_crtc.c  | 116 +++-
 drivers/gpu/drm/radeon/evergreen_reg.h  |   2 +
 drivers/gpu/drm/radeon/r500_reg.h   |   1 +
 drivers/gpu/drm/radeon/radeon_display.c |   3 +-
 4 files changed, 105 insertions(+), 17 deletions(-)


[pull] radeon drm-next-3.16

2014-06-09 Thread Alex Deucher
Hi Dave,

Some additional patches for radeon for 3.16 now that -fixes has been merged.

- Gart fix for all asics r6xx+
- Add some VM tuning parameters
- misc fixes

The following changes since commit 4c0dae57873edb1560b738c6519361c5ecd443ae:

  drm/doc: Fix nouveau typo (2014-06-10 09:34:43 +1000)

are available in the git repository at:

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

for you to fetch changes up to 685d54b330d0f15c4f6c7bdf51e009aab0d6a750:

  drm/radeon: Move fb update from radeon_flip_work_func to 
radeon_crtc_page_flip (2014-06-09 22:09:12 -0400)


Alex Deucher (4):
  drm/radeon: add missing vce init case for hawaii
  drm/radeon: add query for number of active CUs
  Revert "drm/radeon: use variable UVD clocks"
  drm/radeon/dpm: powertune updates for SI

Christian K?nig (8):
  drm/radeon: use lower_32_bits where appropriate
  drm/radeon: stop poisoning the GART TLB
  drm/radeon: remove range check from *_gart_set_page
  drm/radeon: use the SDMA on for buffer moves on CIK again
  drm/radeon: rename alt_domain to allowed_domains
  drm/radeon: make VM size a module parameter (v2)
  drm/radeon: make vm_block_size a module parameter
  drm/radeon: add debugfs file to trigger GPU reset

Mario Kleiner (2):
  drm/edid: Store all supported hdmi deep color modes in drm_display_info
  drm/radeon: hdmi deep color modes must obey clock limit of sink.

Michel D?nzer (1):
  drm/radeon: Move fb update from radeon_flip_work_func to 
radeon_crtc_page_flip

 drivers/gpu/drm/drm_edid.c |  3 ++
 drivers/gpu/drm/radeon/atombios_crtc.c |  3 ++
 drivers/gpu/drm/radeon/cik.c   | 18 +---
 drivers/gpu/drm/radeon/cik_sdma.c  | 26 +-
 drivers/gpu/drm/radeon/evergreen.c | 12 
 drivers/gpu/drm/radeon/ni.c| 16 +--
 drivers/gpu/drm/radeon/r100.c  |  8 ++
 drivers/gpu/drm/radeon/r300.c  |  7 ++---
 drivers/gpu/drm/radeon/r600.c  | 11 +---
 drivers/gpu/drm/radeon/radeon.h| 22 +--
 drivers/gpu/drm/radeon/radeon_asic.c   |  4 +--
 drivers/gpu/drm/radeon/radeon_asic.h   | 12 +---
 drivers/gpu/drm/radeon/radeon_connectors.c | 31 +
 drivers/gpu/drm/radeon/radeon_cs.c |  8 +++---
 drivers/gpu/drm/radeon/radeon_device.c | 44 +++---
 drivers/gpu/drm/radeon/radeon_display.c|  6 ++--
 drivers/gpu/drm/radeon/radeon_drv.c| 11 +++-
 drivers/gpu/drm/radeon/radeon_fence.c  | 22 ++-
 drivers/gpu/drm/radeon/radeon_kms.c| 16 +++
 drivers/gpu/drm/radeon/radeon_mode.h   |  1 +
 drivers/gpu/drm/radeon/radeon_object.c |  9 +++---
 drivers/gpu/drm/radeon/radeon_pm.c |  3 ++
 drivers/gpu/drm/radeon/radeon_uvd.c|  3 +-
 drivers/gpu/drm/radeon/radeon_vce.c|  1 +
 drivers/gpu/drm/radeon/radeon_vm.c | 28 +--
 drivers/gpu/drm/radeon/rs400.c |  7 +
 drivers/gpu/drm/radeon/rs600.c | 11 
 drivers/gpu/drm/radeon/rv770.c |  3 ++
 drivers/gpu/drm/radeon/si.c| 17 +---
 drivers/gpu/drm/radeon/si_dma.c|  8 +++---
 drivers/gpu/drm/radeon/si_dpm.c| 13 +++--
 drivers/gpu/drm/radeon/uvd_v2_2.c  |  2 +-
 include/drm/drm_crtc.h |  3 ++
 include/uapi/drm/radeon_drm.h  |  2 +-
 34 files changed, 285 insertions(+), 106 deletions(-)


[pull] radeon drm-next-3.16

2014-06-04 Thread Dave Airlie
On 3 June 2014 23:03, Christian K?nig  wrote:
> Am 03.06.2014 14:58, schrieb Alex Deucher:
>
>> On Mon, Jun 2, 2014 at 11:21 PM, Michel D?nzer  wrote:
>>>
>>> On 03.06.2014 07:55, Alex Deucher wrote:

 This is the first pull request for radeon for 3.16.  Christian has
 a few other patches that depend on some fixes from 3.15 so I'll wait
 to send those out until you sort out the 3.15 merge.
>>>
>>> [...]
>>>
 Christian K?nig (10):
>>>
>>> [...]

drm/radeon: rework page flip handling v3
>>>
>>> This one shouldn't be merged without my review comment being addressed.
>>
>> Sorry Michel, I completely forgot about your comments.  Christian,
>> have you had a chance to look at them?  I can respin without this
>> patch set if you need more time.
>
>
> Please drop it for now. I'm still busy with the CIK issue, so it might take
> a while till I get back to it.
>
> On the other hand Michels comment can be fixed trivially, feel free to do so
> and send the result to Dave.

I reverted the v3 and applied v4 into drm-next.

Dave.


[pull] radeon drm-next-3.16

2014-06-04 Thread Alex Deucher
On Tue, Jun 3, 2014 at 10:00 PM, Dave Airlie  wrote:
> On 3 June 2014 23:03, Christian K?nig  wrote:
>> Am 03.06.2014 14:58, schrieb Alex Deucher:
>>
>>> On Mon, Jun 2, 2014 at 11:21 PM, Michel D?nzer  
>>> wrote:

 On 03.06.2014 07:55, Alex Deucher wrote:
>
> This is the first pull request for radeon for 3.16.  Christian has
> a few other patches that depend on some fixes from 3.15 so I'll wait
> to send those out until you sort out the 3.15 merge.

 [...]

> Christian K?nig (10):

 [...]
>
>drm/radeon: rework page flip handling v3

 This one shouldn't be merged without my review comment being addressed.
>>>
>>> Sorry Michel, I completely forgot about your comments.  Christian,
>>> have you had a chance to look at them?  I can respin without this
>>> patch set if you need more time.
>>
>>
>> Please drop it for now. I'm still busy with the CIK issue, so it might take
>> a while till I get back to it.
>>
>> On the other hand Michels comment can be fixed trivially, feel free to do so
>> and send the result to Dave.
>
> I reverted the v3 and applied v4 into drm-next.

Thanks Dave.

Alex


[pull] radeon drm-next-3.16

2014-06-03 Thread Christian König
Am 03.06.2014 14:58, schrieb Alex Deucher:
> On Mon, Jun 2, 2014 at 11:21 PM, Michel D?nzer  wrote:
>> On 03.06.2014 07:55, Alex Deucher wrote:
>>> This is the first pull request for radeon for 3.16.  Christian has
>>> a few other patches that depend on some fixes from 3.15 so I'll wait
>>> to send those out until you sort out the 3.15 merge.
>> [...]
>>
>>> Christian K?nig (10):
>> [...]
>>>drm/radeon: rework page flip handling v3
>> This one shouldn't be merged without my review comment being addressed.
> Sorry Michel, I completely forgot about your comments.  Christian,
> have you had a chance to look at them?  I can respin without this
> patch set if you need more time.

Please drop it for now. I'm still busy with the CIK issue, so it might 
take a while till I get back to it.

On the other hand Michels comment can be fixed trivially, feel free to 
do so and send the result to Dave.

BTW: The other issue seems to be a pretty fundamental problem with the 
GART on CIK, this might be the cause of our HAWAII issues as well.

Christian.

>
> Alex



[pull] radeon drm-next-3.16

2014-06-03 Thread Michel Dänzer
On 03.06.2014 07:55, Alex Deucher wrote:
> 
> This is the first pull request for radeon for 3.16.  Christian has
> a few other patches that depend on some fixes from 3.15 so I'll wait
> to send those out until you sort out the 3.15 merge.

[...]

> Christian K?nig (10):
[...]
>   drm/radeon: rework page flip handling v3

This one shouldn't be merged without my review comment being addressed.


-- 
Earthling Michel D?nzer|  http://www.amd.com
Libre software enthusiast  |Mesa and X developer


[pull] radeon drm-next-3.16

2014-06-03 Thread Alex Deucher
On Mon, Jun 2, 2014 at 11:21 PM, Michel D?nzer  wrote:
> On 03.06.2014 07:55, Alex Deucher wrote:
>>
>> This is the first pull request for radeon for 3.16.  Christian has
>> a few other patches that depend on some fixes from 3.15 so I'll wait
>> to send those out until you sort out the 3.15 merge.
>
> [...]
>
>> Christian K?nig (10):
> [...]
>>   drm/radeon: rework page flip handling v3
>
> This one shouldn't be merged without my review comment being addressed.

Sorry Michel, I completely forgot about your comments.  Christian,
have you had a chance to look at them?  I can respin without this
patch set if you need more time.

Alex


[pull] radeon drm-next-3.16

2014-06-02 Thread Alex Deucher
Hi Dave,

This is the first pull request for radeon for 3.16.  Christian has
a few other patches that depend on some fixes from 3.15 so I'll wait
to send those out until you sort out the 3.15 merge.

Highlights:
- GPUVM opimtizations
- HDMI audio cleanups
- Deep color HDMI support
- more bug fixes, cleanups

The following changes since commit 182407a6ed5333fc37dd980a8de91a8f826a94f6:

  drm: add DP MST encoder type (2014-05-30 11:59:51 +1000)

are available in the git repository at:

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

for you to fetch changes up to bc5b96414cf8fe1cf73f778144ed6e10cbd849b4:

  drm/edid: Add quirk for Sony PVM-2541A to get 12 bpc hdmi deep color. 
(2014-06-02 18:37:35 -0400)


Alex Deucher (9):
  drm/radeon: add a i2c bus mutex
  vgaswitcheroo: switch the mux to the igp on power down when runpm is 
enabled
  drm/radeon: fix typo in radeon_connector_is_dp12_capable()
  drm/radeon/dp: fix lane/clock setup for dp 1.2 capable devices
  drm/radeon/atom: fix dithering on certain panels
  drm/radeon: only apply hdmi bpc pll flags when encoder mode is hdmi
  drm/radeon: use hw cts/n values for deep color
  drm/radeon: fix pll setup for hdmi deep color (v7)
  drm/radeon: Setup HDMI_CONTROL for hdmi deep color gcp's (v2)

Christian K?nig (10):
  drm/radeon: add large PTE support for NI, SI and CIK v5
  drm/radeon: add proper support for RADEON_VM_BLOCK_SIZE v2
  drm/radeon: remove (pre|post)_page_flip callbacks
  drm/radeon: remove drm_vblank_get|put from pflip handling
  drm/radeon: split page flip and pending callback
  drm/radeon: separate vblank and pflip crtc handling
  drm/radeon: rework page flip handling v3
  drm/radeon: add define for flags used in R600+ GTT
  drm/radeon: optimize SI VM handling
  drm/radeon: optimize CIK VM handling v2

Mario Kleiner (3):
  drm/radeon: Limit hdmi deep color bit depth to 12 bpc.
  drm/edid: Parse and handle HDMI deep color modes.
  drm/edid: Add quirk for Sony PVM-2541A to get 12 bpc hdmi deep color.

Michele CURTI (2):
  drm/radeon: use NULL instead of zero in object functions
  drm/radeon: use NULL instead of zero in clearstate headers

Rafa? Mi?ecki (4):
  drm/radeon/hdmi: use separated file for DCE 3.1/3.2 code
  drm/radeon/hdmi: DCE3: clean ACR control
  drm/radeon/hdmi: DCE2: update setmode
  drm/radeon/hdmi: DCE2: simplify audio workaround

?meric MASCHINO (1):
  radeon: Remove useless quirk for zx1/FireGL X1 combo introduced with fdo 
#7770

 drivers/gpu/drm/drm_edid.c | 118 +-
 drivers/gpu/drm/radeon/Makefile|   2 +-
 drivers/gpu/drm/radeon/atombios_crtc.c |  89 +---
 drivers/gpu/drm/radeon/atombios_dp.c   |  35 ++-
 drivers/gpu/drm/radeon/atombios_encoders.c |   5 +-
 drivers/gpu/drm/radeon/atombios_i2c.c  |  17 +-
 drivers/gpu/drm/radeon/cik.c   |  17 +-
 drivers/gpu/drm/radeon/cik_sdma.c  |  21 +-
 drivers/gpu/drm/radeon/cikd.h  |   1 +
 drivers/gpu/drm/radeon/clearstate_cayman.h |   8 +-
 drivers/gpu/drm/radeon/clearstate_ci.h |   4 +-
 drivers/gpu/drm/radeon/clearstate_si.h |   4 +-
 drivers/gpu/drm/radeon/dce3_1_afmt.c   | 244 +
 drivers/gpu/drm/radeon/evergreen.c |  60 ++---
 drivers/gpu/drm/radeon/evergreen_hdmi.c|  48 +++-
 drivers/gpu/drm/radeon/evergreend.h|   3 +-
 drivers/gpu/drm/radeon/ni.c|   3 +
 drivers/gpu/drm/radeon/nid.h   |   1 +
 drivers/gpu/drm/radeon/r100.c  |  55 ++---
 drivers/gpu/drm/radeon/r600.c  |   4 +-
 drivers/gpu/drm/radeon/r600_hdmi.c | 341 +
 drivers/gpu/drm/radeon/r600d.h |  17 ++
 drivers/gpu/drm/radeon/radeon.h|  33 ++-
 drivers/gpu/drm/radeon/radeon_agp.c|   3 -
 drivers/gpu/drm/radeon/radeon_asic.c   |  68 ++
 drivers/gpu/drm/radeon/radeon_asic.h   |  28 ++-
 drivers/gpu/drm/radeon/radeon_connectors.c |  27 ++-
 drivers/gpu/drm/radeon/radeon_display.c| 280 +--
 drivers/gpu/drm/radeon/radeon_i2c.c|   9 +
 drivers/gpu/drm/radeon/radeon_mode.h   |   6 +-
 drivers/gpu/drm/radeon/radeon_object.c |   2 +-
 drivers/gpu/drm/radeon/radeon_object.h |   2 +-
 drivers/gpu/drm/radeon/radeon_vm.c |  95 +++-
 drivers/gpu/drm/radeon/rs600.c |  35 +--
 drivers/gpu/drm/radeon/rv770.c |  10 +-
 drivers/gpu/drm/radeon/si.c|  18 +-
 drivers/gpu/drm/radeon/si_dma.c|  20 +-
 drivers/gpu/drm/radeon/sid.h   |   1 +
 drivers/gpu/vga/vga_switcheroo.c   |   3 +-
 include/drm/drm_edid.h |   5 +
 40 files changed, 1135 insertions(+), 607 deletions(-)
 create mode 100644 drivers/gpu/drm/radeon/dce3_1_afmt.c