summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-07-17xf86-video-radeonhd: remove the GlxSetVisualConfigs stub and friendsHEADmasterEmil Velikov3-154/+5
The function was an empty since 2008 at least. Remove it alongside the unused GLX visuals code. With this all the GL/GLX dependencies in the driver are gone. Note: the driver currently does not build if XAA is missing Cc: Matthias Hopf <mhopf@suse.de> Signed-off-by: Emil Velikov <emil.velikov@collabora.com> --- Analogous to the earlier VIA one - patch is for posterity. Feel free to pick or ignore.
2010-05-12Fix typo in 74dde3629.Matthias Hopf1-1/+1
Found by Jens Lody.
2010-05-10Compilation fix on NetBSD (ACPI code)Pierre Pronchery1-1/+1
Signed-off-by: Matthias Hopf <mhopf@suse.de>
2010-04-26Fix crash in R300CheckComposite() due to broken pSrcPicture.Matthias Hopf1-0/+3
Date: Tue, 06 Apr 2010 10:37:18 +0200 From: Michel Dänzer <michel@daenzer.net> Subject: Re: xserver 1.8.0 radeonhd crashing Most likely pSrcPicture->pDrawable is NULL (i.e. it's a source-only, solid or gradient picture) in R300CheckComposite(), and that fails to check the pointer before dereferencing it.
2010-04-19Fix compilation in non-DRI case (invalid storage class errors).Matthias Hopf1-1/+1
2010-04-01Fix build with --disable-atombios. Again.Matthias Hopf5-5/+16
2010-03-25Load DRM module in probe() to check whether KMS is enabled.Matthias Hopf1-0/+8
This doesn't completely conform with the notion that probe() should return with all resources freed. However, resources are outside the Xserver in this case. X configuration is unknown at probe time. Thus this cannot be disabled even with option nodri.
2010-03-25Silence gcc 4.5.0 (enum comparisons).Matthias Hopf1-9/+17
2010-03-25Fix DVI DualLink detection.Matthias Hopf1-1/+1
2010-03-25Grmbf. Fix KMS detection for good.Matthias Hopf1-1/+1
2010-03-25Fix KMS test compilation.Matthias Hopf2-3/+8
2010-02-16Don't declare RHDKMSEnabled w/o libpciaccess availble.Matthias Hopf1-0/+2
2010-01-19ATOM: Upstream parser updatesAlex Deucher2-1/+7
2010-01-18- Add debugging to RHDCloseScreen.Egbert Eich1-1/+2
2010-01-18Fix wrong mask value for fractional pll divider.Egbert Eich1-2/+2
This issue was pointed out to us by Peter Blum.
2010-01-18Probe: Move KMS test to rhd_dri.c.Egbert Eich3-46/+39
2010-01-18Configure: Only compile the KMS check code if xf86drmMode.h is actually present.Egbert Eich2-0/+15
2010-01-18Probe: Only allow this driver when KMS is not present.Hans Ulrich Niedermann1-0/+46
If kernel modesetting (KMS) is detected and active, we abort the PciProbe and do not touch the GPU in any way. Then at least the KMS console continues working, and there is an error message for the user to read. This is only temporary until KMS has been added to this driver.
2010-01-15Update Sun license notices to current X.Org standard formAlan Coopersmith1-22/+19
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-07updated ObjectID.hAlex Deucher1-1/+126
2009-12-28Fix incorrect LIST_END macro.Jonathan Kollasch1-1/+1
The radeonhd matching table has a incorrect LIST_END macro. This causes xorg -configure to do silly things like configure a radeonhd entry for every PCI function in the system. Signed-off-by: Matthias Hopf <mhopf@suse.de>
2009-12-28Bugfixing and a bit cleanupChristian König2-3/+2
Should fix assert in rhd_dig.c and removes RHDHdmiCommitAudioWorkaround, from AllocFree becuase it's later called anyway. Signed-off-by: Matthias Hopf <mhopf@suse.de>
2009-12-28HDMI audio support for RV710 and RV730.Christian König6-45/+90
This patch adds audio support for the RV710 and RV730 chipsets. A special "Thank you" goes to Andrew Wasielewski, for finding the 0x7604 register dependency, submitting a bunch of logs and testing really a lot of different patches until we figured this out completely. Signed-off-by: Matthias Hopf <mhopf@suse.de>
2009-12-21ATOM: add newer power table defsAlex Deucher1-1/+198
2009-12-08Fix build for w/o USE_DRI.Matthias Hopf1-5/+6
2009-11-28Blacklist: Marking 0x9710, 0x1043, 0x83A2 hotplug unusable.Egbert Eich1-0/+1
Reported by Andreas Bittner.
2009-11-26conntest: Update PCI ID list.Egbert Eich1-9/+66
2009-11-12PM: Validate known good configurations as well.Matthias Hopf1-17/+18
In some AtomBIOSes voltage values are broken (e.g. 0xff01).
2009-11-12Correct copyright information.Matthias Hopf1-6/+5
2009-11-11Change wording for amount of mapped memory.Matthias Hopf1-2/+3
2009-11-11DMS59: Marking 0x7183, 0x1002, 0x0D02 as such.Egbert Eich1-0/+1
Reported by Dmitry Rybin.
2009-11-10AtomBIOS/PM: Add size checks to Voltage Info parser.Egbert Eich2-16/+24
Some VoltageInfo tables seem to be inconsistent. Check sizes so that we don't accidentally read beyond the end of the BIOS.
2009-11-09AtomBIOS/PM: Detect wrong size value in VoltageObj table.Egbert Eich1-0/+4
Some Voltage Object tables contain a size of 0. If this isn't caught the driver will hang in an endless loop.
2009-11-06DRI: Get number of pipes from DRM if possible.Egbert Eich4-5/+60
2009-11-062D/3D: Fix Lockups on R5XX when running DRI clients with EXA/Textured Video.Egbert Eich3-38/+17
Don't read out or set pipe parameters when engine is active. Doing so might lock up the engine. This fixes a long standing issue with 2D acceleration on R5xx.
2009-11-06Accel: Insert proper waits for 2D/3D engine idles when switching between the ↵Egbert Eich4-6/+21
two contexts.
2009-11-06I2C: Fix I2C readout.Egbert Eich1-0/+7
The Radeon driver attempts to save/restore the hw scaler registers by reading/writing the range of registers which address the video scaler. While doing so it also touches the TAP Control index/data registers. Uncontrolled touching of the data register seems to have an adverse effect on the ability to run HW supported I2C read out. This running RadeonHD after running the Radeon driver results in no DDC data. The reason for this has not been understood however it has been found experimentally that reading back the scaler data register is able to 'fix' this issue. We put this hacky workaround in the code until we obtain a better understanding of the issue.
2009-11-06Scaler: Add support to send TV mode the HW scaler.Egbert Eich5-9/+47
AtomBIOS takes in a TV mode to determine the correct multi tab values. Although TV mode support has not been completed this patch adds support for this. It also replaces scaler register values by their symbolic names.
2009-10-30Backlight: Some cosmetics to ACPI backlight support.Egbert Eich1-7/+19
2009-10-30Backlight: ACPI backlight support for FreeBSDJung-uk Kim1-2/+67
This patch adds support for FreeBSD and DragonFlyBSD via acpi_video(4). Signed-off-by: Egbert Eich <eich@freedesktop.org>
2009-10-29Monitor/Panel: Move mode line sanitization code.Egbert Eich3-15/+40
Mode line sanitization may change the HSync and VRefresh values. Therefore it needs to be done before the Panel H/V ranges are determined. Also report if a mode had to be sanitized.
2009-10-28Mode: Be more verbose on reporting mode rejections.Egbert Eich3-4/+6
2009-10-28DIG: Improve code readability by using names for bits.Egbert Eich2-3/+6
2009-10-26Add Fallback DAC Load Detection Method for chips >= RV620.Egbert Eich2-16/+217
There are two methods of doing DAC load detection on DCE3.x chips: one works 'on the fly' ie doesn't produce noticeable flickering but doesn't work as reliably on some chips RS780 especially in connection with a KVM switch where it may produce a false negative, the other may produce some visible artefacts but also seems to work reliably with KVM switches. It's the one used in most AtomBIOSes. We now use both methods: if the 'on the fly' one produces a negative result we fall back to the other one and let it decide wether something is connected or not.
2009-10-26Print out value of MC status register if it is busy when tested.Egbert Eich1-47/+63
2009-10-19Fix backlight readout thru AtomBIOS.Egbert Eich1-1/+1
The correct value was not read out as 'Set' was called instead of 'Get'.
2009-10-15rs880: fix gart typeAlex Deucher1-1/+2
rs880 needs to be treated as pcie just like rs780. Fixes DRI init.
2009-10-12configure: Remove check for GL/gl.hYang Zhao1-4/+0
Check was introduced by 69d4dabe27aba0ed6aff52d210b045876ed36fce, supposedly to work around an old Ubuntu bug. We use GL/glxtokens.h and GL/glxint.h but not GL/gl.h, which is not part of glproto anyway. Removing the check. If this end up causing problems, we can add explicit checks for the proper headers.
2009-10-12Fix compilation with xf86_ansic.hMatthias Hopf1-0/+1
2009-10-09pm: Recalculate I2C clock on engine clock setting.Matthias Hopf3-32/+55
On pre-R6xx the DDC clock is derived from the engine clock, thus changing the engine clock implies that the DDC clock is to be updated as well.