Ravenports generated: 15 Sep 2018 17:38
[ravenports.git] / bucket_F0 / xorg-driver-video-amdgpu
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               xorg-driver-video-amdgpu
4 VERSION=                18.1.0
5 KEYWORDS=               x11_drivers
6 VARIANTS=               standard
7 SDESC[standard]=        X.org amdgpu video driver
8 HOMEPAGE=               https://www.x.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            XORG/individual/driver
13 DISTFILE[1]=            xf86-video-amdgpu-18.1.0.tar.bz2:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 BROKEN[freebsd]=        REL_11: not supported on 11.x or older, no kernel support
21 NOT_FOR_ARCH=           aarch64
22
23 BUILDRUN_DEPENDS=       xorg-server:single:standard
24                         libdrm:single:standard
25
26 USES=                   libtool mesa pkgconfig
27 XORG_COMPONENTS=        xorgproto
28
29 DISTNAME=               xf86-video-amdgpu-18.1.0
30
31 LICENSE=                MIT:single
32 LICENSE_FILE=           MIT:{{WRKSRC}}/COPYING
33 LICENSE_SCHEME=         solo
34
35 FPC_EQUIVALENT=         x11-drivers/xf86-video-amdgpu
36
37 MUST_CONFIGURE=         gnu
38 CONFIGURE_ARGS=         --disable-udev
39
40 INSTALL_TARGET=         install-strip
41
42 [FILE:247:descriptions/desc.single]
43 This package contains the X.Org xf86-video-amdgpu driver.
44
45 The amdgpu driver supports AMD Radeon chipsets: OLAND, HAINAN, TAHITI,
46 PITCAIRN, VERDE, BONAIRE, KABINI, MULLINS, KAVERI, HAWAII, TOPAZ, TONGA,
47 CARRIZO, FIJI, STONEY, POLARIS11, POLARIS10
48
49
50 [FILE:111:distinfo]
51 e11f25bb51d718b8ea938ad2b8095323c0ab16f4ddffd92091d80f9a445a9672       430542 xf86-video-amdgpu-18.1.0.tar.bz2
52
53
54 [FILE:103:manifests/plist.single]
55 lib/xorg/modules/drivers/amdgpu_drv.so
56 share/X11/xorg.conf.d/10-amdgpu.conf
57 share/man/man4/amdgpu.4.gz
58
59
60 [FILE:1548:patches/patch-src_amdgpu__drm__queue.c]
61 --- src/amdgpu_drm_queue.c.orig 2018-03-02 17:31:02 UTC
62 +++ src/amdgpu_drm_queue.c
63 @@ -62,7 +62,7 @@ amdgpu_drm_queue_handler(int fd, unsigne
64                          unsigned int usec, void *user_ptr)
65  {
66         uintptr_t seq = (uintptr_t)user_ptr;
67 -       struct amdgpu_drm_queue_entry *e, *tmp;
68 +       struct amdgpu_drm_queue_entry *e = NULL, *tmp;
69  
70         xorg_list_for_each_entry_safe(e, tmp, &amdgpu_drm_queue, list) {
71                 if (e->seq == seq) {
72 @@ -134,7 +134,7 @@ amdgpu_drm_abort_one(struct amdgpu_drm_q
73  void
74  amdgpu_drm_abort_client(ClientPtr client)
75  {
76 -       struct amdgpu_drm_queue_entry *e;
77 +       struct amdgpu_drm_queue_entry *e = NULL;
78  
79         xorg_list_for_each_entry(e, &amdgpu_drm_queue, list) {
80                 if (e->client == client)
81 @@ -148,7 +148,7 @@ amdgpu_drm_abort_client(ClientPtr client
82  void
83  amdgpu_drm_abort_entry(uintptr_t seq)
84  {
85 -       struct amdgpu_drm_queue_entry *e, *tmp;
86 +       struct amdgpu_drm_queue_entry *e = NULL, *tmp;
87  
88         xorg_list_for_each_entry_safe(e, tmp, &amdgpu_drm_queue, list) {
89                 if (e->seq == seq) {
90 @@ -164,7 +164,7 @@ amdgpu_drm_abort_entry(uintptr_t seq)
91  void
92  amdgpu_drm_abort_id(uint64_t id)
93  {
94 -       struct amdgpu_drm_queue_entry *e, *tmp;
95 +       struct amdgpu_drm_queue_entry *e = NULL, *tmp;
96  
97         xorg_list_for_each_entry_safe(e, tmp, &amdgpu_drm_queue, list) {
98                 if (e->id == id) {
99 @@ -192,7 +192,7 @@ amdgpu_drm_queue_init()
100  void
101  amdgpu_drm_queue_close(ScrnInfoPtr scrn)
102  {
103 -       struct amdgpu_drm_queue_entry *e, *tmp;
104 +       struct amdgpu_drm_queue_entry *e = NULL, *tmp;
105  
106         xorg_list_for_each_entry_safe(e, tmp, &amdgpu_drm_queue, list) {
107                 if (e->crtc->scrn == scrn)
108
109
110 [FILE:333:patches/patch-src_amdgpu__kms.c]
111 --- src/amdgpu_kms.c.orig       2018-03-02 17:31:02 UTC
112 +++ src/amdgpu_kms.c
113 @@ -756,7 +756,7 @@ static void
114  amdgpu_dirty_update(ScrnInfoPtr scrn)
115  {
116         ScreenPtr screen = scrn->pScreen;
117 -       PixmapDirtyUpdatePtr ent;
118 +       PixmapDirtyUpdatePtr ent = NULL;
119         RegionPtr region;
120  
121         xorg_list_for_each_entry(ent, &screen->pixmap_dirty_list, ent) {
122