summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-01-25radeon/kms: only enable EXA pixmaps under kms if we support render accelDave Airlie
I've seen RN50s with 64MB of RAM that are slow as molasses, this should fix them. RH bug 556400 Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-22Remove unnecessary checks.Kusanagi Kouichi
Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp>
2010-01-19ATOM: Upstream parser updatesAlex Deucher
2010-01-18r6xx/r7xx: emit relocation for FRAG & TILE bufferJerome Glisse
FRAG & TILE buffer are unused but still they need to be associated with a valid relocation so that userspace can't try to abuse them to overwritte GART and then try to write anywhere in system memory.
2010-01-14displayport: fix DDC on DVI->DP convertors.Dave Airlie
Seems we have to not do auxch DDC if we aren't talking to a DP sink.
2010-01-11rv100: fix typo in fix for bug 25992Alex Deucher
Noticed by Maarten Maathuis.
2010-01-11rv100: reject modes >135 Mhz with DVIAlex Deucher
Due to heat issues. fixes bug 25992 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-01-08radeon/kms: add new strings for eDP and TVAlex Deucher
2010-01-07radeon: fallback to i2c for edid if aux failsAlex Deucher
In case of a DP->DVI adapter for example.
2010-01-07radeon: add initial support for eDP (embedded DisplayPort)Alex Deucher
Should fix fdo bug 25931
2010-01-07radeon: updated ObjectID.hAlex Deucher
2010-01-04radeon: fix LVDS power sequence on Mac cardsAlex Deucher
Noticed by John R. Dunning. Fix taken from radeonfb. I'm not sure if this sequence would be useful on any PC laptops or not so make it mac specific for now.
2009-12-22radeon: add cvt timing if we only have panel w/hAlex Deucher
fixes mac laptops without an edid Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-12-21ATOM: add new power table defsAlex Deucher
2009-12-21radeon: use new libdrm apiDave Airlie
2009-12-16src/Makefile.am: missing 3 header files in tarballGaetan Nadon
radeon_dummy_bufmgr.h radeon_vbo.h simple_list.h Replace leading spaces with tab for radeon_atomwrapper.h Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-12-15fix 200M freezes on VT switch if CRTC is disabledMatthias Hopf
It appears that RS4xx chips need to have the crtc enabled when the timing is programmed. agd5f: minor fixes/cleanup of the original patch
2009-12-14dri: be more useful if disabling DRI due to KMS/UMS mismatch.Corbin Simpson
It's only fair. Compile-tested only. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-12-10ATOM: split set base/format into separate functionsAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-12-09AVIVO: add new PLL codeAlex Deucher
This should hopefully help the problems with flickering and blinking monitors reported on some systems. If there are problems, the old PLL algorithm can be selected with: Option "NewPLL" "FALSE" in the device section of your X config. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-12-03radeon: fix crtc2 dpmsMatthijs Kooijman
noticed by Matthijs Kooijman on fdo bug 22140
2009-12-02radeon: only read RADEON_PPLL_REF_DIV for ref div on pre-avivoAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-12-02radeon: Lift hardcoded limit from RADEONQueryImageAttributesKusanagi Kouichi
The dimension of an XvImage is limited to 2048 x 2048 even if an adaptor supports larger image. XvCreateImage and XvShmCreateImage lower the width or height of an image. XvPutImage and XvShmPutImage return BadValue. The cause is that 2048 is hardcoded in RADEONQueryImageAttributes.
2009-12-02Merge remote branch 'origin/displayport'Dave Airlie
2009-12-01r600: fix multi-operation in single batch support.Dave Airlie
This ports the mesa DMA buffer handling with the 3 lists, Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-30R600: fix some warningsKusanagi Kouichi
2009-11-30atom: pull misc mode info for lvds panel mode from bios tablesAlex Deucher
sync polarity, etc. This will likely fix LVDS problems on some laptops. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-27radeon: clean up DP codeAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-27r600/accel: cleanup and merge a lot of the accel functionsDave Airlie
All of the drawing ops were the exact same modulo the vtx size, this along with the vertex buffer wrapping code could all be consolidated into a smaller set of functions. This also adds 2 VBO which we switch between, and merges a #define to enable the multiple operations in one CS under KMS mode. Multi-operation still isn't working though. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-26dce3: CV1/TV1OutputControl tables didn't go away until dce3.2Alex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-26kms: Fix resizing when acceleration is disabledJerome Glisse
When acceleration is disabled we need to reallocate a new shadow framebuffer and we should also avoid calling any EXA function as EXA is disabled in such case.
2009-11-26dce3: no CV1 or TV1 Output Control tables anymore.Dave Airlie
According to the DCE3 docs we should only use DAC1/2 not CV1/TV OutputControl, also my rv730 bios doesn't have any CV1/TV tables. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-26atombios: CV mode retrival was broken.Dave Airlie
a) crev and frev are reversed b) my rv730 bios only has one mode in it, so bounds check the table size.
2009-11-26radeon: fix typo in unused as of yet CV codeDave Airlie
2009-11-26fixes displayport for me hereDave Airlie
2009-11-26displayport: cleanup call dp from dpms on instead.Dave Airlie
2009-11-25dri2: Use drmGetDeviceNameFromFd() instead of open coded loop.Kristian Høgsberg
2009-11-25Revert "r600: enable multiple operations in one CS"Dave Airlie
turn this off for now, on my rv635 desktop, I started getting blanks in places in firefox and the odd bit of font corruption, need to track that down. This reverts commit 985a065518b1d33599de33f7fe082d3302db58a6.
2009-11-25radeon/exa: change option to determine exa pixmap usage.Dave Airlie
This moves to a boolean instead of using VRAM sizing. as per Michel's suggestions on list. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-25r600/xv: drop inited 3d false in xv codeDave Airlie
2009-11-25r600: enable multiple operations in one CSDave Airlie
This switches on multiple ops in a single CS under KMS/DRI2. It gets for on a Pentium D 3 + rv740 from 330,000 to 500,000 with x11perf -aa10text. It also knocks a couple of seconds of gtkperf -a Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-25r600: fixup problems with EXA operation reset for multiple opsDave Airlie
To put multiple ops into one CS, you can't just discard the whole IB. This add supports for reset the CS cdw to the correct place after an op discards. Still doesn't enable the final accel bits.
2009-11-25kms: flush cs on close screen.Dave Airlie
this is needed for server recycle. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-25radeon: fix check for no work in operationDave Airlie
2009-11-25r600: refactor code to help future acceleration speedups.Dave Airlie
This changes the vertex buffer index to be an offset, and records the start of the vb for each operation and uses that to set the operations up. This still flushes after each operation to make sure we have no regressions in non-kms/kms cases. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-25kms: allow prepare copy to fail without dyingDave Airlie
2009-11-24radeon/kms: drop special r600 indirect flushDave Airlie
This just merges it with the main kms cs flush
2009-11-24r600: enable mixed pixmapsDave Airlie
2009-11-23DCE3.2: fix uniphy2 dvi issuesAlex Deucher
In some cases the atom transmitter table sets the golden value of this reg differently which some monitors don't like. I haven't had time to dig further, so this works around it for now. Fixes fdo bug 24313 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-23radeon: fix warning in printfDave Airlie