a1db2304ba
22.0.0: glamor: Set AMDGPU_CREATE_PIXMAP_SCANOUT on DRI2 and shared pixmaps glamor: unset AMDGPU_CREATE_PIXMAP_SCANOUT on shared pixmap Add option for non-vsynced flips for "secondary" outputs. 21.0.0: kms: Handle changes to SourceValidate call chain in xserver 19 Fix link failure with gcc 10 Use ODEV_ATTRIB_PATH where possible for the device node. Remove drmCheckModesettingSupported and kernel module loading, on Linux Fixup the amdgpu_bus_id() string format Remove NULL check after a "cannot fail" function Store the busid string in AMDGPUEnt Reuse the existing busid string Use the device_id straight from gpu_info Kill off drmOpen/Close/drmSetInterfaceVersion in favour of drmDevices Introduce amdgpu_device_setup helper Factor out common code to amdgpu_probe() Fix drmmode_crtc_scanout_create logic Bail from amdgpu_pixmap_get_handle with ShadowFB Handle NULL fb_ptr in pixmap_get_fb glamor: Make pixmap scanout compatible if its dimensions are Drop bo/width/height members from struct drmmode_scanout Drop struct drmmode_scanout altogether in favour of PixmapPtrs Make drmmode_crtc_scanout_create/destroy static Fix build against ABI_VIDEODRV_VERSION 25.2 Replace a few more instances of "master" Check for AMDGPU_CREATE_PIXMAP_SCANOUT in amdgpu_glamor_create_pixmap Drop dri.h includes Include xf86drm.h instead of sarea.h Fix return value check of drmIoctl()
25 lines
682 B
Makefile
25 lines
682 B
Makefile
# $NetBSD: Makefile,v 1.23 2022/08/14 19:25:13 tnn Exp $
|
|
|
|
DISTNAME= xf86-video-amdgpu-22.0.0
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_XORG:=driver/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
HOMEPAGE= https://xorg.freedesktop.org/
|
|
COMMENT= Modular Xorg ATI (Tonga, Carrizo, Iceland, Fiji, Stoney) driver
|
|
LICENSE= mit AND x11
|
|
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= gmake pkg-config
|
|
|
|
RELRO_SUPPORTED= partial
|
|
|
|
CONFIGURE_ENV.SunOS+= DRIVER_MAN_SUFFIX=4
|
|
|
|
X11_DRV_NAME= amdgpu
|
|
.include "../../meta-pkgs/modular-xorg/avoid-duplicate.mk"
|
|
.include "../../x11/libdrm/buildlink3.mk"
|
|
.include "../../x11/modular-xorg-server/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|