[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 Deucher Cc: stable at vger.k

[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 --- drivers/gpu/drm/radeon/radeon_c

[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 insertions(+), 0 deletions(-)

[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. Optimisation is to trust HPD s

[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 here: http://people.freedesktop.

[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 + include/dr

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

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher 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 100644 --- a/drivers/gpu/drm/radeon/Obj

[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 index 1b50ad8..4760466 1006

[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 a/drivers/gpu/drm/radeon/atombios.h b/drivers/g

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

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_device.c |3 +++ drivers/gpu/drm/radeon/radeon_family.h |3 +++ 3 files changed, 7 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon.

[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 | 46 4 files changed, 53

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

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher 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(+), 1 deletions(-) create mo

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

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher 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_crtc.c b/drivers/gpu/drm/radeon/atombio

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

2012-03-20 Thread alexdeuc...@gmail.com
From: Alex Deucher 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 | 38 1 fil

[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 +- drivers/gpu/drm/radeon/radeon_display.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 b/drivers/gpu/drm/radeon/atombios_encoders.c index b88c4

[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 --- drivers/gpu/drm/radeon/atombios_dp.c |6 +++--- 1 f

[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 28b55da..45bb2fc 100644 ---

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

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 | 39 + 2 files changed, 33 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon.h b/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 a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/r

[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 changed, 32 insertions(+), 0

[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 deletions(-) diff --git a/driver

[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 a/drivers/gpu/drm/radeon/si.c b/dr

[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 changed, 547 insertions(+), 0 dele

[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 to process two related IBs

[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 b/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 087bd50..5e459a3 100644 ---

[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 --- drivers/gpu/drm/radeo

[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 b/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 drivers/gpu/drm/radeon/si_blit_sha

[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 insertions(+), 0 deletions(

[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 +++ drivers/gpu/drm/radeon/sid.h| 17 + 3 files

[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 + d

[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 6aecbf5..4c0d8d2 100644 --- a/drive

[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 100644 --- a/include/drm/drm_pcii

[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 a/drivers/gpu/drm/radeon/radeon.h

[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 --- a/drivers/gpu/drm/radeon/ra

[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 b/drivers/gpu/drm/radeon/radeon_cs

[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 a/drivers/gpu/drm/radeon/radeon_asic.c b/driver

[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 a/drivers/gpu/drm/radeon/radeon_kms.c b/drivers/gp

[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 b/drivers/gpu/drm/radeon/evergreen.c index 466d

[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 b/drivers/gpu/drm/radeon/atombios_crtc.c index 6fe4a6

[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 --git a/drivers/gpu/drm/rad

[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 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 92263af..a5c4e3f 100644 --- a/drivers/

[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 deletions(-) diff --git a/d

[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 a/drivers/gpu/drm/radeon/atombios_encoders.c b/drivers/gpu

[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 a/drivers/gpu/drm/radeon/evergreen_blit_kms.c b

[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 b/drivers/gpu/drm/radeon/evergre

[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 --- a/drivers/gpu/drm/radeon/ni.c +++ b/drivers/g

[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 ++ drivers/gpu/drm/radeon/si.c|

[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 a/drivers/gpu/drm/radeon/radeon_asic.c b/d

[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 --- a/include/drm/drm_pciids.h +++ b/include/drm

[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 a/drivers/gpu/drm/radeon/radeon_connectors.c b/drivers/gpu/drm/radeon/

[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 kernel.org --- drivers/gpu/

[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 +-- drivers/gpu/drm/radeon/

[pull] radeon drm-next-3.9

2013-02-07 Thread alexdeuc...@gmail.com
From: Alex Deucher Hi Dave, This is the first drm-next pull for 3.9 for radeon. Highlights: - CS ioctl cleanup and unification. Unification of a lot of functionality that was duplicated across multiple generates of hardware. - Add support for Oland GPUs - Deprecate UMS support. Mesa and the

[PATCH] drm/radeon: remove overzealous warning in hdmi handling

2013-02-12 Thread alexdeuc...@gmail.com
From: Alex Deucher hdmi audio works fine. The warning just confuses users. fixes: https://bugzilla.kernel.org/show_bug.cgi?id=44341 Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/r600_hdmi.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) dif

[pull] radeon drm-next-3.9

2013-02-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Hi Dave, More drm-next bits for radeon. Just bug fixes. The following changes since commit 0e3d50bfcbd338254795a700dcff429a96cba1a6: drm/radeon/dce6: fix display powergating (2013-02-05 18:01:45 -0500) are available in the git repository at: git://people.freedesktop

[PATCH 1/2] drm/radeon: print dma status reg on lockup (v2)

2013-01-03 Thread alexdeuc...@gmail.com
From: Jerome Glisse To help debug dma related lockup. v2: agd5f: update SI as well Signed-off-by: Jerome Glisse Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c |4 drivers/gpu/drm/radeon/evergreend.h |3 +++ drivers/gpu/drm/radeon/ni.c |4 dr

[PATCH 2/2] drm/radeon: reset dma engine on gpu reset (v2)

2013-01-03 Thread alexdeuc...@gmail.com
From: Jerome Glisse This try to reset the dma engine when performing gpu reset. Hopefully bringing back the gpu dma engine in sane state. v2: agd5f: fix dma reset on cayman/TN, add support for SI Signed-off-by: Jerome Glisse Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c

[PATCH 1/5] drm/radeon: add GPU reset flags

2013-01-03 Thread alexdeuc...@gmail.com
From: Alex Deucher The idea here is to move to a finer grained reset. In some cases we may not need reset every block, and in other cases we may not need to re-init the entire asic. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h |5 + 1 files changed, 5 insertions(+),

[PATCH 2/5] drm/radeon: switch to a finer grained reset for r6xx/7xx

2013-01-03 Thread alexdeuc...@gmail.com
From: Alex Deucher No change in functionality as we currently set all the reset flags. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600.c | 85 - 1 files changed, 58 insertions(+), 27 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600.c

[PATCH 3/5] drm/radeon: switch to a finer grained reset for evergreen

2013-01-03 Thread alexdeuc...@gmail.com
From: Alex Deucher No change in functionality as we currently set all the reset flags. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c | 80 --- drivers/gpu/drm/radeon/evergreend.h |1 + 2 files changed, 56 insertions(+), 25 deletions(-

[PATCH 4/5] drm/radeon: switch to a finer grained reset for cayman/TN

2013-01-03 Thread alexdeuc...@gmail.com
From: Alex Deucher No change in functionality as we currently set all the reset flags. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/ni.c | 109 +++--- 1 files changed, 70 insertions(+), 39 deletions(-) diff --git a/drivers/gpu/drm/radeon/ni.c b/d

[PATCH 5/5] drm/radeon: switch to a finer grained reset for SI

2013-01-03 Thread alexdeuc...@gmail.com
From: Alex Deucher No change in functionality as we currently set all the reset flags. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/si.c | 98 --- 1 files changed, 64 insertions(+), 34 deletions(-) diff --git a/drivers/gpu/drm/radeon/si.c b/

[pull] radeon drm-fixes-3.8

2013-01-03 Thread alexdeuc...@gmail.com
From: Alex Deucher Hi Dave, A few fixes for radeon: - fix the crashes related to DMA on r6xx - properly reset DMA on GPU reset - fix monitor probing with some DP bridges - misc small bug fixes The following changes since commit d5757dbe79870d825d0dec30074d48683e1d7e9a: Revert "drm: tegra: pr

[PATCH] drm/radeon: split r6xx and r7xx copy_dma functions

2013-01-04 Thread alexdeuc...@gmail.com
From: Alex Deucher - r6xx actually uses a slightly different packet format, although both formats seem to work ok. - r7xx doesn't have the count multiple of 2 limitation. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600.c| 10 ++-- drivers/gpu/drm/radeon/radeon_asic.c |

[PATCH] drm/radeon: fix DMA CS parser for r6xx linear copy packet

2013-01-04 Thread alexdeuc...@gmail.com
From: Alex Deucher Was using the r7xx format. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600_cs.c | 31 ++- 1 files changed, 22 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600_cs.c b/drivers/gpu/drm/radeon/r600_cs.c index 9ea13

[pull] radeon drm-fixes-3.8

2013-01-07 Thread alexdeuc...@gmail.com
From: Alex Deucher Hi Dave, A few more fixes for DMA and a mac quick. The following changes since commit eda85d6ad490923152544fba0473798b6cc0edf6: drm/nouveau: fix init with agpgart-uninorth (2013-01-04 16:04:33 +1000) are available in the git repository at: git://people.freedesktop.or

[pull] radeon drm-fixes-3.8

2013-01-10 Thread alexdeuc...@gmail.com
From: Alex Deucher Hi Dave, Fixes for UMS mode which has been broken for a while plus an rn50 fix and a dma fix. The following changes since commit 82ba789f48de669fd0bbc84c326f07571d078572: Merge branch 'drm-intel-fixes' of git://people.freedesktop.org/~danvet/drm-intel (2013-01-11 07:52

[pull] radeon drm-fixes-3.8

2013-01-15 Thread alexdeuc...@gmail.com
From: Alex Deucher Hi Dave, Just a few small fixes. The following changes since commit 7b4cf994e4c6ba48872bb25253cc393b7fb74c82: udldrmfb: udl_get_edid: drop unneeded i-- (2013-01-14 08:45:27 +1000) are available in the git repository at: git://people.freedesktop.org/~agd5f/linux drm-

[PATCH] drm/edid: add quirk for Acer 19" display AL1917WA

2013-01-17 Thread alexdeuc...@gmail.com
From: Alex Deucher 1440x900 (native) monitor contains a bogus 1400x1050 at 75Hz mode in the standard timings and fails to flag the first detailed mode as preferred. As such, X picks 1400x1050 at 75Hz which fails to display. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=59211 Signed-off-b

[pull] radeon drm-fixes-3.8

2013-01-24 Thread alexdeuc...@gmail.com
From: Alex Deucher Hi Dave, Just a few small fixes. The following changes since commit 014b34409fb2015f63663b6cafdf557fdf289628: ttm: on move memory failure don't leave a node dangling (2013-01-21 13:45:23 +1000) are available in the git repository at: git://people.freedesktop.org/~a

[pull] radeon drm-fixes-3.8

2013-01-27 Thread alexdeuc...@gmail.com
From: Alex Deucher Hi Dave, A couple of small fixes I picked up over the weekend. The following changes since commit 483674325f64a37c7696edb12ce6ad3e535421bc: Merge branch 'drm-intel-fixes' of git://people.freedesktop.org/~danvet/drm-intel (2013-01-26 18:17:39 +1000) are available in t

[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 +++ drivers/gpu/d

[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 --- drivers/gpu/drm/radeon/atom.c | 15 +++

[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 ++-- drivers/gpu/drm/radeo

[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 insertions(+), 0 deletions(-) diff --g

[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 --git a/drivers/gpu/drm/rade

[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. Just call radeon_gem_init() i

[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 +- drivers/gpu/drm/radeon/evergreen_bli

[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 correct ddc bus. Reported-b

[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 index b01c2dd..ce4e7cc 100644

[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 vger.kernel.org --- drivers/gpu/drm/radeo

[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 vger.kernel.org --- drivers/gpu

[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 at vger.kernel.org --- dri

[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 --- drivers/gpu/drm/radeon/evergreen.c |4 ++--

[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 --- drivers/gpu/drm/radeo

[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 drm-fixes (2012-10-31 13:46:0

[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 files changed, 1 inse

[pull] radeon drm-fixes-3.7

2012-11-07 Thread alexdeuc...@gmail.com
From: Alex Deucher Hi Dave, Just one patch that fixes a display regression in certain cases. The following changes since commit 695ddeb457584a602f2ba117d08ce37cf6ec1589: drm/radeon: fix typo in evergreen_mc_resume() (2012-11-07 10:53:49 +1000) are available in the git repository at: git:/

[PATCH] drm/radeon/cayman: add some missing regs to the VM reg checker

2012-11-08 Thread alexdeuc...@gmail.com
From: Alex Deucher These regs were being wronly rejected leading to rendering issues. fixes: https://bugs.freedesktop.org/show_bug.cgi?id=56876 Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/evergreen_cs.c |3 +++ drivers/gpu/drm/radeon/evergreend.h

[PATCH] drm/radeon/si: add some missing regs to the VM reg checker

2012-11-08 Thread alexdeuc...@gmail.com
From: Alex Deucher This register is needed for streamout to work properly. Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/si.c |1 + drivers/gpu/drm/radeon/sid.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/

[PATCH] drm: fix documentation for drm_crtc_set_mode()

2012-11-09 Thread alexdeuc...@gmail.com
From: Alex Deucher x and y parameters are offsets, not width/height Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- drivers/gpu/drm/drm_crtc_helper.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/d

[PATCH] drm/radeon: fix logic error in atombios_encoders.c

2012-11-14 Thread alexdeuc...@gmail.com
From: Alex Deucher Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=50431 Reported-by: David Binderman Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/atombios_encoders.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/g

[pull] radeon drm-fixes-3.7

2012-11-15 Thread alexdeuc...@gmail.com
From: Alex Deucher Hi Dave, just one small bug fix. The following changes since commit afcc87aa6a233e52df73552dc1dc9ae3881b7cc8: drm/vmwgfx: Fix a case where the code would BUG when trying to pin GMR memory (2012-11-09 20:49:06 +1000) are available in the git repository at: git://people.f

[PATCH] drm/radeon: properly track the crtc not_enabled case evergreen_mc_stop()

2012-11-19 Thread alexdeuc...@gmail.com
From: Alex Deucher The save struct is not initialized previously so explicitly mark the crtcs as not used when they are not in use. Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/evergreen.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff

[pull] radeon drm-fixes-3.7

2012-11-20 Thread alexdeuc...@gmail.com
From: Alex Deucher Hi Dave, A couple more small fixes for 3.7: - another evergreen_mc fix - add an AGP quirk for an old RV250 The following changes since commit 6f755116c93ca35f496ccf1910dcd28cd16713e3: Merge branch 'drm-intel-fixes' of git://people.freedesktop.org/~danvet/drm-intel into dr

[PATCH] drm/radeon: fix handling of v6 power tables

2013-05-01 Thread alexdeuc...@gmail.com
From: Alex Deucher The code was mis-handling variable sizes arrays. Reported-by: Sylvain BERTRAND Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/radeon_atombios.c | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/g

[pull] radeon drm-next-3.10-2

2013-05-02 Thread alexdeuc...@gmail.com
From: Alex Deucher Hi Dave, Just some fixes that have accumulated over the last couple of weeks and some new PCI ids. The following changes since commit f468400664e3ae79e6e001bb2820c79bebe6aa41: Merge branch 'drm-nouveau-next' of git://anongit.freedesktop.org/git/nouveau/linux-2.6 into dr

<    1   2   3   4   5   6   >