[PATCH] drm/radeon/si: check for CE ucode as well when loading ucode

2012-06-12 Thread alexdeuc...@gmail.com
From: Alex Deucher Fixes possible segfault if the CE ucode is missing. Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/si.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/si.c

[PATCH] drm/radeon: fix regression in dynpm due to multi-ring rework

2012-06-14 Thread alexdeuc...@gmail.com
From: Alex Deucher Not all asics have all rings, so make sure the ring is ready before attempting to check it in the dynpm work handler. Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=43367 Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_pm.c |

[PATCH] drm/radeon: SI tiling fixes for display

2012-06-14 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_crtc.c | 10 - drivers/gpu/drm/radeon/si_reg.h| 72 2 files changed, 81 insertions(+), 1 deletions(-) diff --git

[PATCH] drm/radeon: make radeon_fence_any_seq_signaled static

2012-06-28 Thread alexdeuc...@gmail.com
From: Alex Deucher It's not used anywhere else. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_fence.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_fence.c

[PATCH 1/2] drm/radeon: clean up CS functions in r100.c

2012-06-28 Thread alexdeuc...@gmail.com
From: Alex Deucher Consolidate the CS functions to one section of the file. Previously they were spread all around. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r100.c | 2983 - 1 files changed, 1491 insertions(+),

[PATCH 2/2] drm/radeon: move r100_enable_bm to a more logic place

2012-06-28 Thread alexdeuc...@gmail.com
From: Alex Deucher It was stuck right in the middle of the gart functions. Move next to the bm_disable function and where it is used. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r100.c | 18 +- 1 files changed, 9 insertions(+), 9

[PATCH] drm/radeon: fix VM page table setup on SI

2012-06-28 Thread alexdeuc...@gmail.com
From: Alex Deucher Cayman and trinity allow for variable sized VM page tables, but SI requires that all page tables be the same size. The current code assumes variablely sized VM page tables so SI may end up with part of each page table overlapping with other memory

[PATCH 00/10] Start documenting the radeon drm better

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher This is something I've been wanting to do for a while and I finally spent a little time getting a start on it. There is still a lot to do and not all of my descriptions are great, but I think we can document the rest in bits and pieces. I also added

[PATCH 01/10] drm/radeon: document radeon_device.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_device.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_device.c | 344 +++- 1 files changed, 341 insertions(+), 3 deletions(-) diff --git

[PATCH 02/10] drm/radeon: document radeon_kms.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_kms.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_kms.c | 126 +++ 1 files changed, 126 insertions(+), 0 deletions(-) diff --git

[PATCH 03/10] drm/radeon: document radeon_irq_kms.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_irq_kms.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_irq_kms.c | 150 +++ 1 files changed, 150 insertions(+), 0 deletions(-) diff --git

[PATCH 04/10] drm/radeon: document radeon_asic.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_asic.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_asic.c | 46 ++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git

[PATCH 05/10] drm/radeon: document radeon_fence.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_fence.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_fence.c | 373 + 1 files changed, 373 insertions(+), 0 deletions(-) diff --git

[PATCH 06/10] drm/radeon: document radeon_ring.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_ring.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_ring.c | 374 +- 1 files changed, 373 insertions(+), 1 deletions(-) diff --git

[PATCH 07/10] drm/radeon: document non-VM functions in radeon_gart.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Document the non-VM functions in radeon_gart.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_gart.c | 154 +- 1 files changed, 151 insertions(+), 3 deletions(-) diff --git

[PATCH 09/10] drm/radeon: start to document the functions r100.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Still a lot more to do. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r100.c | 127 - 1 files changed, 124 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/r100.c

[PATCH 08/10] drm/radeon: document VM functions in radeon_gart.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Document the VM functions in radeon_gart.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_gart.c | 237 ++ 1 files changed, 237 insertions(+), 0 deletions(-) diff --git

[PATCH 10/10] drm/radeon: start to document evergreen.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Still a lot to do. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c | 120 1 files changed, 120 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreen.c

[PATCH 01/10] drm/radeon: document radeon_device.c (v2)

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_device.c v2: split out general descriptions as per Christian's comments. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_device.c | 313 +++- 1 files

[PATCH 02/10] drm/radeon: document radeon_kms.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_kms.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_kms.c | 126 +++ 1 files changed, 126 insertions(+), 0 deletions(-) diff --git

[PATCH 03/10] drm/radeon: document radeon_irq_kms.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_irq_kms.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_irq_kms.c | 150 +++ 1 files changed, 150 insertions(+), 0 deletions(-) diff --git

[PATCH 04/10] drm/radeon: document radeon_asic.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_asic.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_asic.c | 46 ++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git

[PATCH 05/10] drm/radeon: document radeon_fence.c (v2)

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_fence.c v2: address Christian's comments: - split common concept description into it's own comment - fix description of intr parameter - Improve description of -EDEADLK error Signed-off-by: Alex

[PATCH 06/10] drm/radeon: document radeon_ring.c (v2)

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Adds documentation to most of the functions in radeon_ring.c v2: adjust per Christian's suggestions Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_ring.c | 216 +- 1 files changed, 213

[PATCH 07/10] drm/radeon: document non-VM functions in radeon_gart.c (v2)

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Document the non-VM functions in radeon_gart.c v2: adjust per Christian's suggestions Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_gart.c | 125 +- 1 files changed, 122 insertions(+), 3

[PATCH 08/10] drm/radeon: document VM functions in radeon_gart.c (v2)

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Document the VM functions in radeon_gart.c v2: adjust per Christian's suggestions Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_gart.c | 159 ++ 1 files changed, 159 insertions(+), 0 deletions(-)

[PATCH 09/10] drm/radeon: start to document the functions r100.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Still a lot more to do. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r100.c | 127 - 1 files changed, 124 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/r100.c

[PATCH 10/10] drm/radeon: start to document evergreen.c

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Still a lot to do. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c | 120 1 files changed, 120 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreen.c

[PATCH] drm/radeon: make a few SI functions static

2012-06-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Not used outside of si.c Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/si.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/si.c b/drivers/gpu/drm/radeon/si.c index 4071858..148471c

[PATCH] drm/radeon/kms: fix hdmi duallink checks

2012-03-07 Thread alexdeuc...@gmail.com
From: Alex Deucher All pre-SI chips are limited to 165 Mhz for single link. Code in question will be re-enabled when SI support is added. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=44755 https://bugzilla.kernel.org/show_bug.cgi?id=42887 Signed-off-by: Alex

[PATCH 1/3] drm/radeon/kms: fix analog load detection on DVI-I connectors

2012-03-16 Thread alexdeuc...@gmail.com
From: Alex Deucher We digital encoders have a detect function as well (for DP to VGA bridges), so we make sure we choose the analog one here. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=47007 Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org ---

[PATCH 2/3] drm/radeon/kms: add connector quirk for Fujitsu D3003-S2 board

2012-03-16 Thread alexdeuc...@gmail.com
From: Alex Deucher vbios lists DVI-I port as VGA and DVI-D. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=47007 Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/radeon_atombios.c | 14 ++ 1 files changed, 14

[PATCH 3/3] drm/radeon/kms: reduce probe latency on digital connectors

2012-03-16 Thread alexdeuc...@gmail.com
From: Tvrtko Ursulin On a system with one HDMI and one VGA connector the latter causes output polling to run every ten seconds. This causes full EDID re-fetch on every poll and approx. 100ms rendering stalls are experienced by full screen page-flipping applications.

[PATCH 00/48] Add SI, TN support

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher This patch set adds support for SI (Southern Islands discrete GPUs) and TN (Trinity APU). The patches are available here as well: http://people.freedesktop.org/~agd5f/si_tn/ New ucode for SI (TAHITI, PITCAIRN, VERDE) and TN (ARUBA) is available

[PATCH 01/48] drm/radeon/kms: add info query for max pipes

2012-03-20 Thread alexdeuc...@gmail.com
From: Tom Stellard The maximum number of pipes is needed by the user space compute driver to calculate the number of wavefronts per thread group. Signed-off-by: Tom Stellard --- drivers/gpu/drm/radeon/radeon_drv.c |3 ++- drivers/gpu/drm/radeon/radeon_kms.c | 13

[PATCH 02/48] drm/radeon/kms: Upstream ObjectID.h updates

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher <alexdeuc...@gmail.com> Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/ObjectID.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/ObjectID.h b/drivers/gpu/drm/radeon/ObjectID.h index c61c3fe..ca4b038

[PATCH 03/48] drm/radeon/kms: upstream atombios.h updates

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios.h | 929 +++-- 1 files changed, 883 insertions(+), 46 deletions(-) diff --git a/drivers/gpu/drm/radeon/atombios.h b/drivers/gpu/drm/radeon/atombios.h

[PATCH 04/48] drm/radeon/kms: upstream power table updates

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios.h| 180 +++--- drivers/gpu/drm/radeon/radeon_atombios.c | 14 +- 2 files changed, 172 insertions(+), 22 deletions(-) diff --git

[PATCH 05/48] drm/radeon/kms: add SI chip families

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher <alexdeuc...@gmail.com> Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h|1 + drivers/gpu/drm/radeon/radeon_device.c |3 +++ drivers/gpu/drm/radeon/radeon_family.h |3 +++ 3 files changed, 7 insertions(+), 0 deletions(-) diff

[PATCH 06/48] drm/radeon/kms: add initial DCE6 display watermark support

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/Makefile |2 +- drivers/gpu/drm/radeon/radeon_asic.h |3 + drivers/gpu/drm/radeon/si.c | 486 ++ drivers/gpu/drm/radeon/sid.h |

[PATCH 07/48] drm/radeon/kms: fix up atom HPD gpio parsing for DCE6

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher <alexdeuc...@gmail.com> Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_atombios.c |4 ++- drivers/gpu/drm/radeon/radeon_reg.h |1 + drivers/gpu/drm/radeon/si_reg.h | 33 ++ 3 files changed, 37 insertions

[PATCH 08/48] drm/radeon/kms/atom: DCE6 no longer has crtcmemreq bits

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher <alexdeuc...@gmail.com> The hw no longer has the bits and the table is removed. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_crtc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/atombios_crt

[PATCH 09/48] drm/radeon/kms/atom: add support for crtc power gating

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher <alexdeuc...@gmail.com> Each pair of crtcs (0/1, 2/3, 4/5) can be power gated. Make sure the power is applied when the crtc is in use and only power down the pair when both are off. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_crtc.c

[PATCH 10/48] drm/radeon/kms: DCE6 disp eng pll updates

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Rename the function to better match the functionality. DCPLL became PLL0 on DCE6. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_crtc.c | 15 ++- drivers/gpu/drm/radeon/radeon_device.c |2 +-

[PATCH 11/48] drm/radeon/kms/atom: add support for DCE6.x dig transmitters

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_encoders.c | 57 1 files changed, 57 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/atombios_encoders.c

[PATCH 12/48] drm/radeon/kms: DP aux updates for DCE6

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher DCE6 requires a non-0 value for lpAuxRequest for the ProcessAuxChannelTransaction command table. Setting lpAuxRequest to 0 is a special case used by AsicInit for setting up the aux pads. Signed-off-by: Alex Deucher ---

[PATCH 13/48] drm/radeon/kms: update comments about dig encoders/transmitters

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_encoders.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/atombios_encoders.c b/drivers/gpu/drm/radeon/atombios_encoders.c index

[PATCH 14/48] drm/radeon/kms/atom: add support for SI SetVoltage table

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher <alexdeuc...@gmail.com> Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h |1 - drivers/gpu/drm/radeon/radeon_atombios.c | 39 + 2 files changed, 33 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/

[PATCH 15/48] drm/radeon/kms: update power table parsing for SI

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h |1 + drivers/gpu/drm/radeon/radeon_atombios.c | 21 + 2 files changed, 22 insertions(+), 0 deletions(-) diff --git

[PATCH 16/48] drm/radeon/kms: add support for internal thermal sensor on SI

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h|1 + drivers/gpu/drm/radeon/radeon_pm.c |4 drivers/gpu/drm/radeon/si.c| 19 +++ drivers/gpu/drm/radeon/sid.h |8 4 files

[PATCH 17/48] drm/radeon/kms: add gpu init support for SI

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 32 ++ drivers/gpu/drm/radeon/si.c | 1005 +++ drivers/gpu/drm/radeon/sid.h| 201 3 files changed, 1238 insertions(+), 0

[PATCH 18/48] drm/radeon/kms: Add support for SI GPU reset

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/si.c | 100 ++ drivers/gpu/drm/radeon/sid.h | 70 + 2 files changed, 170 insertions(+), 0 deletions(-) diff --git

[PATCH 19/48] drm/radeon/kms: add support for MC/VM setup on SI

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Sets up the VM and adds support for the new VM ioctls. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/si.c | 328 ++ drivers/gpu/drm/radeon/sid.h | 219 2 files

[PATCH 20/48] drm/radeon/kms: add support for the CONST IB to the CS ioctl

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher This adds a new chunk id to the CS ioctl to support the INDIRECT_BUFFER_CONST packet. On SI, the CP adds a new engine called the CE (Constant Engine) which runs simulatenously with the DE (Drawing Engine, formerly called the ME). This allows the CP

[PATCH 21/48] drm/radeon/kms: add VM CS checker for SI

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/si.c | 309 ++ drivers/gpu/drm/radeon/sid.h | 31 2 files changed, 340 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/si.c

[PATCH 22/48] drm/radeon/kms: Only VM CS ioctl is supported on SI (v2)

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher v2: avoid double free. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_cs.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_cs.c b/drivers/gpu/drm/radeon/radeon_cs.c index

[PATCH 23/48] drm/radeon/kms: add ucode loading for SI

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Currently the driver required 5 sets of ucode: 1. pfp - pre-fetch parser, part of the CP 2. me - micro engine, part of the CP 3. ce - constant engine, part of the CP 4. rlc - interrupt controller 5. mc - memory controller Signed-off-by: Alex Deucher

[PATCH 24/48] drm/radeon/kms: add support for MC ucode loading on SI

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/si.c | 195 ++ drivers/gpu/drm/radeon/sid.h | 16 2 files changed, 211 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/si.c

[PATCH 25/48] drm/radeon/kms: add support for CP setup on SI

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/Makefile |2 +- drivers/gpu/drm/radeon/si.c | 267 ++ drivers/gpu/drm/radeon/si_blit_shaders.c | 252

[PATCH 26/48] drm/radeon/kms: add IB and fence dispatch functions for SI

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Support both IBs (DE) and CONST IBs (CE). Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/si.c | 78 ++ drivers/gpu/drm/radeon/sid.h | 65 +++ 2 files changed, 143

[PATCH 27/48] drm/radeon/kms: Add support for RLC init on SI

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher RLC handles the interrupt controller and other tasks on the GPU. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 13 drivers/gpu/drm/radeon/si.c | 132 +++

[PATCH 28/48] drm/radeon/kms: add support for interrupts on SI

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher This is mostly identical to evergreen/ni, however there are some additional fields in the IV vector for RINGID and VMID. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600.c |4 +- drivers/gpu/drm/radeon/si.c | 721

[PATCH 29/48] drm/radeon/kms: fill in startup/shutdown callbacks for SI

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/si.c | 329 +++ 1 files changed, 329 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/si.c b/drivers/gpu/drm/radeon/si.c index

[PATCH 33/48] drm/radeon/kms: Add SI pci ids

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- include/drm/drm_pciids.h | 38 ++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/include/drm/drm_pciids.h b/include/drm/drm_pciids.h index 14b6cd0..1ab5270

[PATCH 34/48] drm/radeon/kms: add trinity (TN) chip family

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h|4 +++- drivers/gpu/drm/radeon/radeon_device.c |1 + drivers/gpu/drm/radeon/radeon_family.h |1 + 3 files changed, 5 insertions(+), 1 deletions(-) diff --git

[PATCH 35/48] drm/radeon/kms: no support for internal thermal sensor on TN yet

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_pm.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_pm.c b/drivers/gpu/drm/radeon/radeon_pm.c index a6dbefc..caa55d6 100644 ---

[PATCH 30/48] drm/radeon/kms: add support for compute rings in CS ioctl on SI

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Very basic implementation for picking the ring priority. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_cs.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_cs.c

[PATCH 31/48] drm/radeon/kms: add radeon_asic struct for SI

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_asic.c | 110 ++ drivers/gpu/drm/radeon/radeon_asic.h | 22 +++ 2 files changed, 132 insertions(+), 0 deletions(-) diff --git

[PATCH 32/48] drm/radeon: Update radeon_info_ioctl for SI. (v2)

2012-03-20 Thread alexdeuc...@gmail.com
From: Michel D?nzer v2: agd5f: add new MAX_PIPES param Signed-off-by: Michel D?nzer Reviewed-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_kms.c | 21 - 1 files changed, 16 insertions(+), 5 deletions(-) diff --git

[PATCH 36/48] drm/radeon/kms: DCE6.1 watermark updates for TN

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c |2 +- drivers/gpu/drm/radeon/si.c|8 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreen.c

[PATCH 37/48] drm/radeon/kms: DCE6.1 disp eng pll updates

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher DCE6.1 uses EXT_PLL1 for disp eng. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_crtc.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c

[PATCH 38/48] drm/radeon/kms: Adjust pll picker for DCE6.1

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher On TN, UNIPHYA always uses PPLL2, UNIPHYB/C/D/E/F can use either PPLL1 or PPLL0. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_crtc.c | 31 ++- 1 files changed, 30 insertions(+), 1 deletions(-) diff

[PATCH 39/48] drm/radeon/kms: disable PPLL0 on DCE6.1 when not in use

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher <alexdeuc...@gmail.com> Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_crtc.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c index 9

[PATCH 40/48] drm/radeon/kms/DCE6.1: ss is not supported on the internal pplls

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher It's handled via external clock. It should already be protected by the external ss flag, but add an explicit check just in case. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_crtc.c |2 +- 1 files changed, 1 insertions(+), 1

[PATCH 41/48] drm/radeon/kms: Add checks for TN in the DP bridge code

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher TN (trinity) uses DP bridges for LVDS and VGA just like llano. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_encoders.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 42/48] drm/radeon/kms: cayman gpu init updates for trinity

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen_blit_kms.c |2 +- drivers/gpu/drm/radeon/ni.c | 52 -- 2 files changed, 49 insertions(+), 5 deletions(-) diff --git

[PATCH 43/48] drm/radeon/kms: Update evergreen functions for trinity

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c | 23 +-- drivers/gpu/drm/radeon/nid.h |1 + 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreen.c

[PATCH 44/48] drm/radeon/kms/vm: set vram base offset properly for TN

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/ni.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/ni.c b/drivers/gpu/drm/radeon/ni.c index 833892f..bae3ec3 100644 ---

[PATCH 45/48] drm/radeon/kms: add support for ucode loading on trinity (v2)

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher v2: fix check for MC ucode from Tom. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/ni.c| 82 +++- drivers/gpu/drm/radeon/r600.c | 21 -- drivers/gpu/drm/radeon/r600d.h |4 ++

[PATCH 46/48] drm/radeon/kms: add radeon_asic struct for trinity

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Trinity (TN) is an APU with: - Cayman 3D - DCE6.1 display Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_asic.c | 98 ++ 1 files changed, 98 insertions(+), 0 deletions(-) diff --git

[PATCH 47/48] drm/radeon/kms: add trinity pci ids

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- include/drm/drm_pciids.h | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/include/drm/drm_pciids.h b/include/drm/drm_pciids.h index 1ab5270..58d0bda 100644 ---

[PATCH 48/48] drm/radeon/kms: update duallink checks for DCE6

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_connectors.c |2 +- drivers/gpu/drm/radeon/radeon_encoders.c |6 -- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git

[PATCH] drm/radeon/kms/atom: force bpc to 8 for now

2012-03-23 Thread alexdeuc...@gmail.com
From: Alex Deucher Using the bpc (bits per color) specified by the monitor can cause problems in some cases. Until we get a better handle on how to deal with those cases, just use a bpc of 8. Reported-by: Lennert Buytenhek Signed-off-by: Alex Deucher Cc: stable at

[PATCH] drm/radeon/kms: improve bpc handling (v2)

2012-03-26 Thread alexdeuc...@gmail.com
From: Alex Deucher Improve handling of bpc (bits per color) in radeon. In most cases we want 8 except for HDMI, DP, LVDS, and eDP. v2: handle DP better. Signed-off-by: Alex Deucher Tested-by: Lennert Buytenhek --- drivers/gpu/drm/radeon/atombios_crtc.c |7

[PATCH] drm/radeon/kms: add register definitions for audio

2012-03-28 Thread alexdeuc...@gmail.com
From: Alex Deucher This adds register definitions for HDMI/DP audio on DCE2/3/4/5 hardware. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreend.h | 220 drivers/gpu/drm/radeon/r600d.h | 236

[PATCH] drm/radeon/kms: fix fans after resume

2012-03-29 Thread alexdeuc...@gmail.com
From: Alex Deucher On pre-R600 asics, the SpeedFanControl table is not executed as part of ASIC_Init as it is on newer asics. Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=29412 Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org ---

[PATCH] drm/radeon/kms: fix up audio interrupt handling

2012-03-30 Thread alexdeuc...@gmail.com
From: Alex Deucher - add support for rs6xx - add support for DCE4/5 - fixup 6xx/7xx Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c | 128 +++ drivers/gpu/drm/radeon/r600.c | 115

[PATCH] drm/radeon: add connector table for SAM440ep embedded board

2012-05-02 Thread alexdeuc...@gmail.com
From: Alex Deucher RV250 found on ppc embedded boards. Cc: Hans Verkuil Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_combios.c | 66 +++ drivers/gpu/drm/radeon/radeon_mode.h|1 + 2 files changed, 67

[PATCH] drm/radeon: clarify and extend wb setup on APUs and NI+ asics

2012-05-03 Thread alexdeuc...@gmail.com
From: Alex Deucher Use family rather than DCE check for clarity, also always use wb on APUs, there will never be AGP variants. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_device.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff

[PATCH] drm/radeon: make use of radeon_gem_init() consistent

2012-05-10 Thread alexdeuc...@gmail.com
From: Alex Deucher All radeon_gem_init() does is initialize the gem objects list. radeon_device.c does this explicitly. r600+ calls radeon_gem_init() so the list gets initialized twice. Older asics don't call it at all and rely on the the init in radeon_device.c.

[PATCH] drm/radeon: add PRIME support

2012-05-10 Thread alexdeuc...@gmail.com
From: Alex Deucher This adds prime->fd and fd->prime support to radeon. It passes the sg object to ttm and then populates the gart entries using it. Compile tested only. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/Makefile |3 +-

[PATCH] drm/radeon: fix XFX quirk

2012-05-23 Thread alexdeuc...@gmail.com
From: Alex Deucher Only override the ddc bus if the connector doesn't have a valid one. The existing code overrode the ddc bus for all connectors even if it had ddc bus. Fixes ddc on another XFX card with the same pci ids that was broken by the quirk overwriting the

[PATCH] drm/radeon: fix typo in trinity tiling setup

2012-05-24 Thread alexdeuc...@gmail.com
From: Alex Deucher Using the wrong union. Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/ni.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/ni.c b/drivers/gpu/drm/radeon/ni.c

[PATCH] drm/radeon: fix regression in UMS CS ioctl

2012-05-30 Thread alexdeuc...@gmail.com
From: Alex Deucher radeon_cs_parser_init is called by both the legacy UMS CS ioctl and the KMS CS ioctl. Protect KMS specific pieces of the code by checking that rdev is not NULL. Reported-by: Michael Burian Signed-off-by: Alex Deucher Cc: stable at

[PATCH] drm/radeon: fix bank information in tiling config

2012-05-31 Thread alexdeuc...@gmail.com
From: Alex Deucher While there are cards with more than 8 mem banks, the max number of banks from a tiling perspective is 8, so cap the tiling config at 8 banks. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=43448 Signed-off-by: Alex Deucher Cc: stable at

[PATCH] drm/radeon: properly program gart on rv740, juniper, cypress, barts

2012-05-31 Thread alexdeuc...@gmail.com
From: Alex Deucher Need to program an additional VM register. This doesn't not currently cause any problems, but allows us to program the proper backend map in a subsequent patch which should improve performance on these asics. Signed-off-by: Alex Deucher Cc: stable

[PATCH 1/2] drm/radeon: fix HD6790, HD6570 backend programming

2012-05-31 Thread alexdeuc...@gmail.com
From: Jerome Glisse Bugs that should be fixed by this patch : https://bugs.freedesktop.org/show_bug.cgi?id=49792 https://bugzilla.kernel.org/show_bug.cgi?id=43207 https://bugs.freedesktop.org/show_bug.cgi?id=39282 Signed-off-by: Jerome Glisse ---

[PATCH 2/2] drm/radeon: fixup tiling group size and backendmap on r6xx-r9xx (v4)

2012-05-31 Thread alexdeuc...@gmail.com
From: Alex Deucher Tiling group size is always 256bits on r6xx/r7xx/r8xx/9xx. Also fix and simplify render backend map. This now properly sets up the backend map on r6xx-9xx which should improve 3D performance. Signed-off-by: Alex Deucher Signed-off-by: Jerome Glisse

[pull] radeon drm-fixes-3.7

2012-11-01 Thread alexdeuc...@gmail.com
From: Alex Deucher Hi Dave, This request is mostly load detection fixes from Egbert and me. The following changes since commit 4936b172d699434547addbe452c2d600ea6a4baf: Merge branch 'drm-nouveau-fixes' of git://people.freedesktop.org/git/nouveau/linux-2.6 into

[PATCH] drm/radeon: fix typo in evergreen_mc_resume()

2012-11-05 Thread alexdeuc...@gmail.com
From: Alex Deucher Add missing index that may have led us to enabling more crtcs than necessary. May also fix: https://bugs.freedesktop.org/show_bug.cgi?id=56139 Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/evergreen.c |2

  1   2   3   4   5   6   >