summaryrefslogtreecommitdiff
path: root/src/Makefile.am
AgeCommit message (Collapse)Author
2018-07-09glamor: Use GBM for BO allocation when possibleMichel Dänzer
Inspired by amdgpu. This avoids various issues due to a GEM handle lifetime conflict between us and Mesa with current glamor. Bugzilla: https://bugs.freedesktop.org/105381 Tested-by: Konstantin Kharlamov <hi-angel@yandex.ru> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2017-08-30Require xserver >= 1.13Michel Dänzer
xserver 1.13.0 was released on September 6th, 2012, almost 5 years ago. This allows cleaning up a bunch of backwards compatibility code. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2015-07-23Do not link radeon_drv.so against libpciaccessEmil Velikov
It's only used/needed by ati_drv.so Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2015-04-03glamor: Add wrappers for the X server rendering hooksMichel Dänzer
They can choose between using the GPU or CPU for the operation.
2015-03-17Add DRI3 support v2Michel Dänzer
Must be enabled with Option "DRI3" in xorg.conf. v2: Adapt to v2 of patches 11/12. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2015-03-17Add support for the Present extension v2Michel Dänzer
v2: Fix up for struct radeon_drm_queue -> radeon_drm_queue_entry. Swapped order of patches 11 & 12 because the Present extension uses SYNC fences. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2015-03-17Add support for SYNC extension fences v2Michel Dänzer
v2: Swapped order of patches 11 & 12 because the Present extension uses SYNC fences. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2015-03-17Add DRM event queue helpers v2Michel Dänzer
v2: Rename struct radeon_drm_queue to struct radeon_drm_queue_event, thanks to Richard Wilbur <richard.wilbur@gmail.com> for the suggestion. Also changed the corresponding parameter and local variable names from 'q' to 'e'. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2015-03-17Move xorg_list backwards compatibility to new radeon_list.h headerMichel Dänzer
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2014-08-12radeon: drop radeon_drm.hAndreas Boll
Now we use libdrm's radeon_drm.h. Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
2013-08-07add bicubic_table.py to EXTRA_DISTMaarten Lankhorst
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
2013-01-10Drop support for X servers older than 1.7.Michel Dänzer
The main purpose is to drop DRI2 compatibility code paths which are getting awkward to deal with and at this point are probably only tested lightly if at all. xserver 1.7 was released more than 3 years ago, and 1.6.2 was already required before. Mostly mechanical, there's probably potential for more cleanups. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
2012-12-27glamor: Enable full 2D acceleration for SI as well.Michel Dänzer
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
2012-07-10Initial SI support.Michel Dänzer
Defaults to shadowfb. 3D acceleration is available with glamor. 2D acceleration is disabled until the radeonsi driver can handle glamor's shaders. v2: add chip flags (Alex Deucher) Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2012-07-10Initial glamor support.Michel Dänzer
Enable at build time with --enable-glamor and runtime with Option "AccelMethod" "glamor" The most notable lack of functionality is XVideo. Use something like VDPAU for now. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
2012-07-05EXA: Factor out pixmap BO allocation into a helper function.Michel Dänzer
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
2012-06-16radeon: migrate remainder of radeon_driver.c to rest of driverDave Airlie
This helps make a few more things static and the driver generally smaller. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-15radeon: drop legacy memory, merge into radeon videoDave Airlie
This merges these two functions into textured video code. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-15radeon: move macros into radeon.hDave Airlie
Drop separate header file, there isn't many separate macros now. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-15radeon: drop radeon_commonfuncs.Dave Airlie
modify all the macros and drop it into radeon_accel.c Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-15radeon: drop all UMS/DRI1/XAA/overlay support.Dave Airlie
This overhauls the radeon driver and removes all the old UMS-only code, it drops all the UMS, DRI1, XAA, overlay Xv, video capture, tv tuners There are probably a lot more cleanups that will fall out of this afterwards. So far this is compile/build tested. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-05-23radeon: add compat-api.hDave Airlie
2011-07-14Register XvMC video decoding accelerationChristian König
2011-05-24cayman: first pass at exa/Xv shadersAlex Deucher
Main differences with evergreen: - 4-way rather than 5-way - END_OF_PROGRAM bit removed from CF istructions, use CF_INST_END instead. - MEGA_FETCH* fields removed from VTX commands - no more VC, all fetches go through the TC Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-05-24cayman: add a default state functionAlex Deucher
The rest of the state functions can be shared with evergreen. I've noted where there are differences. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-10-07fix the non-kms buildAlex Deucher
Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=30685
2010-08-20Add initial EXA and Xv support for evergreenAlex Deucher
Based on the r6xx/r7xx code updated for evergreen. Still causes GPU hangs in some cases. We haven't tracked down why yet. Might be related to constant buffer persistence. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-08-02fix make distcheckDave Airlie
2010-08-01radeon/r600: restructure exa + vbo to provide more sharingDave Airlie
This is a precursor for r300/500 vbo support. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-07-28The local copy of the modes code is no longer required.Gaetan Nadon
The server 1.2 as shipped in the tarball on the web does not contain the modes code. It was added just after and found in git branch server-1.2-branch. The modes code was initially included in version ati 6.8.0 and fails to compile with server 1.2 as it requires randr 1.2. The modes code is included in server versions 1.3 and later, so there is no need to provide an unknown version of the modes code in the ati driver tarball. It will never be used. This patch makes the ati driver requiring server 1.3 or later. Version 6.8.0 configures and builds ok on server 1.3 Master branch post 6.13.1 configures and builds ok on server 1.3 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-04-16kms: add uevent support.Dave Airlie
When we get a hotplug event from the kernel we should notify the client side to reconfigure displays. based on work by ajax in intel driver. Signed-off-by: Dave Airlie <airlied@redhat.com>
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-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-09-14radeon: Add missing libdrm_radeon cflags to compiler paramaters.Pauli Nieminen
This fixes compilation if libdrm_radeon is installed to non-standard location like /opt.
2009-09-08radeon: replace dga code with DiDGAAlex Deucher
2009-07-06radeon: add make dist headersDave Airlie
2009-07-02radeon: add KMS support (still disabled)Dave Airlie
This adds DRI2 + KMS + driver pixmaps support to the driver. I've decided to just do a completely separate KMS driver file instead of hacking the crap out of radeon_driver.c. So now I do the KMS check in radeon_probe.c time and set the DDX pointed up to a completely different set at this stage. This avoids a lot of if (kms) type crap in the code at the expense of making sure we make changes to both files if necessary. This code is still disabled in configure.ac as I broke EXA composite rendering somehow in KMS mode
2009-04-15Add unified ClockGating OptionAlex Deucher
- replaces DynamicClocks Option as the name was misleading - unified interface for atom and com based bioses - fix up clock gating code for newer r3xx asics
2009-03-01R6xx/R7xx: move shaders to r600_shader.c and fixup Xv PSChristian Koenig
patches from Christian Koenig with some adjustments from me
2009-02-03Initial R6xx/R7xx EXA and textured video supportAlex Deucher
2008-12-26Make sure to include radeon_drm.h in the tarballAlex Deucher
2008-12-23radeon: pass distcheckDave Airlie
2008-10-09radeon: rename radeon_memory to radeon_legacy_memory.Dave Airlie
This is a setup patch for the kms/memory management code.
2008-08-25Convert randr, Xv to a common allocatorAlex Deucher
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-03-06RADEON: take 2 on proper pragma pack support for bsdsAlex Deucher
See bug 14594. Based on suggestion by Henry Zhao
2008-03-03ATOMBIOS: fix atombios parser support on *bsdAlex Deucher
bsd requires a different pragma pack than Linux. See bug 14594.
2008-02-27radeon: pass distcheckGeorge Sapountzis
2008-02-27drop r128 (build system)George Sapountzis
2008-02-27drop mach64 (build system)George Sapountzis