Timo Aaltonen pushed to branch debian-unstable at X Strike Force / driver /
xserver-xorg-video-amdgpu
Commits:
2897e176 by Chris Bainbridge at 2023-07-11T12:00:11+01:00
Fix segfault on dock suspend, unplug, resume
`drmmode_set_mode` can segfault if a USB-C dock with external monitors
is disconnected during suspend. It appears that some data structures are
not updated, but the associated `drmModeConnectorPtr` associated with
those structures is NULL. Dereferencing that pointer results in Xorg
crashing.
Backtrace:
(crtc=crtc@entry=0x55a0c7610390, fb=fb@entry=0x55a0c86d7410,
mode=mode@entry=0x55a0c76103a8, x=x@entry=0, y=y@entry=0) at
drmmode_display.c:1267
(crtc=0x55a0c7610390, mode=0x55a0c76103a8, rotation=<optimized out>,
x=<optimized out>, y=<optimized out>) at drmmode_display.c:1371
(main=main@entry=0x55a0c63f4b40, argc=argc@entry=10,
argv=argv@entry=0x7fffb7cefbf8)
at ../sysdeps/nptl/libc_start_call_main.h:58
(main=0x55a0c63f4b40, argc=10, argv=0x7fffb7cefbf8, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffb7cefbe8) at
../csu/libc-start.c:381
Fix this by checking the pointer before dereferencing it.
Fixes: https://gitlab.freedesktop.org/drm/amd/-/issues/2375
Signed-off-by: Chris Bainbridge <[email protected]>
- - - - -
ae22d12d by Chris Bainbridge at 2023-07-12T21:16:32+01:00
Free output_ids
- - - - -
31a092ae by Hamza Mahfooz at 2023-09-25T19:50:21+02:00
Enable TearFree if it's set to auto and VariableRefresh is enabled
As of kernel commit 1ca67aba8d11 ("drm/amd/display: only accept async
flips for fast updates"), we reject async flips that used to be silently
degraded to vsync. However, this causes issues for VRR if TearFree isn't
enabled, in particular we have seen that VRR fails to engage on a
handful of tested applications and in one case we even observed an
application soft hang. So, if TearFree is set to auto we should enable
it if VariableRefresh is enabled and we should warn users if they try to
enable VariableRefresh while TearFree is disabled.
Signed-off-by: Hamza Mahfooz <[email protected]>
- - - - -
4d7a9a61 by Uday Kiran Pichika at 2024-01-24T19:40:06+01:00
Handling of color management properties
As the color management properties are optional, this commit
handles these properties individually
Reviewed-by: Shashank Sharma <[email protected]>
Signed-off-by: Uday Kiran Pichika <[email protected]>
- - - - -
8df03a7a by Alan Coopersmith at 2024-02-24T17:01:21-08:00
gitlab CI: add builds against server-21.1-branch
Signed-off-by: Alan Coopersmith <[email protected]>
- - - - -
44e82720 by Enrico Weigelt, metux IT consult at 2024-05-14T12:22:46+02:00
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 <[email protected]>
- - - - -
ade777e8 by Enrico Weigelt, metux IT consult at 2024-05-14T16:54:19+02:00
drop compat with ancient xserver versions
We're relying on at least 1.18 now.
Signed-off-by: Enrico Weigelt, metux IT consult <[email protected]>
- - - - -
c561fe4d by Enrico Weigelt, metux IT consult at 2024-05-15T15:57:02+02:00
dont check for HAS_DIRTYTRACKING_ROTATION: it's always enabled.
We're relying on at least 1.18 now, so no need to check anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <[email protected]>
- - - - -
07d66135 by Enrico Weigelt, metux IT consult at 2024-07-11T15:39:54+00:00
dont use obsolete pict_f_transform alias anymore
The obsolete pict_f_transform macro (aliasing to pixman_f_transform) had been
removed in Xorg headers. Thus, we should use pixman_f_transform directly.
Signed-off-by: Enrico Weigelt, metux IT consult <[email protected]>
- - - - -
7c943d5a by Pierre-Eric Pelloux-Prayer at 2024-07-12T19:47:45+02:00
ci: switch from testing to bookworm
To be able to use gfx-ci/ci-deb-repo.
Reviewed-by: Marek Olšák <[email protected]>
- - - - -
d1c7ab5b by Pierre-Eric Pelloux-Prayer at 2024-07-12T19:47:55+02:00
ci: use gfx-ci/ci-deb-repo to get latest libdrm
Reviewed-by: Marek Olšák <[email protected]>
- - - - -
04bc88d9 by Marek Olšák at 2024-07-12T14:37:31-04:00
Check GFX12 swizzle mode correctly
libdrm 2.4.121 is required to get the new FAMILY definition.
- - - - -
5d160053 by Enrico Weigelt, metux IT consult at 2024-07-19T14:08:56+02:00
use XNFalloc() instead of xnfalloc
xnfalloc is just an alias for XNFalloc() that doesn't seem to serve
any practical purpose, so it can go away once all drivers stopped using it.
Signed-off-by: Enrico Weigelt, metux IT consult <[email protected]>
- - - - -
ee16309b by Enrico Weigelt, metux IT consult at 2024-07-19T14:08:56+02:00
use XNFcallocarray() instead of xnfcalloc macro
xnfcalloc is just an alias for XNFcallocarray() that doesn't seem to serve
any practical purpose, so it can go away once all drivers stopped using it.
Signed-off-by: Enrico Weigelt, metux IT consult <[email protected]>
- - - - -
18995f1e by Pierre-Eric Pelloux-Prayer at 2024-11-22T23:30:35+01:00
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 <[email protected]>
- - - - -
7943a70c by Herman Semenov at 2025-01-11T20:25:55+03:00
Fixed AMDGPUOptions_KMS for align structures 64bit
- - - - -
2cb59a92 by Enrico Weigelt, metux IT consult at 2025-01-25T16:03:44+00:00
use dixDestroyPixmap() instead of direct driver call
Direct calls to ScreenRec->DestroyPixmap() blocks cleaning up the wrapping
jungle, so use the proper dix function instead - except when calling down the
chain where we had wrapped ourselves - and protecting those against NULL, so
we can move subsys-provided functions out of that chain.
See: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1754
Signed-off-by: Enrico Weigelt, metux IT consult <[email protected]>
- - - - -
353b372c by Enrico Weigelt, metux IT consult at 2025-01-27T11:07:38+01:00
ci: compactify redundant declarations via matrix
Signed-off-by: Enrico Weigelt, metux IT consult <[email protected]>
- - - - -
953a14f0 by Alan Coopersmith at 2025-06-14T08:51:31-07:00
Revert "use dixDestroyPixmap() instead of direct driver call"
This reverts commit 2cb59a92de4a19909682a35e4f31f3c02de2899f
- - - - -
9ca57357 by Mario Limonciello at 2025-06-24T12:50:05-05:00
Fix a crash when initializing with a property with no atoms
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
- - - - -
0befaabb by Mario Limonciello at 2025-06-25T09:55:51-05:00
trivial: Add workflow rules
Suggested-by: Michel Dänzer <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
- - - - -
dc2d8ad8 by Alan Coopersmith at 2025-06-26T12:25:48-07:00
Improve man page formatting
More closely follow common style as described on
https://man7.org/linux/man-pages/man7/man-pages.7.html
and fix warnings raised by `mandoc -T lint` and `groff -rCHECKSTYLE=10`
Also hardcode man page section numbers now that all supported OS'es
use the same set of numbers.
- - - - -
e94cadaf by Mario Limonciello at 2025-06-26T14:51:44-05:00
Add missing xorg-server.h header
This should be added by the source file, not the build system.
- - - - -
c98eb133 by Mario Limonciello at 2025-06-26T14:54:09-05:00
Add support for the meson build system
- - - - -
8d335c1f by Mario Limonciello at 2025-06-26T14:54:09-05:00
Migrate CI over to meson
- - - - -
b696afac by Mario Limonciello at 2025-06-26T14:54:09-05:00
Drop support for autotools build system
- - - - -
d6fc6562 by Mario Limonciello at 2025-07-23T12:33:51-05:00
trivial: drop unused gitignore
Signed-off-by: Mario Limonciello <[email protected]>
- - - - -
2ef8e9b8 by Mario Limonciello at 2025-07-23T12:34:02-05:00
trivial: ignore .vscode directory
Signed-off-by: Mario Limonciello <[email protected]>
- - - - -
69dbd66b by Mario Limonciello at 2025-07-24T05:10:47-05:00
Bump version for 25.0.0 release
Signed-off-by: Mario Limonciello <[email protected]>
- - - - -
7c93ae4a by Mario Limonciello (AMD) at 2025-10-30T09:16:38-05:00
Merge tag 'xf86-video-amdgpu-25.0.0' into debian-unstable
xf86-video-amdgpu-25.0.0
- - - - -
aa602ae0 by Mario Limonciello (AMD) at 2025-10-30T09:19:12-05:00
d/control: Add meson to b-d
- - - - -
0c421490 by Mario Limonciello (AMD) at 2025-10-30T09:39:26-05:00
d/copyright: Update to current codebase
- - - - -
b770c5ae by Mario Limonciello (AMD) at 2025-10-30T09:39:26-05:00
debian/upstream: Merge signing keys
`uscan` doesn't like having non-concatenated files.
- - - - -
37a6a163 by Mario Limonciello (AMD) at 2025-10-30T09:39:26-05:00
debian/watch: Update to v5
- - - - -
20e9a874 by Mario Limonciello (AMD) at 2025-10-30T09:39:50-05:00
Update to standards version 4.7.2
- - - - -
7fade3ec by Mario Limonciello (AMD) at 2025-10-30T09:40:08-05:00
Update source package format to version 3
- - - - -
88698278 by Mario Limonciello (AMD) at 2025-10-30T09:40:27-05:00
d/control: Use pkgconf instead of pkg-config
- - - - -
789bccbb by Mario Limonciello (AMD) at 2025-10-30T09:41:20-05:00
Remove upstream changelog, it's not updated in git
- - - - -
4f79bded by Mario Limonciello (AMD) at 2025-10-30T09:47:01-05:00
Update changelog
- - - - -
38 changed files:
- .gitignore
- .gitlab-ci.yml
- .gitlab-ci/debian-install.sh
- − ChangeLog
- − Makefile.am
- − autogen.sh
- − conf/Makefile.am
- + conf/meson.build
- − configure.ac
- debian/changelog
- − debian/compat
- debian/control
- debian/copyright
- debian/rules
- debian/source/format
- debian/upstream/signing-key.asc
- debian/watch
- − m4/.gitignore
- − man/Makefile.am
- man/amdgpu.man
- + man/meson.build
- + meson.build
- + meson_options.txt
- − src/Makefile.am
- src/amdgpu_bo_helper.c
- src/amdgpu_drv.h
- src/amdgpu_glamor.c
- src/amdgpu_glamor.h
- src/amdgpu_glamor_wrappers.c
- src/amdgpu_kms.c
- src/amdgpu_pixmap.c
- src/amdgpu_pixmap.h
- src/amdgpu_present.c
- src/amdgpu_probe.c
- src/amdgpu_video.c
- src/drmmode_display.c
- src/drmmode_display.h
- + src/meson.build
The diff was not included because it is too large.
View it on GitLab:
https://salsa.debian.org/xorg-team/driver/xserver-xorg-video-amdgpu/-/compare/ae3253daa2a8b3725a435334a362b2e60d760ea7...4f79bdedbba52e99290235552193e36cffce696c
--
View it on GitLab:
https://salsa.debian.org/xorg-team/driver/xserver-xorg-video-amdgpu/-/compare/ae3253daa2a8b3725a435334a362b2e60d760ea7...4f79bdedbba52e99290235552193e36cffce696c
You're receiving this email because of your account on salsa.debian.org.