pkgsrc/x11/libdrm/patches/patch-libkms_vmwgfx.c

18 lines
366 B
C
Raw Normal View History

Update to 2.4.61: Release to fix regression in nouveau in 2.4.60, but brings lots of android changes and other fixes. Ben Skeggs (2): nouveau: restore check that avoids multiple user bos per kernel bo configure.ac: bump version to 2.4.61 for release Chih-Wei Huang (3): android: simplify the including rule of subdirs android: get rid of LIBDRM_TOP android: remove unnecessary TARGET_OUT_HEADERS variable Chris Wilson (2): mode: Retrieve only the current information for a Connector intel: Delay testing for userptr until first use Connor Behan (1): xf86drm: Fix ioctl struct clearing in drmAgpEnable Damien Lespiau (3): RELEASING: Fix releasing instructions to match the latest release.sh RELEASING: Fix the step numbering RELEASING: Fix annouce typo Daniel Kurtz (3): proptest: install it with --enable-install-test-programs tests: add rockchip to modetest, kmstest, vbltest and proptest xf86drmMode.h: inline -> __inline for use with gcc -std=c89 -pedantic Emil Velikov (39): android: correcly set LOCAL_EXPORT_C_INCLUDE_DIRS android: simplify LOCAL_C_INCLUDES android: remove ${srcdir} from the includes android: remove LOCAL_COPY_HEADERS* variables android: add the missing tag "optional" to libkms autotools: remove ${srcdir} from the includes android: remove explicit include to libpciaccess tests/hash: extract test out of xf86drmHash.c tests/hash: misc compilation fixes tests/hash: style fixes tests/hash: return non-zero on failure tests/random: extract test out of xf86drmRandom.c tests/random: return non-zero on test failure drm: replace HASH_DEBUG with DEBUG drm: use correct printf modifiers configure.ac: split -fvisibility and __attribute__((visibility)) checks radeon: move bof.[ch] out of libdrm_radeon radeon: add symbols test freedreno: annotate the private symbols freedreno: add symbols test intel: remove the drm_mm* symbol workarounds intel: remove unused mmFindBlock intel: annotate the private symbols intel: add symbols test nouveau: annotate the private symbols nouveau: add symbols test libkms: annotate private symbols libkms: add symbols test exynos: add symbols test omap: add symbols test tegra: add symbols test drm: rename libdrm{,_macros}.h drm: remove no longer needed VISIBILITY_CFLAGS drm: remove drm_public macro configure: request/set the compiler in C99 mode drm: use c99 __func__ over __FUNCTION__ man: rework the Makefile.am android: set the HAVE_VISIBILITY define freedreno: link against CLOCK_LIB Greg Hackmann (1): Add missing <strings.h> includes Jan Vesely (5): Fix unused function warnings Remove drmSetDebugMsgFunction and related infrastructure tests/exynos: Fix missing static keyword drmSL: Fix neighbor lookup tests/drmsl: Extract tests out of xf86drmSL.c Joonyoung Shim (6): modetest: fix Segmentation fault modetest: make use of drmModeRmFB modetest: fix the error path handling modetest: clear buffer and framebuffer for planes modetest: destroy the cursor bo modetest: fix the arguments of the MAKE_RGB_INFO define Neil Roberts (1): intel: Merge latest i915_drm.h Rob Clark (2): modeprint: add missing encoder/connector type names modetest: fix allocation for yuv420/yvu420 Tobias Jakobi (1): modetest: initialize handles/pitches in set_plane() Tvrtko Ursulin (1): intel: Leak the userptr test bo
2015-05-07 08:31:06 +02:00
$NetBSD: patch-libkms_vmwgfx.c,v 1.3 2015/05/07 06:31:06 wiz Exp $
Provide compatibility errno number for non-Linux.
Update to 2.4.61: Release to fix regression in nouveau in 2.4.60, but brings lots of android changes and other fixes. Ben Skeggs (2): nouveau: restore check that avoids multiple user bos per kernel bo configure.ac: bump version to 2.4.61 for release Chih-Wei Huang (3): android: simplify the including rule of subdirs android: get rid of LIBDRM_TOP android: remove unnecessary TARGET_OUT_HEADERS variable Chris Wilson (2): mode: Retrieve only the current information for a Connector intel: Delay testing for userptr until first use Connor Behan (1): xf86drm: Fix ioctl struct clearing in drmAgpEnable Damien Lespiau (3): RELEASING: Fix releasing instructions to match the latest release.sh RELEASING: Fix the step numbering RELEASING: Fix annouce typo Daniel Kurtz (3): proptest: install it with --enable-install-test-programs tests: add rockchip to modetest, kmstest, vbltest and proptest xf86drmMode.h: inline -> __inline for use with gcc -std=c89 -pedantic Emil Velikov (39): android: correcly set LOCAL_EXPORT_C_INCLUDE_DIRS android: simplify LOCAL_C_INCLUDES android: remove ${srcdir} from the includes android: remove LOCAL_COPY_HEADERS* variables android: add the missing tag "optional" to libkms autotools: remove ${srcdir} from the includes android: remove explicit include to libpciaccess tests/hash: extract test out of xf86drmHash.c tests/hash: misc compilation fixes tests/hash: style fixes tests/hash: return non-zero on failure tests/random: extract test out of xf86drmRandom.c tests/random: return non-zero on test failure drm: replace HASH_DEBUG with DEBUG drm: use correct printf modifiers configure.ac: split -fvisibility and __attribute__((visibility)) checks radeon: move bof.[ch] out of libdrm_radeon radeon: add symbols test freedreno: annotate the private symbols freedreno: add symbols test intel: remove the drm_mm* symbol workarounds intel: remove unused mmFindBlock intel: annotate the private symbols intel: add symbols test nouveau: annotate the private symbols nouveau: add symbols test libkms: annotate private symbols libkms: add symbols test exynos: add symbols test omap: add symbols test tegra: add symbols test drm: rename libdrm{,_macros}.h drm: remove no longer needed VISIBILITY_CFLAGS drm: remove drm_public macro configure: request/set the compiler in C99 mode drm: use c99 __func__ over __FUNCTION__ man: rework the Makefile.am android: set the HAVE_VISIBILITY define freedreno: link against CLOCK_LIB Greg Hackmann (1): Add missing <strings.h> includes Jan Vesely (5): Fix unused function warnings Remove drmSetDebugMsgFunction and related infrastructure tests/exynos: Fix missing static keyword drmSL: Fix neighbor lookup tests/drmsl: Extract tests out of xf86drmSL.c Joonyoung Shim (6): modetest: fix Segmentation fault modetest: make use of drmModeRmFB modetest: fix the error path handling modetest: clear buffer and framebuffer for planes modetest: destroy the cursor bo modetest: fix the arguments of the MAKE_RGB_INFO define Neil Roberts (1): intel: Merge latest i915_drm.h Rob Clark (2): modeprint: add missing encoder/connector type names modetest: fix allocation for yuv420/yvu420 Tobias Jakobi (1): modetest: initialize handles/pitches in set_plane() Tvrtko Ursulin (1): intel: Leak the userptr test bo
2015-05-07 08:31:06 +02:00
--- libkms/vmwgfx.c.orig 2015-05-06 23:04:31.000000000 +0000
+++ libkms/vmwgfx.c
Update to 2.4.58: 2.4.58: Rob Clark (3): fix compile error on 32bit systems more compile fix configure.ac: bump version to 2.4.58 for release 2.4.57: Alex Deucher (2): radeon: add new CIK pci ids radeon: add new SI pci ids Benjamin Gaignard (1): modetest: Add support of STI driver Damien Lespiau (1): intel: Don't leak the test page in an has_userptr() error path Emil Velikov (27): all: include config.h only when available and use its defines libkms: remove explicit define _FILE_OFFSET_BITS 64 libdrm, freedreno, intel, nouveau, radeon: add Makefile.sources libdrm,intel: Add Android build libdrm,intel: rework android header handling radeon: add Android build support nouveau: add Android build support freedreno: add Android build support android: add CleanSpec.mk freedreno: fd_bo_from_handle() remove duplicate declaration automake: remove obsolete makefiles Remove i810_drm.h and i830_drm.h from the distribution tarball automake: fix 'make commit-headers' configure: unconditionally check for atomic ops/primitives libkms: build the intel backend only when needed libkms: move sources lists to makefile.sources libkms: add Android build modetest: move sources lists to makefiles.sources modetest: add Android build automake: pick up all files for distribution. Add private mmap/munmap wrappers drm: use drm_mmap/drm_munmap wrappers libkms: use drm_mmap/drm_munmap wrappers nouveau: use drm_mmap/drm_munmap wrappers radeon: use drm_mmap/drm_munmap wrappers freedreno: use drm_mmap/drm_munmap wrappers intel: use drm_mmap/drm_munmap wrappers François Tigeot (1): drm: Implement drmCheckModesettingSupported() for DragonFly Lionel Landwerlin (4): atomic: add atomic_add_unless() intel: make bufmgr_gem shareable from different API intel: make bo_unreference() thread safe intel: make drm_intel_gem_bo_get_reloc_count() thread safe Maarten Lankhorst (6): nouveau: Only export public functions. radeon: Use symbol visibility. intel: Use symbol visibility. omap: Use symbol visibility. freedreno: Use symbol visibility. exynos: Use symbol visibility. Maks Naumov (1): radeon: Fix surf->bankh init by default value when surf->tile_split == 0 Rafal Sapala (1): intel: Adding locks for drm objects synchronization. Rob Clark (2): freedreno: add dmabuf import/export helpers configure.ac: bump version to 2.4.57 for release Thierry Reding (1): configure: Support symbol visibility when available Tvrtko Ursulin (1): intel: Add support for userptr objects
2014-10-01 11:39:30 +02:00
@@ -39,6 +39,10 @@
Update to 2.4.61: Release to fix regression in nouveau in 2.4.60, but brings lots of android changes and other fixes. Ben Skeggs (2): nouveau: restore check that avoids multiple user bos per kernel bo configure.ac: bump version to 2.4.61 for release Chih-Wei Huang (3): android: simplify the including rule of subdirs android: get rid of LIBDRM_TOP android: remove unnecessary TARGET_OUT_HEADERS variable Chris Wilson (2): mode: Retrieve only the current information for a Connector intel: Delay testing for userptr until first use Connor Behan (1): xf86drm: Fix ioctl struct clearing in drmAgpEnable Damien Lespiau (3): RELEASING: Fix releasing instructions to match the latest release.sh RELEASING: Fix the step numbering RELEASING: Fix annouce typo Daniel Kurtz (3): proptest: install it with --enable-install-test-programs tests: add rockchip to modetest, kmstest, vbltest and proptest xf86drmMode.h: inline -> __inline for use with gcc -std=c89 -pedantic Emil Velikov (39): android: correcly set LOCAL_EXPORT_C_INCLUDE_DIRS android: simplify LOCAL_C_INCLUDES android: remove ${srcdir} from the includes android: remove LOCAL_COPY_HEADERS* variables android: add the missing tag "optional" to libkms autotools: remove ${srcdir} from the includes android: remove explicit include to libpciaccess tests/hash: extract test out of xf86drmHash.c tests/hash: misc compilation fixes tests/hash: style fixes tests/hash: return non-zero on failure tests/random: extract test out of xf86drmRandom.c tests/random: return non-zero on test failure drm: replace HASH_DEBUG with DEBUG drm: use correct printf modifiers configure.ac: split -fvisibility and __attribute__((visibility)) checks radeon: move bof.[ch] out of libdrm_radeon radeon: add symbols test freedreno: annotate the private symbols freedreno: add symbols test intel: remove the drm_mm* symbol workarounds intel: remove unused mmFindBlock intel: annotate the private symbols intel: add symbols test nouveau: annotate the private symbols nouveau: add symbols test libkms: annotate private symbols libkms: add symbols test exynos: add symbols test omap: add symbols test tegra: add symbols test drm: rename libdrm{,_macros}.h drm: remove no longer needed VISIBILITY_CFLAGS drm: remove drm_public macro configure: request/set the compiler in C99 mode drm: use c99 __func__ over __FUNCTION__ man: rework the Makefile.am android: set the HAVE_VISIBILITY define freedreno: link against CLOCK_LIB Greg Hackmann (1): Add missing <strings.h> includes Jan Vesely (5): Fix unused function warnings Remove drmSetDebugMsgFunction and related infrastructure tests/exynos: Fix missing static keyword drmSL: Fix neighbor lookup tests/drmsl: Extract tests out of xf86drmSL.c Joonyoung Shim (6): modetest: fix Segmentation fault modetest: make use of drmModeRmFB modetest: fix the error path handling modetest: clear buffer and framebuffer for planes modetest: destroy the cursor bo modetest: fix the arguments of the MAKE_RGB_INFO define Neil Roberts (1): intel: Merge latest i915_drm.h Rob Clark (2): modeprint: add missing encoder/connector type names modetest: fix allocation for yuv420/yvu420 Tobias Jakobi (1): modetest: initialize handles/pitches in set_plane() Tvrtko Ursulin (1): intel: Leak the userptr test bo
2015-05-07 08:31:06 +02:00
#include "libdrm_macros.h"
#include "vmwgfx_drm.h"
+#ifndef ERESTART
+#define ERESTART 85
+#endif
+
struct vmwgfx_bo
{
struct kms_bo base;