[PATCH] drm/radeon/kms: bail on BTC parts if MC ucode is missing

2011-12-21 Thread alexdeuc...@gmail.com
From: Alex Deucher We already do this for cayman, need to also do it for BTC parts. The default memory and voltage setup is not adequate for advanced operation. Continuing will result in an unusable display. Signed-off-by: Alex Deucher Cc: stable at kernel.org Cc:

[PATCH] drm/radeon/kms: add some new pci ids

2011-12-12 Thread alexdeuc...@gmail.com
From: Alex Deucher Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=43739 Signed-off-by: Alex Deucher Cc: stable at kernel.org --- include/drm/drm_pciids.h | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/include/drm/drm_pciids.h

[PATCH] drm/radeon/kms: bail on BTC parts if MC ucode is missing

2011-12-09 Thread alexdeuc...@gmail.com
From: Alex Deucher We already do this for cayman, need to also do it for BTC parts. The default memory and voltage setup is not adequate for advanced operation. Continuing will result in an unusable display. Signed-off-by: Alex Deucher Cc: stable at kernel.org Cc:

[PATCH] drm/radeon/kms: fix return type for radeon_encoder_get_dp_bridge_encoder_id

2011-12-02 Thread alexdeuc...@gmail.com
From: Alex Deucher Seems like something got mis-merged here. Noticed by kallisti5 on IRC. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_encoders.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git

[PATCH] drm/radeon/kms: add some new pci ids

2011-12-01 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher Cc: stable at kernel.org --- include/drm/drm_pciids.h |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/include/drm/drm_pciids.h b/include/drm/drm_pciids.h index f81676f..4e4fbb8 100644 ---

[PATCH 3/3] drm/radeon/kms: fix 2D tiling CS support on EG/CM

2011-11-28 Thread alexdeuc...@gmail.com
From: Alex Deucher Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=43191 Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen_cs.c | 149 +++-- drivers/gpu/drm/radeon/evergreend.h | 31 +++ 2 files changed, 154

[PATCH 2/3] drm/radeon/kms: fix scanout of 2D tiled buffers on EG/CM

2011-11-28 Thread alexdeuc...@gmail.com
From: Alex Deucher Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=43191 Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_crtc.c | 35 ++- drivers/gpu/drm/radeon/evergreen_reg.h | 29 ++ 2

[PATCH 1/3] drm/radeon/kms: add some loop timeouts in pageflip code

2011-11-28 Thread alexdeuc...@gmail.com
From: Alex Deucher Avoid infinite loops waiting for surface updates if a GPU reset happens while waiting for a page flip. See: https://bugs.freedesktop.org/show_bug.cgi?id=43191 Signed-off-by: Alex Deucher Cc: stable at kernel.org Cc: Mario Kleiner ---

[PATCH] drm/radeon/kms/atom: unify i2c gpio table handling

2011-11-21 Thread alexdeuc...@gmail.com
From: Alex Deucher Split the quirks and i2c_rec assignment into separate functions used by both radeon_lookup_i2c_gpio() and radeon_atombios_i2c_init(). This avoids duplicating code and cases where quirks were only added to one of the functions. Signed-off-by: Alex

[PATCH] drm/radeon/kms: fix up gpio i2c mask bits for r4xx for real

2011-11-21 Thread alexdeuc...@gmail.com
From: Alex Deucher Fixes i2c test failures when i2c_algo_bit.bit_test=1. The hw doesn't actually require a mask, so just set it to the default mask bits for r1xx-r4xx radeon ddc. I missed this part the first time through. Signed-off-by: Alex Deucher Cc: stable at

[PATCH] drm/radeon/kms: fix segfault in pm rework

2011-11-14 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_atombios.c | 20 +--- 1 files changed, 5 insertions(+), 15 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c

[PATCH] drm/radeon/kms: fix up gpio i2c mask bits for r4xx

2011-11-14 Thread alexdeuc...@gmail.com
From: Alex Deucher Fixes i2c test failures when i2c_algo_bit.bit_test=1. The hw doesn't actually require a mask, so just set it to the default mask bits for r1xx-r4xx radeon ddc. Signed-off-by: Alex Deucher Cc: stable at kernel.org Cc: Jean Delvare ---

[PATCH] drm/radeon: add some missing FireMV pci ids

2011-11-14 Thread alexdeuc...@gmail.com
From: Alex Deucher Noticed by Egbert. Signed-off-by: Alex Deucher Cc: stable at kernel.org Cc: Egbert Eich --- include/drm/drm_pciids.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/drm/drm_pciids.h b/include/drm/drm_pciids.h

[PATCH] drm/radeon/kms/combios: fix dynamic allocation of PM clock modes

2011-11-12 Thread alexdeuc...@gmail.com
From: Alex Deucher I missed the combios path when I updated the atombios pm code. Reported by amarsh04 on IRC. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_combios.c | 27 +++ 1 files changed, 19 insertions(+), 8

[PATCH] drm/radeon/kms: fix use of vram scratch page on evergreen/ni

2011-11-10 Thread alexdeuc...@gmail.com
From: Alex Deucher This hunk seems to have gotten lost when I rebased the patch. Reported-by: Sylvain Bertrand Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH] drm/radeon/kms: make an aux failure debug only

2011-11-08 Thread alexdeuc...@gmail.com
From: Alex Deucher Can happen when there is no DP panel attached, confusing users. Make it debug only. Signed-off-by: Alex Deucher Cc: stable at kernel.org --- drivers/gpu/drm/radeon/atombios_dp.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[PATCH 4/4] drm/radeon/kms/pm: switch to dynamically allocating clock mode array

2011-11-04 Thread alexdeuc...@gmail.com
From: Alex Deucher On newer chips the number of clock modes per power state varies. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h |3 +- drivers/gpu/drm/radeon/radeon_atombios.c | 118 - 2 files changed, 82

[PATCH 3/4] drm/radeon/kms: optimize r600_pm_profile_init

2011-11-04 Thread alexdeuc...@gmail.com
From: Alex Deucher Avoid a lot of extra loops through the pm state array. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r600.c | 100 + 1 files changed, 32 insertions(+), 68 deletions(-) diff --git

[PATCH 2/4] drm/radeon/kms/pm: add a proper pm profile init function for fusion

2011-11-04 Thread alexdeuc...@gmail.com
From: Alex Deucher The new power tables need to be handled differently when setting up the profiles. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c | 51 + drivers/gpu/drm/radeon/r600.c| 58

[PATCH 1/4] drm/radeon/kms: remove extraneous calls to radeon_pm_compute_clocks()

2011-11-04 Thread alexdeuc...@gmail.com
From: Alex Deucher It's already called via the DPMS functions. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_crtc.c |6 -- drivers/gpu/drm/radeon/radeon_legacy_crtc.c |6 -- 2 files changed, 0 insertions(+), 12 deletions(-)

[PATCH] drm/radeon/kms: don't poll forever if MC GDDR link training fails

2011-11-02 Thread alexdeuc...@gmail.com
From: Alex Deucher Bail if we hit the timeout limit. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/ni.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/ni.c b/drivers/gpu/drm/radeon/ni.c index

[PATCH] drm/radeon/kms: fix DP setup on TRAVIS bridges

2011-11-02 Thread alexdeuc...@gmail.com
From: Alex Deucher Supposedly both NUTMEG and TRAVIS should use the same panel mode, but switching the panel mode for TRAVIS gets things working. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=41569 Signed-off-by: Alex Deucher ---

[PATCH 4/4] drm/radeon/kms: add MSI module parameter

2011-11-01 Thread alexdeuc...@gmail.com
From: Alex Deucher Allow the user to override whether MSIs are enabled or not on supported ASICs. MSIs are disabled by default on IGP chips as they tend not to work. However certain IGP chips only seem to work with MSIs enabled. I suspect this is a chipset or bios

[PATCH 3/4] drm/radeon/kms: Add MSI quirk for Dell RS690

2011-11-01 Thread alexdeuc...@gmail.com
From: Alex Deucher Some Dell laptops only seem to work with MSIs. This looks like a platform/bios bug. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=37679 Signed-off-by: Alex Deucher Cc: stable at kernel.org --- drivers/gpu/drm/radeon/radeon_irq_kms.c |6

[PATCH 2/4] drm/radeon/kms: Add MSI quirk for HP RS690

2011-11-01 Thread alexdeuc...@gmail.com
From: Alex Deucher Some HP laptops only seem to work with MSIs. This looks like a platform/bios bug. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=37679 Signed-off-by: Alex Deucher Cc: stable at kernel.org --- drivers/gpu/drm/radeon/radeon_irq_kms.c |7

[PATCH 1/4] drm/radeon/kms: split MSI check into a separate function

2011-11-01 Thread alexdeuc...@gmail.com
From: Alex Deucher This makes it easier to add quirks for certain systems. Signed-off-by: Alex Deucher Cc: stable at kernel.org --- drivers/gpu/drm/radeon/radeon_irq_kms.c | 29 +++-- 1 files changed, 23 insertions(+), 6 deletions(-) diff

[PATCH 4/4] drm/radeon/kms: make atombios_dig_transmitter_setup() version based

2011-10-30 Thread alexdeuc...@gmail.com
From: Alex Deucher Use the table version to determine which params to use. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_encoders.c | 343 ++-- 1 files changed, 221 insertions(+), 122 deletions(-) diff --git

[PATCH 3/4] drm/radeon/kms: make atombios_dig_encoder_setup() version based

2011-10-30 Thread alexdeuc...@gmail.com
From: Alex Deucher set up the params based on the table version number. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_encoders.c | 213 +--- 1 files changed, 128 insertions(+), 85 deletions(-) diff --git

[PATCH 2/4] drm/radeon/kms: make atombios_dvo_setup() version based

2011-10-30 Thread alexdeuc...@gmail.com
From: Alex Deucher Use table version numbers for param setup. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_encoders.c | 63 +-- 1 files changed, 40 insertions(+), 23 deletions(-) diff --git

[PATCH 1/4] drm/radeon/kms: move atom encoder setup to a new file

2011-10-30 Thread alexdeuc...@gmail.com
From: Alex Deucher Leave the common code in radeon_encoders.c and move the atom specific code to atombios_encoders.c. This matches legacy encoder setup and crtc setup. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/Makefile|2 +-

[PATCH] drm/radeon/kms: always do extended edid probe

2011-10-30 Thread alexdeuc...@gmail.com
From: Alex Deucher Rather than having a quirk list just always check the EDID header when probing. This is the recommended behavior according to the display team. This avoids problems with improperly terminated i2c lines on some boards. This is also what the

[PATCH] drm/radeon/kms: allocate vram scratch page on 6xx+

2011-10-27 Thread alexdeuc...@gmail.com
From: Alex Deucher The vram scratch was originally only used on some 7xx asics to work around a hw bug. Allocate the scratch page on all 6xx+ radeons and set the MC_VM_SYSTEM_APERTURE_DEFAULT_ADDR to point to it. We shouldn't ever hit it since we limit the system

[PATCH] drm/radeon/kms: check for DP MST mode in a few more places (v2)

2011-10-26 Thread alexdeuc...@gmail.com
From: Alex Deucher DP MST is DP multi-stream support, part of DP 1.2. v2: switch to a helper macro as suggested by Michel. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_crtc.c |5 +++-- drivers/gpu/drm/radeon/radeon_encoders.c | 20

[PATCH 4/4] drm/radeon/kms/atom: rework encoder dpms

2011-10-26 Thread alexdeuc...@gmail.com
From: Alex Deucher The existing function was getting too big and complex. Break it down into a more manageable set of functions. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_encoders.c | 340 -- 1 files changed, 187

[PATCH 3/4] drm/radeon/kms: only require 2.7 Ghz DP clock for NUTMEG

2011-10-26 Thread alexdeuc...@gmail.com
From: Alex Deucher Use the regular logic for other bridge chips. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_dp.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/atombios_dp.c

[PATCH 2/4] drm/radeon/kms: rework DP bridge checks

2011-10-26 Thread alexdeuc...@gmail.com
From: Alex Deucher Return the encoder id rather than a boolean. This is needed for differentiate between multiple DP bridge chips. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_crtc.c | 12 ++-- drivers/gpu/drm/radeon/atombios_dp.c

[PATCH 1/4] drm/radeon/kms: cleanup atombios_adjust_pll()

2011-10-26 Thread alexdeuc...@gmail.com
From: Alex Deucher The logic was messy and hard to follow. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_crtc.c | 41 ++- 1 files changed, 13 insertions(+), 28 deletions(-) diff --git

[PATCH 2/2] drm/radeon/kms/cayman/blit: specify CP_COHER_CNTL2 with surface_sync

2011-10-25 Thread alexdeuc...@gmail.com
From: Alex Deucher CP_COHER_CNTL2 has to be programmed manually when submitting packets to the ring directly rather than programmed via an IB. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen_blit_kms.c | 11 +++ 1 files changed, 11

[PATCH 1/2] drm/radeon/kms: rework texture cache flush in r6xx+ blit code

2011-10-25 Thread alexdeuc...@gmail.com
From: Alex Deucher Move the TC flush before the texture setup to match mesa and the ddx. Also, move the TC flush into the texture setup function. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen_blit_kms.c |5 -

[PATCH] drm/radeon/kms: remove useless radeon_ddc_dump()

2011-10-25 Thread alexdeuc...@gmail.com
From: Alex Deucher The function didn't work with DP, eDP, or DP bridge connectors and thus confused users as it lead them to believe nothing was connected or the EDID was invalid when in fact is was, just on the aux bus rather an i2c. It should also speed up module

[PATCH] drm/radeon/kms/atom: fix handling of FB scratch indices

2011-10-18 Thread alexdeuc...@gmail.com
From: Alex Deucher FB scratch indices are dword indices, but we were treating them as byte indices. As such, we were getting the wrong FB scratch data for non-0 indices. Fix the indices and guard the indexing against indices larger than the scratch allocation. Fixes

[PATCH] drm/radeon/kms/atom: check fb scratch array access

2011-10-18 Thread alexdeuc...@gmail.com
From: Alex Deucher Check access to the fb scratch array to avoid accessing memory past the end of the array. Signed-off-by: Alex Deucher Cc: stable at kernel.org --- drivers/gpu/drm/radeon/atom.c | 15 +-- drivers/gpu/drm/radeon/atom.h |1 + 2

[PATCH] drm/radeon/kms: make r600-NI blit suspend code common

2011-10-14 Thread alexdeuc...@gmail.com
From: Alex Deucher r600-NI shared the same blit suspend code. Clean it up and make it a shared function. Signed-off-by: Alex Deucher Cc: Ilija Hadzic --- drivers/gpu/drm/radeon/evergreen.c | 10 +- drivers/gpu/drm/radeon/ni.c| 10 +-

[PATCH 3/3] drm/radeon/kms/DCE4.1: fix Select_CrtcSource EncodeMode setting for DP bridges (v2)

2011-10-12 Thread alexdeuc...@gmail.com
From: Alex Deucher Settings in this table reflect the physical panel/connector rather than the internal dig encoding. v2: fix typo for DRM_MODE_CONNECTOR_VGA case. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_encoders.c | 12 +++- 1 files

[PATCH 3/3] drm/radeon/kms/DCE4.1: fix Select_CrtcSource EncodeMode setting for DP bridges

2011-10-12 Thread alexdeuc...@gmail.com
From: Alex Deucher Settings in this table reflect the physical panel/connector rather than the internal dig encoding. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_encoders.c | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-)

[PATCH 2/3] drm/radeon/kms/DCE4.1: ss is not supported on the internal pplls

2011-10-12 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 1/3] drm/radeon/kms/DCE4.1: fix dig encoder to transmitter mapping

2011-10-12 Thread alexdeuc...@gmail.com
From: Alex Deucher llano has fully routeable dig encoders similar to DCE3.2 while ontario has a hardcoded mapping similar to DCE4.0. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_encoders.c | 13 + 1 files changed, 9 insertions(+), 4

[PATCH 2/2] drm/radeon/kms: handle !force case in connector detect more gracefully

2011-10-07 Thread alexdeuc...@gmail.com
From: Alex Deucher When force == false, we don't do load detection in the connector detect functions. Unforunately, we also return the previous connector state so we never get disconnect events for DVI-I, DVI-A, or VGA. Save whether we detected the monitor via load

[PATCH 1/2] drm/radeon/kms: bail early in dvi_detect for digital only connectors

2011-10-07 Thread alexdeuc...@gmail.com
From: Alex Deucher DVI-D and HDMI-A are digital only, so there's no need to attempt analog load detect. Also, skip bail before the !force check, or we fail to get a disconnect events. The next patches in the series attempt to fix disconnect events for connectors with

[PATCH] drm/radeon/kms: use hardcoded dig encoder to transmitter mapping for DCE4.1

2011-10-05 Thread alexdeuc...@gmail.com
From: Alex Deucher The encoders are supposedly fully routeable, but changing the mapping doesn't always seem to take. Using a hardcoded mapping is much more reliable. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=41366 Signed-off-by: Alex Deucher Cc: stable

[PATCH] drm/radeon/kms: set DMA mask properly on newer PCI asics

2011-10-05 Thread alexdeuc...@gmail.com
From: Alex Deucher If a card wasn't PCIE, we always set the DMA mask to 32 bits. This is only applies to the old rage128/r1xx gart block on early radeon asics (~r1xx-r4xx). Newer PCI and IGP cards can handle 40 bits just fine. Signed-off-by: Alex Deucher Cc: Chen

[PATCH] drm/radeon/kms: retry aux transactions if there are status flags

2011-10-04 Thread alexdeuc...@gmail.com
From: Alex Deucher If there are error flags in the aux status, retry the transaction. This makes aux much more reliable, especially on llano systems. Signed-off-by: Alex Deucher Cc: stable at kernel.org --- drivers/gpu/drm/radeon/atombios_dp.c | 12 +--- 1

[PATCH] drm/radeon/kms: fix dp_detect handling for DP bridge chips

2011-10-04 Thread alexdeuc...@gmail.com
From: Alex Deucher The HPD pin is not reliable for detecting whether a monitor is connected or not. Skip HPD and just use DDC or load detection. Fixes phantom VGA connected bugs. Signed-off-by: Alex Deucher Cc: stable at kernel.org ---

[PATCH] drm/radeon/kms: fix channel_remap setup (v2)

2011-10-04 Thread alexdeuc...@gmail.com
From: Alex Deucher Most asics just use the hw default value which requires no explicit programming. For those that need a different value, the vbios will program it properly. As such, there's no need to program these registers explicitly in the driver. Changing

[PATCH] drm/radeon/kms: fix channel_remap setup

2011-10-04 Thread alexdeuc...@gmail.com
From: Alex Deucher Most asics just use the hw default value which requires no explicit programming. For those that need a different value, the vbios will program it properly. As such, there's no need to program these registers explicitly in the driver. Changing

[PATCH 2/2] drm/radeon/kms: add retry limits for native DP aux defer

2011-10-03 Thread alexdeuc...@gmail.com
From: Alex Deucher The previous code could potentially loop forever. Limit the number of DP aux defer retries to 4 for native aux transactions, same as i2c over aux transactions. Noticed by: Brad Campbell Signed-off-by: Alex Deucher Cc: Brad Campbell Cc: stable

[PATCH 1/2] drm/radeon/kms: fix regression in DP aux defer handling

2011-10-03 Thread alexdeuc...@gmail.com
From: Alex Deucher An incorrect ordering in the error checking code lead to DP aux defer being skipped in the aux native write path. Move the bytes transferred check (ret == 0) below the defer check. Tracked down by: Brad Campbell Fixes:

[PATCH] drm/radeon/kms: Fix logic error in DP HPD handler

2011-10-03 Thread alexdeuc...@gmail.com
From: Alex Deucher Only disable the pipe if the monitor is physically disconnected. The previous logic also disabled the pipe if the link was trained. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=41248 Signed-off-by: Alex Deucher Cc: stable at kernel.org ---

[PATCH] drm/radeon/kms: fix DDIA enable on some rs690 systems

2011-09-22 Thread alexdeuc...@gmail.com
From: Alex Deucher DVOOutputControl checks the value of of bios scratch reg 3 on some tables and assumes the encoder is already enabled if the DFP2_ACTIVE bit is set. Clear that bit so the table sets the DDIA enable bit properly. Signed-off-by: Alex Deucher Cc:

[PATCH 2/2] drm/radeon/kms: Make GPU/CPU page size handling consistent in blit code (v2)

2011-09-16 Thread alexdeuc...@gmail.com
From: Alex Deucher The BO blit code inconsistenly handled the page size. This wasn't an issue on system with 4k pages since the GPU's page size is 4k as well. Switch the driver blit callbacks to take num pages in GPU page units. Fixes lemote mipsel systems using AMD

[PATCH 1/2] drm/radeon/kms: fix typo in r100_blit_copy

2011-09-16 Thread alexdeuc...@gmail.com
From: Alex Deucher cur_pages is the number of pages per loop iteration. Signed-off-by: Alex Deucher Cc: stable at kernel.org --- drivers/gpu/drm/radeon/r100.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/r100.c

[PATCH] drm/radeon/kms: fix DP detect and EDID fetch for DP bridges

2011-09-02 Thread alexdeuc...@gmail.com
From: Alex Deucher Sink type is always DP for DP bridges and EDID fetch on DP bridges is always i2c over aux rather than plain i2c. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_connectors.c | 37 ++--

[PATCH] drm/radeon/kms: make sure pci max read request size is valid on evergreen+ (v2)

2011-09-01 Thread alexdeuc...@gmail.com
From: Alex Deucher If the bios or OS sets the pci max read request size to 0 or an invalid value (6,7), it can result in a hang or slowdown. Check and set it to something sane if it's invalid. Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=42162 v2: use pci reg

[PATCH] drm/radeon/kms: make sure pci max read request size is valid on evergreen+

2011-09-01 Thread alexdeuc...@gmail.com
From: Alex Deucher If the bios or OS sets the pci max read request size to 0 or an invalid value (6,7), it can result in a hang or slowdown. Check and set it to something sane if it's invalid. Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=42162 Signed-off-by:

[PATCH] drm/radeon/kms: add s/r quirk for Compaq Presario V5245EU

2011-08-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Fixes resume on Compaq Presario V5245EU. Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=41642 Signed-off-by: Alex Deucher Cc: stable at kernel.org --- drivers/gpu/drm/radeon/radeon_combios.c |8 1 files changed, 8 insertions(+),

[PATCH] drm/radeon/kms: don't try to be smart in the hpd handler

2011-08-13 Thread alexdeuc...@gmail.com
From: Alex Deucher Attempting to try and turn off disconnected display hw in the hotput handler lead to more problems than it helped. For now just register an event and only attempt the do something interesting with DP. Other connectors are just too problematic: -

[PATCH] drm/radeon/kms: fix regression is handling >2 heads on cedar/caicos

2011-08-11 Thread alexdeuc...@gmail.com
From: Alex Deucher Need to add support for 4 crtcs when setting the possible crtcs for the encoders. Signed-off-by: Alex Deucher Cc: stable at kernel.org --- drivers/gpu/drm/radeon/radeon_encoders.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff

[PATCH] drm/radeon/kms: don't enable connectors that are off in the hotplug handler

2011-08-09 Thread alexdeuc...@gmail.com
From: Alex Deucher If we get a hotplug event on an connector that is off, don't attempt to turn it on or off, it should already be off. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=728228 Signed-off-by: Alex Deucher Cc: stable at kernel.org ---

[PATCH] drm/radeon/kms: make some watermark messages debug only

2011-08-04 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c index 401c6eb..fe73da7 100644 ---

[PATCH] drm/radeon/kms: add thermal chip quirk for asus 9600xt

2011-07-30 Thread alexdeuc...@gmail.com
From: Alex Deucher The board has an lm63 compatible thermal chip, but no thermal chip entry in the vbios tables. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=39513 Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_combios.c | 21

[PATCH] drm/radeon/kms: fix version comment due to merge timing

2011-07-27 Thread alexdeuc...@gmail.com
From: Alex Deucher Compute cs support was actually added in 2.11.0 rather than 2.10.0, but the patch was written prior. Update comment to match. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_drv.c |4 ++-- 1 files changed, 2 insertions(+), 2

[PATCH] drm/radeon/kms: add missing vddci setting on NI+

2011-07-25 Thread alexdeuc...@gmail.com
From: Alex Deucher Need to add vddci setting to pm init as well as resume. Fixes hangs on load on some boards. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=38754 Signed-off-by: Alex Deucher Cc: stable at kernel.org --- drivers/gpu/drm/radeon/radeon_pm.c |

[PATCH] drm/radeon/kms: fix i2c map for rv250/280

2011-07-23 Thread alexdeuc...@gmail.com
From: Alex Deucher Those chips have crt2_ddc bus. Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=39672 Signed-off-by: Alex Deucher Cc: stable at kernel.org --- drivers/gpu/drm/radeon/radeon_combios.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)

[PATCH] drm/radeon/kms: add info query for backend map

2011-07-15 Thread alexdeuc...@gmail.com
From: Alex Deucher <alexdeuc...@gmail.com> The 3D driver need to get the pipe to backend map to certain things. Add a query to get the info. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c |1 + drivers/gpu/drm/radeon/ni.c |1 + drivers/gpu/drm/radeo

[PATCH] drm/radeon/kms: fix i2c pad masks on rs4xx

2010-11-18 Thread alexdeuc...@gmail.com
From: Alex Deucher <alexdeuc...@gmail.com> These got lost in the last i2c cleanup. Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=23222 Signed-off-by: Alex Deucher Cc: stable at kernel.org --- drivers/gpu/drm/radeon/radeon_combios.c | 13 + 1 files changed, 13 inse

[PATCH] drm/radeon/kms: set encoder type to DVI for HDMI on evergreen

2010-08-20 Thread alexdeuc...@gmail.com
From: Alex Deucher <alexdeuc...@gmail.com> Fixes the pink line that shows up with some hdmi monitors. This will need to be revisited when audio support is added. Fixes: http://bugs.freedesktop.org/show_bug.cgi?id=27452 Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_enco

<    1   2   3   4   5   6