Fix Xorg abort on exit in RHEL 7.7+
PATCH 1/1 Fix Xorg abort on exit in RHEL 7.7+
RHEL adds an extra LeaveVT calls to xf86CrtcCloseScreen when they build X server for the purpose to drop drm master.
--- src/amdgpu_kms.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
src/amdgpu_kms.c +3 -1
@@ -2285,7 +2285,9 @@ void AMDGPULeaveVT_KMS(ScrnInfoPtr pScrn)struct drmmode_fb *black_fb =amdgpu_pixmap_get_fb (black_scanout.pixmap); -amdgpu_pixmap_clear (black_scanout.pixmap); +if (!dixPrivateKeyRegistered (rrPrivKey)) +amdgpu_pixmap_clear (black_scanout.pixmap); +amdgpu_glamor_finish (pScrn);for (i =0 ; i < xf86_config->num_crtc; i++) {
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20190910194637.29819-1-slava.grigorev-5C7GfCeVMHo@public.gmane.org
Hi Slava,
xf86-video-amdgpu patches are submitted & reviewed as GitLab merge requests now. Please log into your GitLab account, click the "Fork" button on https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu , push the change to a new branch of your resulting personal GitLab project, and click on the URL in "git push"'s output to create an MR.
Thanks,
Quoted 24 lines · Slava
RHEL adds an extra LeaveVT calls to xf86CrtcCloseScreen when they build X server for the purpose to drop drm master.
Signed-off-by Slava Grigorev <[email protected]>--- src/amdgpu_kms.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)src/amdgpu_kms.c +3
-1@@ -2285,7 +2285,9 @@ void AMDGPULeaveVT_KMS(ScrnInfoPtr pScrn)struct drmmode_fb *black_fb =amdgpu_pixmap_get_fb (black_scanout.pixmap); -amdgpu_pixmap_clear (black_scanout.pixmap); +if (!dixPrivateKeyRegistered (rrPrivKey)) +amdgpu_pixmap_clear (black_scanout.pixmap); +amdgpu_glamor_finish (pScrn);for (i =0 ; i < xf86_config->num_crtc; i++) {
Signature · 6 lines
Earthling Michel Dänzer | https://redhat.com Libre software enthusiast | Mesa and X developer _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx