lp:xserver-xorg-driver-ati

Created by James Westby on 2009-12-16 and last modified on 2020-02-10
Get this branch:
bzr branch lp:xserver-xorg-driver-ati

Related bugs

Related blueprints

Branch information

Owner:
VCS imports
Project:
xserver-xorg-driver-ati
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://anongit.freedesktop.org/xorg/driver/xf86-video-ati.

The next import is scheduled to run in 5 hours.

Last successful import was 29 minutes ago.

Import started 30 minutes ago on alnitak and finished 29 minutes ago taking 20 seconds — see the log
Import started 6 hours ago on alnitak and finished 6 hours ago taking 20 seconds — see the log
Import started 12 hours ago on alnitak and finished 12 hours ago taking 20 seconds — see the log
Import started 19 hours ago on alnitak and finished 19 hours ago taking 20 seconds — see the log
Import started on 2020-02-22 on alnitak and finished on 2020-02-22 taking 20 seconds — see the log
Import started on 2020-02-22 on alnitak and finished on 2020-02-22 taking 20 seconds — see the log
Import started on 2020-02-22 on alnitak and finished on 2020-02-22 taking 20 seconds — see the log
Import started on 2020-02-22 on alnitak and finished on 2020-02-22 taking 20 seconds — see the log
Import started on 2020-02-21 on alnitak and finished on 2020-02-21 taking 20 seconds — see the log
Import started on 2020-02-21 on alnitak and finished on 2020-02-21 taking 20 seconds — see the log

Recent revisions

3090. By Alexey Sheplyakov <email address hidden> on 2020-02-10

Don't crash X server if GPU acceleration is not available

Commit d1d8e3c8d0a0a0394d395eba171460501745209b causes X server
to fail on startup when GPU acceleration is not working (or is
disabled). The reason is that `radeon_get_pixmap_bo` function
gets called too early (before EXA has been initialized) and
fails with an assert:

 #0 __GI_raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:50
 #1 0x76ab1c6c in __GI_abort () at abort.c:79
 #2 0x76ac0b64 in __assert_fail_base (fmt=0x76bfbce4 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x7658c80c "key->initialized", file=<optimized out>, line=121,
     function=0x7658d040 <__PRETTY_FUNCTION__.10607> "dixGetPrivateAddr") at assert.c:92
 #3 0x76ac0c0c in __GI___assert_fail (assertion=0x7658c80c "key->initialized", file=0x7658c9d0 "../include/privates.h", line=121,
     function=0x7658d040 <__PRETTY_FUNCTION__.10607> "dixGetPrivateAddr") at assert.c:101
 #4 0x76579e6c in dixGetPrivateAddr (key=<optimized out>, key=<optimized out>, privates=<optimized out>) at ../include/privates.h:121
 #5 0x7657a954 in dixGetPrivateAddr (key=<optimized out>, key=<optimized out>, privates=<optimized out>) at exa.c:70
 #6 dixGetPrivate (key=<optimized out>, privates=<optimized out>) at ../include/privates.h:136
 #7 exaGetPixmapDriverPrivate (pPix=<optimized out>) at exa.c:68
 #8 0x7623d460 in radeon_get_pixmap_bo (pPix=0x71c1b8) at radeon.h:804
 #9 radeon_get_pixmap_handle (pixmap=0x71c1b8, handle=0x7fa22328) at radeon_bo_helper.c:357
 #10 0x76244458 in radeon_pixmap_get_fb (pix=0x71c1b8) at radeon.h:886
 #11 drmmode_set_mode_major (crtc=0x691860, mode=0x69191c, rotation=<optimized out>, x=<optimized out>, y=<optimized out>) at drmmode_display.c:918
 #12 0x762467e8 in drmmode_set_desired_modes (pScrn=0x67c678, drmmode=<optimized out>, set_hw=1) at drmmode_display.c:3128
 #13 0x0047bfa4 in MapWindow (client=0x669ec8, pWin=0x7206c0) at window.c:2722
 #14 MapWindow (pWin=0x7206c0, client=0x669ec8) at window.c:2665
 #15 0x00449650 in dix_main (argc=3, argv=0x7fa22604, envp=<optimized out>) at main.c:247
 #16 0x76ab2198 in __libc_start_main (main=0x42db10 <main>, argc=3, argv=0x7fa22604, init=<optimized out>, fini=0x606434 <__libc_csu_fini>, rtld_fini=0x77229930 <_dl_fini>,
     stack_end=0x7fa225e0) at libc-start.c:308
 #17 0x0042db80 in __start () at ../sysdeps/mips/start.S:110

Don't call `exaGetPixmapDriverPrivate` if the acceleration (EXA) is not
enabled [yet] to avoid the problem.

Closes: https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/issues/188
Closes: https://bugzilla.altlinux.org/show_bug.cgi?id=37539

3089. By Michel Dänzer <email address hidden> on 2020-02-10

Handle NULL fb_ptr in pixmap_get_fb

This can happen when HW acceleration is disabled.

Fixes https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/issues/188

3088. By Adam Jackson <email address hidden> on 2020-02-05

Fix link failure with gcc 10

Without the 'extern' this looks like a definition not just a
declaration, in every file that includes the header. gcc 10 is stricter
about this kind of multiple definition.

Reviewed-by: Michel Dänzer <email address hidden>

3087. By Michel Dänzer <email address hidden> on 2019-10-15

Bump version for 19.1.0 release

3086. By Michel Dänzer <email address hidden> on 2019-09-25

Don't unreference FBs of pixmaps from different screens in LeaveVT

FindClientResourcesByType finds pixmaps from all screens, but trying to
process ones from other screens here makes no sense and likely results
in a crash or memory corruption.

Fixes: 06a465484101 ("Make all active CRTCs scan out an all-black
                      framebuffer in LeaveVT")

3085. By Michel Dänzer <email address hidden> on 2019-09-20

Don't set up black scanout buffer if LeaveVT is called from CloseScreen

Avoids a crash described in
https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/merge_requests/43#note_223718

(Ported from amdgpu commit 5b8bc9fc505c551dcd9b0ed5ab835a49fa4f9fda)
Reviewed-by: Alex Deucher <email address hidden>

3084. By Michel Dänzer <email address hidden> on 2019-07-18

Don't disable page flipping completely with SW cursor

Even with SW cursor, page flipping can be used while no X cursor is
visible.

Occurred to me in the context of xorg/xserver#828.
(Ported from amdgpu commit 87f41ace4920fd2069794211683659eb25b025a6)

3083. By Michel Dänzer <email address hidden> on 2019-06-25

present: Check that we can get a KMS FB for flipping

This can legitimately fail if the pixmap's storage is shared from
another device, e.g. when using PRIME render offloading.

(Ported from amdgpu commit 7d3fef72e0c871e1677e9e544f4cae5e238b5c52)

3082. By Michel Dänzer <email address hidden> on 2019-06-14

Remove dri2_drawable_crtc parameter consider_disabled

All callers were passing TRUE.

(Ported from amdgpu commit ea19a5207054bb159fc7fb6d88e0ceb10c3da010)
Reviewed-by: Alex Deucher <email address hidden>

3081. By Michel Dänzer <email address hidden> on 2019-06-14

dri2: Re-use previous CRTC when possible if pick_best_crtc returns NULL

This way, the MSC will continue ticking at the rate of (the last mode
which was enabled for) that CRTC, instead of the client running
unthrottled.

(Ported from amdgpu commit 3109f088fdbd89c2ee8078625d4f073852492656)
Reviewed-by: Alex Deucher <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.