253 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
e192d6a874 release 25.0.1
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-02-12 19:46:09 +01:00
Enrico Weigelt, metux IT consult
a33a63e017 drop unused byteswap functions
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-31 11:10:02 +01:00
Enrico Weigelt, metux IT consult
d4b125e2b1 configure.ac: drop obsolete AC_SYS_LARGEFILE
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-31 11:05:24 +01:00
Enrico Weigelt, metux IT consult
a3e6ef9f90 configure.ac: fix missing comma in AC_INIT() call
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-19 18:34:10 +01:00
Enrico Weigelt, metux IT consult
5b12c2cfda configure.ac: increase minimum xserver version to 25.0.0
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-19 16:04:28 +01:00
Enrico Weigelt, metux IT consult
e38a234218 release 25.0.0
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 18:51:27 +01:00
Enrico Weigelt, metux IT consult
75f76a5712 configure.ac: formatting fixes
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 18:51:07 +01:00
Enrico Weigelt, metux IT consult
ce106e93d3 configure.ac: replace DRIVER_NAME symbol by actual name
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 13:08:26 +01:00
Enrico Weigelt, metux IT consult
ce619630ed drop support for ancient pre-7.1 xextproto
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 12:01:59 +01:00
Alan Coopersmith
3c9211e696 Strip trailing whitespace from source files
Performed with: `git ls-files | xargs perl -i -p -e 's{[ \t]+$}{}'`

`git diff -w` & `git diff -b` show no diffs from this change

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/-/merge_requests/32>
2025-12-15 15:36:42 +01:00
Enrico Weigelt, metux IT consult
7e5ff32ae9 release 22.0.1
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 12:09:52 +01:00
Enrico Weigelt, metux IT consult
87d2714553 configure.ac: fix issue tracker URL and package name
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 12:08:13 +01:00
Enrico Weigelt, metux IT consult
6da5a33d54 bump minimal xorg version to 1.18
1.18 was released a decade ago, so it seems reasonable stop supporting
older ones.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-08 16:04:16 +01:00
Enrico Weigelt, metux IT consult
31f33b3503 configure: fix broken xserver version detection
Back a decade ago, somebody obviously idn't know how to check for xserver
version and abused a quite unrelated exported symbol instead. Since that
symbol isn't exported anymore (because no driver was using it), this black
magic now fails.

We're not trying to support more than a decade old Xservers, so there's
no point in this check at all, just drop it.

Fixes: ae92d1765f
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-29 10:01:04 +02:00
b-aaz
a1af1a3665 configure: Automatically detect the default xorg-module-dir.
The module directory has changed to a per ABI folder in the xlibre-xserver.
Now the default value of `xorg-module-dir` will be detected from the `moduledir` variable in xorg-server.pc.

Signed-off-by: b-aaz <b-aazbsd.proton.me>
2025-07-24 18:03:37 +02:00
Oleh Nykyforchyn
1fa0787cd4 radeon_glamor.c: remove a legacy glamor function support
The function glamor_egl_destroy_textured_pixmap() is absent
in glamor in recent X servers.

Signed-off-by: Oleh Nykyforchyn <oleh.nyk@gmail.com>
2025-07-23 17:20:17 +02:00
Alan Coopersmith
888b33c679 configure: Update links to use gitlab instead of anongit & bugzilla
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:09:55 -07:00
nia
b65036af74 Avoid namespace collision: rename bswap_XX to radeon_bswap_XX
xorg-server includes its own bswap_16, bswap_32 etc macros in
its misc.h. This is transcluded after radeon.h in some files.

If the operating system defines bswap_XX in a way that is
unsuitable for a function name (e.g. on NetBSD), this results
in build failures.

Signed-off-by: Nia Alarie <nia@NetBSD.org>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/-/merge_requests/23>
2024-06-02 18:41:52 +00:00
Matt Turner
0c01893774 Bump version for 22.0.0 release
Signed-off-by: Matt Turner <mattst88@gmail.com>
2023-04-25 14:40:08 -04:00
Alan Coopersmith
11d549d591 Build xz tarballs instead of bzip2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22 09:24:46 -08:00
Michel Dänzer
b9bd8097e1 Bump version for 19.1.0 release 2019-10-15 17:54:12 +02:00
Michel Dänzer
36703f66c3 Bump version for 19.0.1 release 2019-03-19 18:01:02 +01:00
Michel Dänzer
0d132d99e0 Bump version for 19.0.0 release 2019-03-06 17:48:42 +01:00
Michel Dänzer
b559fd83b2 Post-release version bump 2018-11-19 11:38:22 +01:00
Michel Dänzer
80514b7b1b Bump version for 18.1.0 release 2018-09-14 17:48:49 +02:00
Michel Dänzer
cba8fe4d64 Use AC_CONFIG_MACRO_DIR instead of AC_CONFIG_MACRO_DIRS
Older versions of autoconf only supported the former.

Acked-by: Alex Deucher <alexander.deucher@amd.com>
2018-08-24 17:05:06 +02:00
Michel Dänzer
7de4ea1588 Bump version to 18.0.99
Forgot to do this after the 18.0.1 release.
2018-07-27 09:13:12 +02:00
Michel Dänzer
ffdbd46b0a Hardcode "non-desktop" RandR property name
It's a bit silly to require current randrproto just for this definition,
which can't really change anyway.

Suggested-by: Qiang Yu <qiang.yu@amd.com>
(Ported from amdgpu commit ae8e02c6fc4ef5d5340b8cd4739e66b19b9e3386)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2018-07-23 11:02:32 +02:00
Keith Packard
f533b1f654 Add RandR leases support
Signed-off-by: Keith Packard <keithp@keithp.com>
(Ported from xserver commit e4e3447603b5fd3a38a92c3f972396d1f81168ad)
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
(Ported from amdgpu commit 61040bdfa360975614fb47aa7ea1b3a1abac3427)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
2018-07-12 18:13:34 +02:00
Keith Packard
612bda0a5e modesetting: Record non-desktop kernel property at PreInit time
Save any value of the kernel non-desktop property in the xf86Output
structure to avoid non-desktop outputs in the default configuration.

[Also bump randrproto requirement to a version that defines
RR_PROPERTY_NON_DESKTOP - ajax]

Signed-off-by: Keith Packard <keithp@keithp.com>
(Ported from xserver commit b91c787c4cd2d20685db69426c539938c556128a)
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
(Ported from amdgpu commit 14db71a606128c4a207f43298809af279b77e2a8)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
2018-07-12 18:10:08 +02:00
Michel Dänzer
3c4c0213c1 glamor: Use GBM for BO allocation when possible
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>
2018-07-09 18:28:21 +02:00
Michel Dänzer
fdba537352 Bump version for 18.0.1 release 2018-03-15 17:19:59 +01:00
Michel Dänzer
7e18aea984 Bump version for 18.0.0 release 2018-03-06 18:15:45 +01:00
Christoph Haag
f2915eb7a4 fix include order for present.h configure test
xorg-server.h defines _XSERVER64 which is used in X.h to choose the
correct definition of XID

this prevents a failure in the present.h configure test that disables
DRI3 on X.Org 1.20

Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com>
2018-03-01 16:25:52 +01:00
Michel Dänzer
b71836c996 Post-release version bump 2017-10-04 11:05:49 +02:00
Michel Dänzer
f9aca8c1a7 Bump version for 7.10.0 release 2017-09-08 17:02:59 +09:00
Michel Dänzer
5cdd334b34 Require xserver >= 1.13
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>
2017-08-30 18:48:19 +09:00
Martin Peres
0472a605e0 modesetting: re-set the crtc's mode when link-status goes BAD
Despite all the careful planning of the kernel, a link may become
insufficient to handle the currently-set mode. At this point, the
kernel should mark this particular configuration as being broken
and potentially prune the mode before setting the offending connector's
link-status to BAD and send the userspace a hotplug event. This may
happen right after a modeset or later on.

Upon receiving a hot-plug event, we iterate through the connectors to
re-apply the currently-set mode on all the connectors that have a
link-status property set to BAD. The kernel may be able to get the
link to work by dropping to using a lower link bpp (with the same
display bpp). However, the modeset may fail if the kernel has pruned
the mode, so to make users aware of this problem a warning is outputed
in the logs to warn about having a potentially-black display.

This patch does not modify the current behaviour of always propagating
the events to the randr clients. This allows desktop environments to
re-probe the connectors and select a new resolution based on the new
(currated) mode list if a mode disapeared. This behaviour is expected in
order to pass the Display Port compliance tests.

(Ported from xserver commit bcee1b76aa0db8525b491485e90b8740763d7de6)

[ Michel: Bump libdrm dependency to >= 2.4.78 for
  DRM_MODE_LINK_STATUS_BAD ]
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2017-08-18 14:40:19 +09:00
Michel Dänzer
e628f604d0 Add AC_CONFIG_MACRO_DIRS([m4]) to configure.ac
Suggested by one of the tools called by autoreconf.

(Cherry picked from amdgpu commit 227b399badaad9bbef0be5a776ce008d0d243449)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
2017-07-27 15:24:37 +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
dc30f5e27e Post-release version bump 2017-03-23 18:06:23 +09:00
Michel Dänzer
6622706087 Bump version for 7.9.0 release 2017-03-16 16:38:15 +09:00
Michel Dänzer
55a33205cb Add 10-radeon.conf xorg.conf.d snippet
This instructs Xorg >= 1.16 to try loading the radeon driver for devices
managed by the radeon kernel driver, even if the ati wrapper driver
isn't available.

Copied from the amdgpu driver.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2017-01-26 18:27:30 +09:00
Jammy Zhou
720dd07e79 Use render node for DRI3 if available
Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com>
(ported from amdgpu commit ea558e645786b08d75307716036045170e97b43e)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
[ Second attempt, let's see if there's any fallout this time... ]
2016-12-19 17:27:19 +09:00
Michel Dänzer
aab80d2203 Post-release version bump 2016-11-18 12:11:38 +09:00
Michel Dänzer
5cbe1ee8e4 Bump version for 7.8.0 release 2016-11-17 11:32:56 +09:00
Michel Dänzer
5df36de399 Require xserver 1.10 or newer
1.10.0 was released in February 2011.

We've been accidentally requiring 1.10 or newer since 121a6de72d ("Keep
track of damage event related flushes per-client v2").

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2016-10-27 11:40:13 +09:00
Michel Dänzer
49cf3b5032 Sayōnara, AM_MAINTAINER_MODE!
If --enable-maintainer-mode got lost from config.status for any reason,
builds would fail in mysterious ways after changing between different
Git commits.

There are more reasons for dropping it in the automake manual:

https://www.gnu.org/software/automake/manual/html_node/maintainer_002dmode.html

I'm not aware of any reason why --disable-maintainer-mode would ever be
useful with this project.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2016-10-20 15:33:09 +09:00
Michel Dänzer
80cc892ee1 Use local implementation of RegionDuplicate for older xserver
It was only added in xserver 1.15. Fixes build against older xserver.

Reported-by: Pali Rohár <pali.rohar@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2016-09-20 17:45:16 +09:00
Michel Dänzer
3300ea01fb Post 7.7.0 release version bump 2016-04-11 16:11:57 +09:00