Commit Graph

185 Commits

Author SHA1 Message Date
Alan Coopersmith
d799dba35a radeon.man: Update links to use gitlab & oftc instead of cgit & freenode
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/-/merge_requests/27>
2024-09-29 11:07:23 -07:00
Dave Airlie
8da3e4561e ati: cleanup terminology to use primary/secondary
The X server changed some API/ABIs here.

Based on amdgpu patch by Michel
2020-07-13 09:16:47 +10:00
Michel Dänzer
703cbb7177 glamor: Allow depth 30 with Xorg >= 1.19.99.1
Corresponding to amdgpu commit 6aee5770fb913713bb1b9a1af8f0d0892a66f21a.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2018-02-14 17:28:10 +01:00
Mario Kleiner
574bfab4bf Support exa screen color depth 30 on Linux 3.16 and later. (v2)
Linux 3.16's radeon-kms introduced 10 bpc fb support.
Currently, as of X-Server 1.19, this works with exa accel,
but not yet when using glamor acceleration.

v2: Style fixes, check for glamor first, as suggested
    by Michel.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2018-01-22 12:11:25 +01:00
Darren Salt
61113768bd Clarify when TearFree is automatically enabled.
(Ported from amdgpu commit 2f72be038d22c54620e436af30121dd89f79a003)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2017-10-19 18:17:07 +02:00
Michel Dänzer
d314cbfb22 Always allow DRI2 page flipping with TearFree
Even if TearFree is enabled for the CRTC we're synchronizing to.

v2:
* Move manpage hunk here from previous change.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com> # v1
2017-08-17 16:03:50 +09:00
Michel Dänzer
5309bde0c4 Allow DRI page flipping when some CRTCs use separate scanout buffers
As long as the CRTC we're synchronizing to doesn't.

v2:
* Remove redundant checks from can_exchange which still prevented DRI2
  page flipping

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2017-08-02 18:55:23 +09:00
Michel Dänzer
d80d01a73c Update URLs
* Point to the amd-gfx mailing list
* Specify the component in all bugzilla URLs
* Use https:// for all HTML URLs

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-18 11:12:34 +09:00
Michel Dänzer
23985d3ef3 manpage: Don't put "'" at the beginning of a line
It caused the whole line to be dropped.

Fixes: 58cd160005 ("Allow toggling TearFree at runtime via output
                      property")
Reported-by: Andy Furniss <adf.lists@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (amdgpu commit)
(Ported from amdgpu commit 165b51447643ce37f391f25ca6aecb8d76fabaa3)
2017-03-23 18:06:45 +09:00
Michel Dänzer
58cd160005 Allow toggling TearFree at runtime via output property
Option "TearFree" now sets the default value of the output property.
See the manpage update for details.

TearFree is now enabled by default for outputs using rotation or other
RandR transforms, and for RandR 1.4 slave outputs.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2017-02-22 18:27:37 +09:00
Michel Dänzer
f11531c99f Enable glamor by default with >= R600 and Xorg >= 1.18.3
glamor should now perform at least as well as EXA in general, and this
allows DRI3 to be enabled by default for >= R600.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2016-11-22 16:25:10 +09:00
Michel Dänzer
68023e0184 Update manpage entry for Option "TearFree"
It's now effective for arbitrary transforms as well.
2016-11-17 11:32:56 +09:00
Michel Dänzer
350a2645a1 Check Xorg version at runtime instead of build time in two places
This means that all possible paths can be handled as intended, no matter
which Xorg version the driver happened to be compiled against.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2016-11-01 16:30:42 +09:00
Michel Dänzer
94fe42f29e Don't enable DRI3 by default with EXA
It doesn't work correctly in all cases, see e.g.
https://bugs.freedesktop.org/show_bug.cgi?id=95475 . I'm not sure this
is fixable, given EXA's architecture.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2016-07-22 19:10:53 +09:00
Michel Dänzer
1181b9c582 Enable DRI3 by default when building for Xorg >= 1.18.3
Seems to work well enough in general now.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2016-05-11 12:25:23 +09:00
Michel Dänzer
c12614cfdc Update manpage entry for Option "TearFree"
It's now effective for rotation as well.

(Ported from amdgpu commit faf9d720b7d650f5f1ea657a874d08eac3972e60)

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2016-04-04 14:59:41 +09:00
Mario Kleiner
f123096877 Make selection between DRI2 and DRI3 consistent with other drivers. (v2)
Add Option "DRI" to allow selection of maximum DRI level.

This allows the user to select the maximum level of DRI
implementation to use, DRI2 or DRI3. It replaces the old
option "DRI3" which had exactly the same purpose, but
differs from the method used in both intel ddx and nouveau ddx.
Make this consistent before a new stable driver is released.

v2: Retain handling of old Option "DRI3" for backwards
    compatibility, but Option "DRI" will take precedence
    over "DRI3" if both are provided.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2015-08-11 09:48:53 +09:00
Michel Dänzer
43159ef400 Add Option "TearFree" v4
Avoids tearing by flipping between two scanout BOs per (non-rotated) CRTC

v2:
* Fix condition for TearFree log message (Richard Wilbur)
* Log warning message about DRI page flipping being enabled because of
  TearFree (or ShadowPrimary) also when building without glamor support

v3:
* Only override fb_id/x/y if all scanout pixmaps have been successfully
  allocated

v4:
* Make log warning clearer if drmModePageFlip returns an error

Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (v1)
2015-04-17 11:42:48 +09:00
Michel Dänzer
ae92d1765f glamor: Add Option "ShadowPrimary" v2
When this option is enabled, most pixmaps (including the screen pixmap)
are allocated in system RAM and mostly accessed by the CPU. Changed areas
of the screen pixmap are copied to dedicated per-CRTC scanout pixmaps
regularly, triggered by the vblank interrupt.

v2:
* Set region data pointer to NULL for keeping only the extents
* Move pRegion and pBox local variable declarations closer to their uses
  in drmmode_set_mode_major()
2015-04-03 11:42:00 +09:00
Michel Dänzer
64e1e4dbdd Add DRI3 support v2
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-17 11:00:39 +09:00
Alex Deucher
94202cbfbc radeon: enable hawaii accel conditionally (v3)
Only if the kernel has the new CP firmware.

v2: check value of ACCEL_WORKING2
v3 (Andreas Boll):
 - check for value 2 or 3 of ACCEL_WORKING2
 - update man page

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> (v2)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
2014-08-12 11:33:33 -04:00
Michel Dänzer
cc615d06db Rename Option "NoAccel" to "Accel"
Removes the need for a double negation when forcing acceleration on.

Note that this change is backwards compatible, as the option parser
automagically handles the 'No' prefix.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2014-06-04 16:58:53 +09:00
Samuel Li
5c86a34615 radeon: add support for Mullins.
Signed-off-by: Samuel Li <samuel.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2014-05-02 17:49:03 -04:00
Alex Deucher
921a153f99 update man page to reflect tiling changes for CI parts
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2014-03-11 12:24:13 -04:00
Michel Dänzer
515bcf14d5 Allow enabling glamor on R500 (and R300) class 3D engines as well.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75709

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2014-03-11 09:19:12 +09:00
Alex Deucher
e38a92e00d radeon: add support for Hawaii
Disabled by default until the acceleration code stablizes.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2013-11-13 11:36:51 -05:00
Alex Deucher
e4cd0f4392 radeon: enable tiling on SI by default (v2)
Now that mesa 9.2 is out with support for tiling
on SI asics, we can enable it here. Tiling improves
memory bandwidth utilization.

V2: update man page

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2013-11-04 10:02:46 -05:00
Alex Deucher
4adaea9964 radeon: add family ids for CIK
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2013-06-28 14:40:40 -04:00
Alex Deucher
c0f7d03cb2 man: fix up previous commit
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2013-06-17 11:38:27 -04:00
Eric S. Raymond
03b5edc9dd Fix some incomplete list entries.
This necessarily involved adding some content, which I was able to
Google for.  Please review, correct, and make more specific.

Bodiless .TP entries screw up doclifter's page parsing.  Please
don't do that anymore.
2013-06-07 13:23:14 -04:00
Samuel Li
365e571d9d radeon: use direct mapping for fast fb access.
Signed-off-by: Samuel Li <samuel.li@amd.com>
2013-06-03 17:27:17 +02:00
Alex Deucher
6cee1eaebf radeon: add hainan chip family
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2013-05-13 17:07:26 -04:00
Michel Dänzer
33d8408eec glamor: Enable by default on SI
We should now handle its major initialization failure cases gracefully.

Reviewed-by: Jerome Glisse <jglisse@redhat.com>
2013-03-25 18:20:37 +01:00
Alex Deucher
9980f1e0e0 radeon: add oland chip family
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2013-02-04 15:58:25 -05:00
Alex Deucher
b2807b5308 man: note that 2D tiling requires Mesa 9.0 or newer
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2012-11-02 17:57:18 -04:00
Alex Deucher
d748894c84 man: update man pages for trinity (ARUBA)
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2012-11-02 08:50:16 -04:00
Andreas Boll
6740e8e90b radeon/man: ColorTiling2D is by default on for r6xx-cayman
Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
2012-11-02 08:49:15 -04:00
Michel Dänzer
ef8a404391 Initial SI support.
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-10 17:15:01 +02:00
Michel Dänzer
e9edd2f500 Initial glamor support.
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-10 17:14:20 +02:00
Michel Dänzer
060c7836e7 Some cosmetic fixups for the radeon manpage.
ATI -> ATI/AMD
PCIE -> PCIe

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
2012-07-04 11:49:18 +02:00
Michel Dänzer
c3a9f64fe4 Drop UMS specific parts from the radeon manpage.
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
2012-07-04 11:46:30 +02:00
Alex Deucher
b33cf9cf9d radeon: add MacModel entry for SAM440ep embedded board
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2012-05-02 09:55:16 -04:00
Alex Deucher
03535904a3 radeon: man page updates
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2012-03-27 09:48:28 -04:00
Alex Deucher
c96e6fb8a5 man: note that the list of marketing names is non-exhaustive
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-09-17 08:26:12 -04:00
Alex Deucher
1a51fce6f6 update man page with new marking names
Note that the driver support all currently
shipping asics and the names in the man page
are just a sampling.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=40808

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-09-15 17:52:25 -04:00
Michel Dänzer
93fc0843a1 Change my e-mail address to something that still works, and always will, I hope. 2011-08-10 17:44:37 +02:00
Michel Dänzer
9151f3b1c2 Prefer the CRTC of the primary output for synchronization.
See https://bugs.freedesktop.org/show_bug.cgi?id=39696 .

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
2011-08-09 19:13:26 +02:00
Alex Deucher
41eb1fbb3d kms/man: update ColorTiling info
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-06-13 12:50:39 -04:00
Nicolas Kaiser
f83d58cf5b man: fix typos
Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
2011-05-12 19:07:23 -04:00
Alex Deucher
8f8bbf628c man: add cayman to man page
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-05-01 13:19:15 -04:00