Commit Graph

96 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
f74fc9806c configure.ac: drop obsolete check for glamor.h
It's always present - and if it wasn't, the build would also fail
with a clear message.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-12 12:29:25 +01:00
Enrico Weigelt, metux IT consult
0193aad5fc configure.ac: drop obsolete check for GBM_BO_USE_FRONT_RENDERING
It's always present in non-ancient libgbm versions.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-12 12:29:25 +01:00
Enrico Weigelt, metux IT consult
46d4898918 configure.ac: drop obsolete check for GBM_BO_USE_LINEAR
Present in libgbm for long time - no need to support ancient versions anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-12 12:29:25 +01:00
Enrico Weigelt, metux IT consult
62ea8146bb configure.ac: ask Xserver SDK for config file installation dir
Using the new pkg-config variables, defined by recent Xlibre Xservers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-12 12:29:25 +01:00
Enrico Weigelt, metux IT consult
b7735cd399 configure.ac: use xlibre-server.pc's video_drivers_dir
Ask the Xserver SDK for the correct input driver installation dir

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-01-12 12:24:58 +01:00
Enrico Weigelt, metux IT consult
e94596c919 make glamor mandatory
xfree86 ddx supports glamor for aeons now.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-31 20:21:11 +01:00
Enrico Weigelt, metux IT consult
04451bdeec configure.ac: make Xserver's builtin extensions mandatory
Several extensions like randr and render are always built-in in the
Xserver, no need for having them optional here in any way.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-31 20:21:11 +01:00
Enrico Weigelt, metux IT consult
44da1288be configure.ac: tiny formatting cleanup
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-31 11:04:31 +01:00
Enrico Weigelt, metux IT consult
30da573b81 configure.ac: drop obsolete check for byteswap.h
The Xserver is providing it's own functions for this.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-31 11:02:02 +01:00
Enrico Weigelt, metux IT consult
fd1340ab0e configure.ac: drop obsolete AC_SYS_LARGEFILE
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-31 11:01:07 +01:00
Enrico Weigelt, metux IT consult
e88756767f configure.ac: drop broken inclusion of <sys/endian.h>
It's breaking with Xservers SDK's functions and not needed at all,
since the Xserver SDK already providing platform independent
functions for this. (actually we only need bswap_32() anyways)

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-29 19:42:55 +01:00
Enrico Weigelt, metux IT consult
7d1cfb1d2e 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:02:49 +01:00
Enrico Weigelt, metux IT consult
b91d99f508 release 25.0.1
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 18:41:53 +01:00
Enrico Weigelt, metux IT consult
0c5ac184c1 configure.ac: replace DRIVER_NAME symbol by actual name
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 13:05:23 +01:00
Enrico Weigelt, metux IT consult
384ca9d536 release 25.0.0
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 14:45:53 +01:00
Enrico Weigelt, metux IT consult
0fc278443f configure.ac: fix package name and issue tracker URL
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 14:38:07 +01:00
b-aaz
04d2e00121 Brings back checks for older MESA versions.
Reverts commits 6e65547 and 479df8e.
These commits caused the build to fail on DragonFlyBSD.

mesa-libs 21.3.9 is not by any means ancient, it is only 3 years old and
it is still receiving critical bug fixes, and most importantly it is
still being used on DragonFlyBSD, also these are relatively small and
harmless checks.

Signed-off-by: b-aaz <b-aazbsd.proton.me>
2025-10-20 10:31:34 +00:00
Enrico Weigelt, metux IT consult
d903737df1 configure.ac: drop obsolete check for dri3.h
This header is always present in xfree86 SDK for aeons now and already
manadatory for this driver, so there's no need for extra check whose
result isn't used anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-08-05 12:28:43 +10:00
Joseph Crowell
e30d066201 Merge branch 'master' into pr/old-mesa 2025-07-31 16:27:45 +10:00
Enrico Weigelt, metux IT consult
16e22659fd configure.ac: no need to check for GLAMOR_NO_DRI3 and old libglamor
This symbol is always present for over a decade ago, so no need
to check for it. And so we also don't need any support for old
external libglamor anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-31 16:19:21 +10:00
Enrico Weigelt, metux IT consult
7a4c54cd99 drop obsolete checks for dri3.h
It's always present, no matter whether DRI3 is actually enabled.
No need to care about ancient - pre-DRI3 - Xserver versions.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-31 16:18:48 +10:00
Enrico Weigelt, metux IT consult
6e65547971 configure.ac: drop check for GBM_BO_USE_FRONT_RENDERING
It's present since at least mesa 22.3. No need to care about ancient
mesa versions anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-29 16:12:55 +02:00
Enrico Weigelt, metux IT consult
479df8e526 configure.ac: drop check for GBM_BO_USE_LINEAR
It's present since at least mesa 22.3. No need to care about ancient
mesa versions anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-29 16:12:13 +02:00
Enrico Weigelt, metux IT consult
52a0b9c04e drop obsolete check for glamor_finish()
This function is always present since about a decade ago, so no need to
check for it and having a fallback.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-29 15:31:13 +02:00
Enrico Weigelt, metux IT consult
e0955847f6 configure.ac: drop checking for xf86CursorResetCursor()
This function is always present for about a decade now, so no need
to check for it (and having a fallback) anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-29 15:31:03 +02:00
Enrico Weigelt, metux IT consult
d5538ccc6a drop using glamor_egl_destroy_textured_pixmap() on ancient Xservers
No need to support ancient Xserver versions anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-29 15:21:17 +02:00
Enrico Weigelt, metux IT consult
aa652bd913 configure.ac: drop check for present.h
This header is always present, no matter whether present extension
actually enabled. Thus no need to explicitly check for it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-29 15:19:28 +02:00
Enrico Weigelt, metux IT consult
cd40763e9f drop own copy of RegionDuplicate()
This function is present in the Xserver for way over a decade, so no
need to carry around our own copy anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-29 15:11:08 +02:00
Enrico Weigelt, metux IT consult
747e057583 drop using glamor_glyphs_init() on old Xservers
This function has been removed over a decade ago - no need to support
such ancient Xserver versions anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-29 15:03:32 +02:00
Enrico Weigelt, metux IT consult
e579dbcb1e configure.ac: make xorgproto >= 7.1 mandatory
No need keep special hacks for such ancient xproto version.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-29 14:50:34 +02:00
Enrico Weigelt, metux IT consult
ee4b074555 configure.ac: no need to check for misyncshm.h
It's always present, no matter whether MIT sync fencing is actually
enabled in the Xserver (we're checking that at rnutime).

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-29 14:01:28 +02:00
Enrico Weigelt, metux IT consult
5176ed0367 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: e5dfb6c266
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-07-29 11:59:35 +02:00
b-aaz
1a2c8e1c9f 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 17:01:10 +02:00
Pierre-Eric Pelloux-Prayer
18995f1e33 Use GBM_BO_USE_FRONT_RENDERING on front_buffer alloc
This GBM flag is useful as it allows the driver to be aware
of the intended use of the buffer and act accordingly (typically
disable DCC to avoid artifacts from out of sync DCC).

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2024-11-22 23:30:35 +01:00
Marek Olšák
04bc88d997 Check GFX12 swizzle mode correctly
libdrm 2.4.121 is required to get the new FAMILY definition.
2024-07-12 14:37:31 -04:00
Enrico Weigelt, metux IT consult
44e8272002 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>
2024-05-14 12:22:46 +02:00
Shashank Sharma
7025aefcdf Bump version for the 23.0.0 release
This release includes some bug fixes.

Signed-off-by: Shashank Sharma <shashank.sharma@amd.com>
2023-02-22 18:07:05 +01:00
tiancyin
dc81177ef3 Fix screen corruption on secondary GPU
[why]
On RHEL9+, xorg-server.pc shows that the Xorg no longer depends on dri,
and dri.pc provides "/opt/amdgpu/include" path for pkg-config, this
cause pkg-config no longer output "-I/opt/amdgpu/include", consequently
the configure can't find gbm.h and HAVE_GBM_BO_USE_LINEAR is not
declared, that cause the corruption.

[how]
Since the gbm.pc also provides the "/opt/amdgpu/include" path, in module
dependence checking, GBM_CFLAGS get this path, so just explicitly add
GBM_CFLAGS into CPPFLAGS can fix this issue.

Signed-off-by: tiancyin <tianci.yin@amd.com>
2022-08-18 10:46:37 +00:00
Alan Coopersmith
89b3eb9fff Update URLs to reflect gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-02-22 07:57:01 -08:00
Shashank Sharma
533bd30cea Bump version for the 22.0.0 release
This release includes some bug fixes and one minor feature.

Signed-off-by: Shashank Sharma <shashank.sharma@amd.com>
2022-02-22 16:26:37 +01:00
Alan Coopersmith
402bfdead7 Build xz tarballs instead of bzip2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-02-16 15:36:58 +00:00
Alex Deucher
0d68a91dce Bump version for the 21.0.0 release
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-07-30 09:02:46 -04:00
Michel Dänzer
b467d2569a Bump version for the 19.1.0 release 2019-10-11 17:10:10 +02:00
Michel Dänzer
bd4ffd4ebb Bump version for the 19.0.1 release 2019-03-19 18:44:31 +01:00
Michel Dänzer
9534bf3bb3 Bump version for the 19.0.0 release 2019-03-06 12:05:49 +01:00
Michel Dänzer
451fe96809 Post-release version bump 2018-09-20 18:50:01 +02:00
Michel Dänzer
d5e17dc4c7 Bump version for the 18.1.0 release 2018-09-14 17:00:17 +02:00
Michel Dänzer
34e851d1f2 Use AC_CONFIG_MACRO_DIR instead of AC_CONFIG_MACRO_DIRS
Older versions of autoconf only supported the former.

(Cherry picked from radeon commit cba8fe4d64819aaa8ba516aa68dbe6d2aa153046)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
2018-08-24 18:22:15 +02:00
Michel Dänzer
ae8e02c6fc 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>
Reviewed-by: Qiang Yu <Qiang.Yu@amd.com>
2018-07-18 18:22:33 +02:00
Keith Packard
61040bdfa3 Add RandR leases support
Signed-off-by: Keith Packard <keithp@keithp.com>
(Ported from xserver commit e4e3447603b5fd3a38a92c3f972396d1f81168ad)
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
2018-07-10 11:43:33 +02:00