summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-08-25Add bicubic texture table, as well as the script used to (re)generate it. To ↵Corbin Simpson
regenerate, just run "python bicubic_table.py > bicubic_table.h".
2008-08-20radeon: Fix pasto in connector table setup for vga powerbooksBryce Harrington
fixes bug 17214
2008-08-14Make sure video offerlay offsets don't exceed the hardware limit of 128 MB.Michel Dänzer
Always set the overlay base address such that the buffer offsets are as small as possible. This could still break in theory if the buffers were more than 128 MB apart, but in reality this can't happen ATM because we always allocate a single memory area for all buffers. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=16845 .
2008-08-14PLL adjustmentsAlex Deucher
Seems higher dotclocks prefer a higher FB div. Someone with a lot of should try and find out where the div sweet spots are for various dotclock ranges. fixes bug 17125
2008-08-13Remove reset of 3D scissor registers when using the CP in the ddxAlex Deucher
They should only affect 3D and init3d() should take care of that case noticed by libv on IRC.
2008-08-12radeon: add 0x9441 for hd 4870 x2Dave Airlie
thanks to Michael Larabel for testing
2008-08-08Further cleanup and unification of i2c codeAlex Deucher
- unify the ddc and i2c code - add gpio mask support for legacy chips - remove the magic gpio dance for ancient monitors (if you have an ancient monitor that ddc stops working on let me know). This should speed up DDC on legacy chips. -- radeon sw gpio i2c -- 4 sets of gpio registers for clk and data and corresponding bit masks mask - locks the gpio for use by sw get - reads the value off the gpio pad put - sets the gpio direction to output a - "other stuff" On legacy chips you clear them if you want to use a gpio for i2c. In some cases they are used for the output value when the gpio in the output state.
2008-08-08Fix VT switching on M6 chipsAlex Deucher
Some M6 chips have a faulty MEM_SIZE register that in some cases reports 0 on 8 MB cards. On EnterVT we check the MEM_SIZE reg as a check to see if the card is posted or not. Since this reg returns 0, the driver attempts to post the card which can lead to a hang. Switch this to check if either crtc is active as is done in the bios init code. fixes bug 13994
2008-08-07RS4xx DDC fixes take 3Alex Deucher
2008-08-06RS4xx: Fix up ddc gpioAlex Deucher
- I mixed up the regs previously
2008-08-06Remove un-needed dac check for single crtc cardsAlex Deucher
Connector tables should be setup properly already and this check breaks systems with 2 DACs and 1 crtc like the es1000.
2008-08-05IGP: fix typo in IGP quirk handlingAlex Deucher
2008-08-05IGP: attempt to get external TMDS workingAlex Deucher
RS4xx chips have a tmds init table in the mobile info table
2008-08-05IGP: Updated quirk handlingAlex Deucher
- Hopefully finally fix DDC on RS4xx chips - RS3xx/RS4xx do not have internal TMDS - general quirk handling cleanup - we don't currently support mm gpio for external TMDS so return false.
2008-08-04IGP: add support for NTSC tv-out on legacy IGP chipsCalvin Fong
Patch from Calvin with some cleanups from me. No support for PAL yet.
2008-08-04radeon: make r600 use i2c table lookup for ddc.Dave Airlie
This may fix DDC on rv770 cards.
2008-07-29Change prim types for exa and textured video to help avoid tearingAlex Deucher
- r1xx - switch from tri fan to rect list - r2xx/r3xx/r4xx/r5xx - switch from tri fan to quad list
2008-07-29Increase default GART size to 32MB on >=R300Brice Goglin
2008-07-28Fix error in driver connector table for powerbook w/ vgaAlex Deucher
2008-07-28Add quirk for oem x300 cardAlex Deucher
- debian bug 492457
2008-07-28radeon: don't call ioctl unless DRI is initialisedOwain Gordon Ainsworth
2008-07-21First pass at InitDispBandwidth() for AVIVO chipsAlex Deucher
- support for LB allocation - MC priority bumps for display1/2 on RV515 variants and RS690 If you are having display underflow problems (flickering on sides of screen in high res modes, etc.) on RV515 or RS690 boards, try setting: Option "DisplayPriority" "HIGH" in your config. - still no support for full display watermark programming yet Something similar might be useful in rhd as well.
2008-07-21Interlaced mode fixups for AVIVO chipsAlex Deucher
2008-07-21Clear display priority bits before resetting themAlex Deucher
2008-07-21Clean up legacy display watermark setupAlex Deucher
- makes crtc1 and crtc2 watermark setup independant. - fixes the case where only crtc2 is active
2008-07-21Call DRM modeset ioctl after the IRQ has been initialized.Michel Dänzer
This lets the DRM know it can safely disable the vblank interrupts.
2008-07-19Add oem quirk for external tmds setup on Dell Inspiron 8600Alex Deucher
Noticed by fnord42 on IRC.
2008-07-17Fix console switch on R500Benjamin Herrenschmidt
This patch fixes the console switch for me on R5xx. There are two aspects to it: - Fix the ordering of avivo_restore() to better match what's happening in the driver & ATOM, properly locking/unlocking and only enabling the CRTCs after everything has been properly programmed. - Don't ASIC_INIT if the card has any CRTC enabled. This is the best I came up with for avoiding spurrious ASIC_INIT on cards that -are- POSTed but don't have the BIOS coming from c0000 on x86. The problem with spurrious ASIC_INIT is that we do it before we do RADEONSave(), so that screws up the console switch. Note that I think we also should save/restore the palette, I don't think we do. right now, it's a minor issue for me because I fixed offb to be able to set it on AVIVO's but it might still have to be done in the long run. Tested with a VGA analog setup on DACA and a DVI setup on TMDS 0. I haven't tested any other combo but that should get us going. Cheers, Ben. Signed-off-by: Dave Airlie <airlied@redhat.com>
2008-07-15ATOM: fix for r4xx cards with no VRAM_Usage tablesAlex Deucher
fixes bug 15954
2008-07-14ATOM: Add support for UpdateCRTC_DoubleBufferRegisters cmd tableAlex Deucher
locks/unlocks the crtc/grph/mode regs before updating the crtc
2008-07-14Link with -lpciaccess and -ldrm if neededJulien Cristau
This makes sure the driver ends up with a DT_NEEDED reference to the libraries it's using.
2008-07-13Only declare local variable when it's used.Michel Dänzer
2008-07-12atombios: fix typo in mode conversion for panelDave Airlie
2008-07-12atombios: use macro to get offset into tableDave Airlie
2008-07-12pciid: add radeon HD3850.Dave Airlie
pci id from legume on #radeon
2008-07-11R300: NUM_FPU adjustments for VAP_CNTLAlex Deucher
2008-07-11Make sure cursor offsets are properly aligned when using EXAAlex Deucher
2008-07-11Fix cursor with multi-head and rotationAlex Deucher
2008-07-08Add quirk for Falcon NW laptopAlex Deucher
2008-07-08atombios: add support for other endians.Benjamin Herrenschmidt
This is a cleaned up (in as much as atombios can be..) of benh's patch. airlied - removed benh's debugging for now, it might need to be put back later..
2008-07-08rv770 initial supportDave Airlie
adds pci ids and one register from AMD code
2008-07-07clamp tex coords (r100/r200) for textured videoRoland Scheidegger
fixes bug 14904
2008-07-04Revert "rotate: fix rotation in conf file."Alex Deucher
This reverts commit 22c6ca0d5d226c725ba448e5db63fdba9e32332c. There seems to be an ordering issue in that causes a nasty hang if the DRI is enabled. This needs more investigation.
2008-07-03rotate: fix rotation in conf file.Dave Airlie
need to set modes after init accel architecture reported-by: Christoph Bartoschek <bartoschek@or.uni-bonn.de>
2008-07-03radeon: drop all use of CPMode.Dave Airlie
We never test the other codepath and I don't think I've ever recommended it for anyone.
2008-07-01Add pci id for FireMV 2400Wolke Liu
2008-06-30RS4xx: enable the DRI by default on all variantsAlex Deucher
Some RS4xx chips had the DRI disabled by default. With the recent drm and ddx changes these chips have been reported to work now with the DRI.
2008-06-28Restore versioning of interface for Mesa DRI driver.Michel Dänzer
This doesn't have anything to do with the package version.
2008-06-27RADEON: IGP VGA fixes take 2Alex Deucher
It seems only RS300/350/400/480 are missing the primary dac See bug 15708
2008-06-27Revert "IGP: attempt to fix VGA on IGP chips"Alex Deucher
This reverts commit e78e8a21b4040cd7f1983c241c860d9209398396.