1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= xorg-driver-video-amdgpu
7 SDESC[standard]= X.org amdgpu video driver
8 HOMEPAGE= https://www.x.org/
12 SITES[main]= XORG/individual/driver
13 DISTFILE[1]= xf86-video-amdgpu-18.1.0.tar.bz2:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 BROKEN[freebsd]= REL_11: not supported on 11.x or older, no kernel support
23 BUILDRUN_DEPENDS= xorg-server:single:standard
24 libdrm:single:standard
26 USES= libtool mesa pkgconfig
27 XORG_COMPONENTS= xorgproto
29 DISTNAME= xf86-video-amdgpu-18.1.0
32 LICENSE_FILE= MIT:{{WRKSRC}}/COPYING
35 FPC_EQUIVALENT= x11-drivers/xf86-video-amdgpu
38 CONFIGURE_ARGS= --disable-udev
40 INSTALL_TARGET= install-strip
42 [FILE:247:descriptions/desc.single]
43 This package contains the X.Org xf86-video-amdgpu driver.
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
51 e11f25bb51d718b8ea938ad2b8095323c0ab16f4ddffd92091d80f9a445a9672 430542 xf86-video-amdgpu-18.1.0.tar.bz2
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
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)
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;
70 xorg_list_for_each_entry_safe(e, tmp, &amdgpu_drm_queue, list) {
72 @@ -134,7 +134,7 @@ amdgpu_drm_abort_one(struct amdgpu_drm_q
74 amdgpu_drm_abort_client(ClientPtr client)
76 - struct amdgpu_drm_queue_entry *e;
77 + struct amdgpu_drm_queue_entry *e = NULL;
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
83 amdgpu_drm_abort_entry(uintptr_t seq)
85 - struct amdgpu_drm_queue_entry *e, *tmp;
86 + struct amdgpu_drm_queue_entry *e = NULL, *tmp;
88 xorg_list_for_each_entry_safe(e, tmp, &amdgpu_drm_queue, list) {
90 @@ -164,7 +164,7 @@ amdgpu_drm_abort_entry(uintptr_t seq)
92 amdgpu_drm_abort_id(uint64_t id)
94 - struct amdgpu_drm_queue_entry *e, *tmp;
95 + struct amdgpu_drm_queue_entry *e = NULL, *tmp;
97 xorg_list_for_each_entry_safe(e, tmp, &amdgpu_drm_queue, list) {
99 @@ -192,7 +192,7 @@ amdgpu_drm_queue_init()
101 amdgpu_drm_queue_close(ScrnInfoPtr scrn)
103 - struct amdgpu_drm_queue_entry *e, *tmp;
104 + struct amdgpu_drm_queue_entry *e = NULL, *tmp;
106 xorg_list_for_each_entry_safe(e, tmp, &amdgpu_drm_queue, list) {
107 if (e->crtc->scrn == scrn)
110 [FILE:333:patches/patch-src_amdgpu__kms.c]
111 --- src/amdgpu_kms.c.orig 2018-03-02 17:31:02 UTC
113 @@ -756,7 +756,7 @@ static void
114 amdgpu_dirty_update(ScrnInfoPtr scrn)
116 ScreenPtr screen = scrn->pScreen;
117 - PixmapDirtyUpdatePtr ent;
118 + PixmapDirtyUpdatePtr ent = NULL;
121 xorg_list_for_each_entry(ent, &screen->pixmap_dirty_list, ent) {