Commit graph

49 commits

Author SHA1 Message Date
wiz
d5ff95c03e Update to 2.4.50:
libdrm 2.4.50 has been released. It fixes a critical bug for Radeon
Southern Islands GPUs.

Keith Packard (1):
      intel: Track known prime buffers for re-use

Marek Olšák (1):
      Bump the version to 2.4.50

Michel Dänzer (1):
      radeon: Update unaligned offset for 2D->1D tiling transition on SI
2013-12-04 00:39:14 +00:00
wiz
4e59f4225a Update to 2.4.49:
A new version of libdrm has been released. It adds support for 2D
tiling for Sea Islands Radeon GPUs and fixes bugs.

Ian Romanick (1):
      intel: Use memset instead of VG_CLEAR

Marek Olšák (3):
      radeon: implement 2D tiling for CIK
      radeon: handle P16 pipe configs for Hawaii
      Bump the version for release

Michel Dänzer (2):
      radeon: fix mipmap level 0 and 1 alignment for SI and CIK
      radeon: don't overallocate stencil by 4 on SI and CIK

Thomas Hellstrom (1):
      libdrm/mode: Update the encoder and connector defines
2013-11-23 07:29:11 +00:00
wiz
161319f96d Update to 2.4.48:
A new version of libdrm has been released. The main motivation for this
release is the addition of the reset status query ioctl for the Intel
kernel module.  Access to this ioctl will be necessary for Mesa 10.0.

Alex Deucher (2):
      radeon: add hawaii chip family
      radeon: add hawaii pci ids

Ben Widawsky (2):
      intel/bdw: Add broadwell chipset IDs
      intel/bdw: Handle gen8 bufmgr_init

Damien Lespiau (2):
      intel/bdw: Add gen8 to the decode init
      intel/bdw: Update MI_BATCH_BUFFER_START for aub dumps

Dave Airlie (1):
      Revert "intel: Add support for GPU reset status query ioctl"

Ian Romanick (3):
      intel: Add support for GPU reset status query ioctl
      intel: Add support for GPU reset status query ioctl
      libdrm: bump to 2.4.48

Keith Packard (1):
      Add DRM_MODE_PAGE_FLIP_ASYNC define

Kenneth Graunke (3):
      intel: Add the Gen6+ version of MI_REPORT_PERF_COUNT to intel_decode.c.
      intel: Add MI_LOAD_REGISTER_MEM to intel_decode.c.
      intel/bdw/aub: Update AUB trace block writes for 48-bit addressing.

Maarten Lankhorst (1):
      nouveau: prevent undefined behavior in nouveau_pushbuf_reloc with gcc-4.8
2013-11-16 13:58:04 +00:00
wiz
8ad58d7923 Use current tarball. The original upload did not match the release
announcement. This has been fixed, the matching distfiles are now available.

The contents did not change at all (says Ben, and diff.

Set DIST_SUBDIR and update distinfo.
2013-10-13 08:27:08 +00:00
wiz
fb7d6b6a50 Update to 2.4.47:
Alex Deucher (2):
      radeon: add berlin pci ids
      radeon: pad CS to 8 DW

Ben Widawsky (1):
      libdrm: bump to 2.4.47

Chia-I Wu (1):
      intel: silence valgrind warnings for unsynchronized maps

Damien Lespiau (3):
      drm: Synchronize the stereo 3D mode flags from the kernel headers
      drm: Sync the DRM_SET_CLIENT_CAP ioctl definition
      drm: Introduce a drmSetClientCap() wrapper

Daniel Kurtz (1):
      libdrm: Make some drm headers compatible with gcc -std=c89 -pedantic

Emil Velikov (6):
      tests/*version: add missing string.h header
      tests/modetest: silence compiler warning about uninitialised variables
      freedreno: use local drm.h over the system one
      freedreno: set automake options to include subdir-objects
      intel: Update package name and description in libdrm_intel.pc
      configure: add AC_LANG_SOURCE call within AC_COMPILE_IFELSE

Ilia Mirkin (2):
      modetest: add a -D option to specify a device to be used
      modetest: allow setting a scaling factor when showing plane

Imre Deak (1):
      libdrm: add missing DRM_CAP_TIMESTAMP_MONOTONIC

Kristian Høgsberg (1):
      intel: Set bo size from lseek if kernel supports it

Laurent Pinchart (23):
      modetest: Fix warnings
      modetest: Remove extern declarations of opt(arg|ind|err|opt)
      modetest: Sort command line arguments
      modetest: Add a command line parameter to select the driver
      modetest: Add a command line parameter to drop master after mode set
      modetest: Retrieve all resources in one go
      modetest: Don't limit mode set and planes to two instances
      modetest: Add a command line parameter to set properties
      modetest: Allow specifying plane position
      modetest: Print the plane ID when setting up a plane
      modetest: Remove the -m argument
      modetest: Create a device structure
      modetest: Compute CRTC pipe number as needed
      modetest: Remove the struct connector_arg encoder field
      modetest: Store the crtc in the connector_arg structure
      modetest: Store the mode in the crtc structure
      modetest: Give the CRTC ID to the -P option
      modetest: Split mode setting and plane setup
      modetest: Rename struct connector_arg to struct pipe_arg
      modetest: Support pipes with multiple connectors
      modetest: Try all possible encoders for a connector
      modetest: Fix line stride in SMPTE YUV packet pattern generator
      modetest: Allocate NV buffers large enough for the two planes

Marek Olšák (1):
      radeon: fix pitch alignment for non-power-of-two mipmaps on SI

Michel Dänzer (1):
      radeon: Fix tiling mode index for 1D tiled depth/stencil surfaces on CIK

Rob Clark (5):
      tests: add tilcdc to modetest/vbltest
      freedreno: support either kgsl or msm
      freedreno: add support for msm drm
      tests: add msm
      freedreno: add missing NOSYNC flag
2013-10-11 18:19:54 +00:00
obache
0173fe75ae libpciaccess is only required for Intel API, and only enabled for x86 CPU.
PR pkg/47948
2013-08-11 13:42:31 +00:00
wiz
2e7e9e9cff Update to 2.4.46:
Release because I want the cursor ioctls released,
also haswell and radeon ids.

Alex Deucher (3):
      radeon: add CIK chip families
      radeon: add Bonaire pci ids
      radeon: add kabini pci ids

Damien Lespiau (3):
      intel/aub: Sync the AUB defines with mesa's
      intel/aub: Return early if we disable aub dumps
      intel/aub: Implement a way to specify the output .aub filename

Dave Airlie (2):
      drm: add hotspot cursor interface support.
      libdrm: bump to 2.4.46

Mark Kettenis (1):
      radeon: correct RADEON_GEM_WAIT_IDLE use

Rob Clark (3):
      freedreno: add handle and name tracking
      freedreno: add some asserts
      freedreno: also remove from name table on bo delete

Rodrigo Vivi (2):
      intel: Fix Haswell GT3 names.
      intel: Adding more reserved PCI IDs for Haswell.

Ville Syrjälä (1):
      modetest: Make RGB565 pwetty too
2013-07-02 21:03:16 +00:00
wiz
3fa60e8f64 Update to 2.4.45:
A new version of libdrm has been released. The main motivation for this
release is the changes in the radeon surface allocator, which helps fix
multisample textures on the Radeon Cayman family chipsets.

Alex Deucher (4):
      radeon: add new SI pci ids
      radeon: add new richland pci ids
      radeon: add HAINAN family
      radeon: add HAINAN pci ids

Dave Airlie (1):
      drm: add qxl drm header file

Marek Olšák (2):
      radeon: add RADEON_SURF_FMASK flag which disables 2D->1D tiling transition
      configure.ac: bump version to 2.4.45 for release

Rob Clark (3):
      freedreno: add gpu-id property
      Add exynos_fimg2d_test to .gitignore
      freedreno: add synchronization between mesa and ddx

Xiang, Haihao (1):
      intel: Add support for VEBOX ring (v2)
2013-05-18 13:40:48 +00:00
richard
9f7581d53f update atomic_ops for libdrm 2013-05-16 05:43:14 +00:00
wiz
b1f843b6d5 Update to 2.4.44:
New release for radeonsi tiling support

Daniel Kurtz (1):
      drm: Fix error message in drmWaitVBlank

Daniel Vetter (1):
      intel-decode: Fix gen6 HIER_DEPTH_BUFFER decoding

Jerome Glisse (3):
      radeon: update radeon_drm.h to kernel last API additions v2
      radeon: add si tiling support v5
      libdrm 2.4.44

Kenneth Graunke (1):
      intel: Fix Haswell CRW PCI IDs.

Laurent Pinchart (2):
      kms: Make libkms.h usable in C++
      kms: Return a negative error code in kms_bo_create()

Maarten Lankhorst (2):
      Remove unused header xf86mm.h.
      makefiles: Add missing headers.

Rob Clark (1):
      freedreno: add shifted reloc

Ville Syrjälä (6):
      modetest: Fix pitches, somewhat
      modetest: Add support for all 16/32 bpp RGB formats
      modetest: Print possible_crtcs for planes
      modetest: Reduce the length of the connector type string
      modetest: Pass format_info to fill_tiles functions
      modetest: Add YUV420 support and fix YVU420 Cb/Cr ordering
2013-04-21 14:34:37 +00:00
wiz
671162b905 Update to 2.4.43:
Alex Deucher (1):
      radeon: add pci ids for Richland APUs

Ben Widawsky (1):
      intel_chipset: Merge intel-gpu-tools chipsets

Benjamin Gaignard (2):
      tests: allow tests programs to be installed
      tests: allow tests programs to be installed (cumulative patch)

Chris Forbes (1):
      intel: fix length mask for Gen5/Gen6 3DSTATE_CLEAR_PARAMS

Inki Dae (1):
      libdrm/exynos: add test application for 2d gpu.

Jerome Glisse (1):
      radeonsi: make sure tile_split field are not garbage

Kenneth Graunke (1):
      intel/aub: Actually run BLT batches on the blit ring.

Maarten Lankhorst (1):
      configure.ac: bump version to 2.4.43 for release

Marcin Slusarz (2):
      nouveau: return error from pushbuf_validate
      nouveau: add a way to override single pushbuffer memory limits

Rob Clark (1):                                                                                                                                                                       freedreno: add freedreno DRM

Ville Syrjälä (2):
      intel_chipset: Use parens around macro arguments
      intel_chipset: Fix up VLV confusion
2013-04-05 09:13:07 +00:00
wiz
1509f1b02f Disable man pages by default. 2013-02-06 08:44:05 +00:00
wiz
9cb238fdea Update to 2.4.42:
Alex Deucher (2):
      radeon: add OLAND family
      radeon: add OLAND pci ids

David Herrmann (1):
      man: fix manpage build instructions

Jesse Barnes (1):
      intel: add more VLV PCI IDs

Maarten Lankhorst (3):
      nouveau: use @PACKAGE_VERSION@ in libdrm_nouveau.pc
      libdrm: remove DISTCHECK_CONFIGURE_FLAGS
      configure.ac: bump version to 2.4.42 for release

Michel Dänzer (1):
      radeon: Fix 1D tiling layout on SI.

Thierry Reding (1):
      man: Fix typo and use $() for make expressions
2013-02-05 14:12:47 +00:00
wiz
ea5a94379d Update to 2.4.41:
Alex Deucher (1):
      radeon: add new SI pci id

Ben Skeggs (2):
      nouveau: disallow pushbuf BOs in multiple memory types
      nouveau: expose channel engine selection on kepler chipsets

Chris Wilson (1):
      intel: Remove the fence count contributions when clearing relocs

David Herrmann (4):
      man: convert manpages to XML instead of plain troff
      man: add drm.7 overview page
      man: add drm-kms overview page
      man: add drm-memory overview page

David Shao (1):
      intel: Fix missing ETIME on BSD operating systems

Jerome Glisse (1):
      drm/radeon: track global bo name and always return the same

Jesse Barnes (1):
      man: disable man page building until David saves us all

Maarten Lankhorst (1):
      configure.ac: bump version to 2.4.41 for release

Marcin Slusarz (1):
      libdrm_nouveau.pc: don't include I${includedir}/nouveau

Maxime Villard (2):
      libkms: fix memory leak in error path
      libkms: return -EINVAL on fstat error
2013-01-25 10:32:56 +00:00
wiz
12218259f9 Update to 2.4.40:
libdrm 2.4.40 has been released.

The reason is we need to use the radeon stencil mipmap allocator for combined
depth-stencil buffers in Mesa.
2012-12-08 22:15:35 +00:00
asau
8aba7e3fbf Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-29 05:06:05 +00:00
wiz
b468921fd6 Update to 2.4.39:
Dave Airlie (1):
      radeon: add prime import/export support

Kenneth Graunke (1):
      intel: Use VG_CLEAR on the context destroy ioctl as well.

Marek Olšák (3):
      radeon: fix allocation of MSAA surfaces on r600-r700
      radeon: align r600 msaa buffers to a multiple of macrotile size
* num samples
      configure: bump version for 2.4.39 release

Tobias Klausmann (1):
      tests/modetest: Add a forgotten return, needed for opensuse buildservice

Víctor Manuel Jáquez Leal (1):
      omap: include omap_drm.h independently
2012-08-24 22:12:09 +00:00
wiz
123a7e6d6c Fix build on systems without O_CLOEXEC. 2012-08-13 09:05:07 +00:00
wiz
f237f56bf4 regen patch 2012-08-13 07:02:00 +00:00
wiz
4bf3edc743 Update to 2.4.38:
Alex Deucher (2):
      radeon: add some missing evergreen pci ids
      radeon: add some new SI pci ids

Chris Wilson (1):
      intel: Bail gracefully if we encounter an unknown Intel device

Cooper Yuan (1):
      libdrm/exynos: padding gem_mmap structure to 64-bit aligned

Damien Lespiau (1):
      intel: Remove two unused variables

Dave Airlie (4):
      libdrm: add missing caps from kernel to drm.h
      libdrm: add prime fd->handle and handle->fd interfaces
      libdrm/nouveau: add prime handle->bo and bo->handle support.
      intel: add prime interface for getting/setting a prime bo. (v4)

Eric Anholt (4):
      intel: Quiet valgrind warnings in context creation.
      Drop "-Wunsafe-loop-optimizations".
      intel: Import updated i915_drm.h.
      intel: Add a function for the new register read ioctl.

Kenneth Graunke (1):
      intel: Change context create failure message to from fprintf to DBG().

Laurent Pinchart (8):
      modetest: Unify buffer allocation
      modetest: Add SMPTE test pattern
      modetest: Add test pattern support for missing packed YUV formats
      modetest: Add test pattern support for missing planar YUV formats
      modetest: Add test pattern support for missing RGB formats
      modetest: Move connector and plane parsing to separate functions
      modetest: Make frame buffer format configurable on the command line
      modeset: Split buffer allocation to a separate file

Lauri Kasanen (1):
      intel: Fix build failure in test_decode.c

Marek Olšák (6):
      radeon: simplify ZS buffer checking on r600
      radeon: optimize allocation for depth w/o stencil and stencil w/o depth on EG
      radeon: force 2D tiling for MSAA surfaces
      radeon: tweak TILE_SPLIT for MSAA surfaces
      tests/modetest: fix distcheck
      configure: bump version for 2.4.38 release

Paulo Zanoni (1):
      intel: add more Haswell PCI IDs

Rob Clark (5):
      omap: clarify dmabuf file descriptor ownership
      omap: add API to import bo's from dmabuf fd's
      omap: add refcnting and handle tracking
      intel: fix build error
      modetest: fix uninitialized fourcc
2012-08-12 16:16:39 +00:00
dholland
84efa56e32 Reference PR 46649 and add upstream bug report URL. 2012-07-28 18:01:26 +00:00
wiz
bec2eb51ca Add workaround for DragonFly since ETIME is not defined. 2012-07-11 19:03:47 +00:00
wiz
b4ad0b59b2 2.4.37:
2.4.37:
I botched the 2.3.36 release quite royally. Here is 2.6.37 this time with the
proper context APIs in place.

Ben Widawsky (2):
      intel/context: create/destroy implementation
      configure: bump version for release

Kristian Høgsberg (1):
      modetest: Dump bit field names

2.4.36:
Context API and wait render timeout API added to libdrm for Intel.

Unfortunately, I botched fixing intel decode, so there are a bunch of
bogus commits in here. Sorry :-(.

Ben Widawsky (10):
      intel: Add IVB PUSH_CONSTANT decodes
      intel: wait render timeout implementation
      intel/decode: add sampler state pointers for [HD]S
      intel/decode: VERTEX_ELEMENT_STATE, 1 means valid
      intel: updated header for contexts
      intel/context: Add drm_intel_context type
      intel/context: new execbuf interface for contexts
      intel: add decoding of MI_SET_CONTEXT
      Revert "intel/decode: VERTEX_ELEMENT_STATE, 1 means valid"
      intel/decode: fix the reference file for

Dave Airlie (1):
      radeon/surface: free version after using it.

Jerome Glisse (3):
      radeon: always properly initialize stencil_offset field
      radeon: enabled 2D tiling for evergreen only on fixed kernel
      radeon: force 1D array mode for z/stencil surface

Marcin Slusarz (1):
      nouveau: silence some remaining valgrind warnings
Michel Dänzer (1):
      autogen.sh: Restore passing --enable-maintainer-mode to configure.

Paulo Zanoni (2):
      Add support for generic object properties IOCTLs
      modetest: print CRTC properties

Rob Clark (3):
      Add support for bitmask properties
      modetest: support bitmask properties
      modetest: support plane properties
2012-07-01 15:47:02 +00:00
dholland
cddea4c4e0 Whitespace. (as whined about by pkglint) 2012-06-15 23:06:02 +00:00
wiz
dadaede0c1 Update to 2.4.35.
2.4.35:
Alex Deucher (3):
      radeon: add new pci ids
      radeon: fall back to 1D tiling only with broken kernels
      configure: bump version for release

Ben Widawsky (2):
      intel: sanitize i915_drm.h
      intel: wait render header updates

Inki Dae (1):
      libdrm: add exynos drm support

Michel Dänzer (1):
      radeon: Add Southern Islands PCI IDs.

2.4.34:
Anisse Astier (1):
      radeon: Add new R600 PCI ids for surface manager

Ben Skeggs (3):
      lists: add nicer+unsafe foreach, and list join macros
      nouveau: pull in major libdrm rewrite
      nouveau: init nvc0 channel alloc req structure fully

Christoph Bumiller (1):
      nouveau: expose notifier handle on nvc0 as well

Daniel Vetter (1):
      intel/decode: decode MI_WAIT_FOR_EVENT

Eugeni Dodonov (1):
      intel: add Ivy Bridge GT2 server variant

Marcin Slusarz (2):
      nouveau: remove unnecessary EAGAIN loops
      nouveau: fix channel closing

Paul Berry (2):
      intel: Add the ability to supply annotations for .aub files.
      configure: Bump version for 2.4.34.

Paulo Zanoni (4):
      modetest: fix some compiler warnings
      modetest: fix drmModeGetConnector memory leak
      modetest: call drmModeFreePlaneResources
      modetest: print more about our properties

Rob Clark (7):
      omap: fix license header
      modetest: add drm_plane support
      modetest: add YUV and multi-planar support
      modetest: add AR15/XR15 (RGB-1555) formats
      modetest: fix typo
      libdrm: update drm headers from kernel for prime/dmabuf
      omap: add dmabuf support

Víctor Manuel Jáquez Leal (1):
      omap: fix compiler warning
2012-06-10 16:32:13 +00:00
sbd
59970967c7 Add a Linux only PLIST.
Bump PKGREVISION.
2012-05-14 03:56:58 +00:00
wiz
2da16429ef Update to 2.4.33, provided by Francois Tigeot in PR 46384.
Enable nouveau support.

2.4.33:

radeon: add TN surface support
intel: Add some PCI IDs for Haswell
omap: add omapdrm support

2.4.32:

radeon_cs_setup_bo: Fix accounting if caller specified write and read domains
intel: Mark up with valgrind intrinsics to reduce false positives
configure: Fix pkg-config test in absence of valgrind
radeon: fix pitch alignment for scanout buffer
intel: Detect cache domain inconsistency with valgrind
intel: Fix a typo in decode error message
intel: Add decode for gen7 3DSTATE_WM
intel: Add decode for gen7 HIER_DEPTH_BUFFER
intel: Import a new batchbuffer for the gen7 test
Don't require pciaccess if Intel is disabled
Make drm/drm_fourcc.h portable to non-linux platforms
xf86drmMode.h: Add header protection
intel: Add support for overriding the PCI ID via an environment variable
intel: Add .aub file output support
intel: Bump the copyright dates on the bufmgr files
intel: Fix error check for I915_PARAM_HAS_LLC
intel: Add support for (possibly) unsynchronized maps
intel: Move the gen4-6 3DPRIMITIVE handling out of the switch statement
intel: Add per-dword decode of gen7 3DPRIMITIVE
intel: Quiet two more valgrind complaints with recent changes

2.4.31:

intel: add sprite ioctl defines and struct for i915 sprite code
intel: Add a regression test for 2D decode, which I'm about to refactor
intel: Track the current packet location in the decode context
intel: Drop the code for counting parsing failures
intel: Plumb the context through the decode callchain
intel: Use the context to simplify BR00 and BR01 decode
intel: Make instr_out take the decode context
intel: Avoid the need for most overflow checks by using a scratch page
intel: Put the "gen" shorthand chipset identifier in the context
intel: Parse the correct length for gen7 3DSTATE_MULTISAMPLE
intel: Add support for parsing 965 3d packets using helper functions
intel: Move the logic for getting 965 3d packet length to the packet table
intel: Make most of the logic for 965 3d packet length checks table-driven
intel: Add support for parsing gen7 URB packets
intel: Add decode for gen7 state pointers
intel: Add decode for gen7 constant buffer packets
intel: Add minimal decode for remaining gen7 packets in use
intel: Fix bufmgr_gem->gen for gen > 4
Don't build Intel DRM if $CHOST is not i?86-* or x86_64-*
intel: Fix build of Intel DRM on x86 systems
intel: query for LLC support
radeon: add surface allocator helper v10
drmModeFreeResources() always leaked some memory
Using sizeof() on a function parameter with an array type does not work
radeon: surface fix macro -> micro tile fallback
radeon: fix surface API for good before anyone start relying on it
radeon: add r600_pci_ids.h to header file

2.4.30:

libdrm: update drm headers from kernel, including new overlay ioctls & structs
intel: Reset vma list upon purge
tests/gem_flink: Check for MASTER before proceeding
intel: Import intel_decode.c from intel-gpu-tools
intel: Make intel_chipset handle devid directly
intel: Add IS_GEN[567] macros
intel: Reformat intel_decode.c from intel-gpu-tools using Lindent
intel: Get intel_decode.c minimally building
intel: Fix Wsigned-compare warnings (soon to be enabled)
intel: Fix a ton of signed vs unsigned and const char *warnings
intel: Add printflike warnings for instr_out
intel: Fix printf format warnings for intel_decode
intel: Remove c99ish variable declarations
intel: Turn on normal warnings for intel_decode.c build
intel: Disable unused decode_logic_op()
intel/intel_decode.c: Remove #include "intel_decode.h"
intel: Add an interface for setting the output file for decode
intel: Add a regression test program for intel_decode.c
intel: Add regression tests for batch decode
intel: Update for new i915_drm.h defines

2.4.29:

intel: Clean up mmaps on freeing the buffer
test/radeon: add missing files for dist
intel: Add an interface to limit vma caching
intel: Evict cached VMA in order to make room for new mappings
intel: Update map-count for an early error return during mapping
intel: Remove the fresh assertions used to debug the vma cacheing

2.4.28:

Fix compilation with -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
tests/radeon: radeon specific test
nouveau: Mark nouveau subchannel unbound nouveau_grobj_free
intel: limit aperture space to mappable area on gen3
intel: Unmap buffers during drm_intel_gem_bo_unmap

2.4.27:

Specify the return type explicitly
intel: fix the wrong method check for bo_get_subdata
intel: shared header for shader debugging
drm mode: fix drmIoctl wrapper
nouveau: assert argument cannot have side effects
modeprint.c: use PRIu64 for printing uint64_t
drm/intel: don't clobber bufmgr->pci_device
drm/i915: y tiling on i915G/i915GM is different
xf86drm.h : wrap C code for C++ compilation/linking
drm/test: handle usub being empty
drmtest: make check should fail so hard on unable to open device
modetest: use 24 bit depth on the framebuffer
tests: Add vmwgfx driver to probed drivers in tests
vbltest: Check error codes returned from libdrm
modetest: Check error message from pageflip ioctl
modetest: Print extra info if we fail to create a framebuffer
modetest: Call dirty fb on modeset
nouveau: free in error path if drmAvailable fails
intel: Use stdbool.h for dealing with boolean values
intel: Add an interface for removing relocs after they're added
intel: Don't call the SW_FINISH ioctl unless a CPU-mapped write was done
intel: Share the implementation of BO unmap between CPU and GTT mappings

2.4.26:

libkms: All current BO_TYPE are 32bpp
intel: Add interface to query aperture sizes

2.4.25:

don't try to build modetest without libkms
Build modetest for all chipsets, always build modeprint
drm: add dumb interface
Implement drmGetCap() to query device/driver capabilities
libkms: add dumb support
libdrm: oops fix get cap return value
build: Update autotools configuration
Cleanup gen2 tiling confusion
drm_mode: fix types on recently added ioctls
intel: Also handle mrb_exec fallback with ring == I915_EXEC_RENDER
libdrm: (revised) vblank wait on crtc > 1

2.4.24:

intel: Export CONSTANT_BUFFER addressing mode
nouveau: nvc0 drm has no concept of "notifier block"
nouveau: split pushbuf macros specific to nv04-nv50 out, and add nvc0
nouveau: fix up reloc_emit() to accept NULL target buffer
intel: Fallback to old exec if no mrb_exec is available
intel: compile fix for previous commit after rebasing
intel: Set the public handle after opening by name
intel: Remember named bo
libkms/radeon: Add backend
configure.ac: ac_define HAVE_RADEON
modetest: Create buffers using libkms
tests/modeprint: Remove needless dependency on drm_intel
tests/modeprint: Output masks as hex numbers
modetest: Do no flip twice to a current front buffer
intel: fix relaxed tiling on gen2
intel: Add I915_PARAM_HAS_RELAXED_DELTA

2.4.23:

intel: Downgrade error warnings to debug
nouveau: Define buffer object usage flags
nouveau: Let the user choose the push buffer size
nouveau: Define the HAS_PAGEFLIP getparam
intel: Prepare for BLT ring split
s/drmStrdup/strdup/
intel: enable relaxed fence allocation for i915
nouveau: Avoid unnecessary call to CPU_FINI
intel: Remove stale comment
intel: Shove the fake bufmgr subdata implementation into the fake bufmgr
intel: Remove gratuitous assert on bo_reference
intel: Drop silly asserts on mappings present at unmap time
intel: initialize bufmgr.bo_mrb_exec unconditionally
intel: Fix drm_intel_gem_bo_wait_rendering to wait for read-only usage too
nouveau: Add implicit pushbuf flush before gpuobj destruction
intel: Compute in-aperture size for relaxed fenced objects
intel: Add a forward declaration of struct drm_clip_rect
radeon: silence valgrind warnings by zeroing memory
intel: If the command is fenced inform the kernel
drm: don't do the create the node ourselves if we have udev
intel: Reorder need_fence vs fenced_command to avoid fences on gen4
tests: Update for ENOENT returns from unknown handles

2.4.22:

intel: Track tiling stride
intel: Defer tiling change to allocation
intel: Force stride to be 0 for I915_TILING_NONE
intel: Scan the cache for old bo once every second
intel: Print out debugging message following ENOSPC
intel: Sanitise strides for linear buffers and SET_TILING
intel: '===' != '=='
intel: Restore SET_TILING for non-flinked bo
intel: Only adjust the local stride used for SET_TILING in tiled alloc
intel: Limit tiled pitches to 8192 on pre-i965
intel: Suppress the error return from setting domains after mapping
Purge macro NEED_REPLIES
drm mode: Return -errno on drmIoctl() failure
Copy headers from kernel drm-core-next
libdrm: Fix PCI domain domain support
nouveau: accept both 0.0.16 and 1.x.x
Free the property blob along the error path
Avoid use of c++ reserved keyword "virtual" when using a C++ compiler
modetest: add edp and TV connector names to the connector name array
modetest: align fb pitch to 64 bytes
modetest: Fix drawing routines to use stride
nouveau: fix thinko in drm version check
nouveau: fix drm version check some more
intel: Replace open-coded drmIoctl with calls to drmIoctl()

2.4.21:

drm/radeon: add new cs command stream dumping facilities
nouveau: stop shipping nouveau_class.h
intel: Use the correct size when allocating reloc_target_info array
Make libkms build default OS-dependent
Correct the Solaris definitions of atomic_add & atomic_dec
radeon: use the const qualifier in radeon_cs_write_table
tests: add new vblank test
vbltest: Doesn't need intel stuff
intel: query whether a buffer is reusable
Pull in new kernel headers
Only build tests in make check
intel: Don't change tiling mode unless the kernel reports success
intel_bufmgr_fake: fix compile warning
Enable silent automake rules
libkms: Fix include paths
intel: Add support for kernel multi-ringbuffer API
Allow a buffer to point at itself and still get relocs
intel: Convert to untiled pitches if surface is too large for tiling
intel: Add more intermediate sizes of cache buckets between powers of 2
intel: Fix several other paths for buffers pointing at themselves
Fix radeon distcheck
2012-05-08 20:32:47 +00:00
obache
b83c5ce3b1 Reduce mimimal requirement of libdrm from 2.4.20 to 2.4.15, allow OpenBSD-5.1
builtin one, or failed to buildlink with MesaLib, because buitin MesaLib is
allowed but depending libdrm not.

* Previous pkgsrc version is 2.4.13
* NetBSD-5.1's one is 2.4.11
* NetBSD-6.0_BETA's one is 2.4.23

So actual dependency should not be changed.
2012-05-03 11:52:33 +00:00
hans
11199daa51 Fix patch-ac checksum. 2012-02-17 13:18:01 +00:00
hans
a807d0bebf Make this build on SunOS. 2012-02-16 20:30:55 +00:00
joerg
980fa4070c libdrm only makes sense on BSD and Linux. 2010-05-02 22:24:38 +00:00
tnn
6cc98fc336 don't break stuff on !NetBSD 2010-04-19 18:49:30 +00:00
tnn
14f18c6c33 clean up atomic ops handling and use devel/libatomic_ops as a fallback.
Based on patch from Dennis den Brok.
2010-04-19 18:46:15 +00:00
tnn
c63dbc8367 Update to libdrm-2.4.20.
Many changes since 2.4.13, I won't pretend to understand them all.
This update is a prerequisite for eventually moving forward with MesaLib
and xorg-server updates.
2010-04-16 13:43:36 +00:00
wiz
7186175fd3 Update to 2.4.13:
New release for a function I should have exposed from libdrm a long time
ago.  It lets us fix ARB_oq support, and I needed it for
ARB_map_buffer_range.

Alex Deucher (3):
      Add R600_SCRATCH_REG_OFFSET to radeon_drm.h
      Add RADEON_INIT_R600_CP too
      radeon: pull in z pipe changes from kernel

Anssi Hannula (1):
      link libdrm_intel with -lrt for new use of clock_gettime().

Ben Skeggs (6):
      nouveau: drm api 0.0.15, update object header, remove fake
      bo support
      nouveau: user buffers need to be mappable
      nouveau: don't overwrite user-specified bo size needlessly
      nouveau: for the moment, assert if we exceed some reloc limits
      nouveau: support for copy-less pushbuf ioctl
      nouveau: fix a thinko in copyless pushbuf ioctl

Christoph Brill (1):
      Filter radeon pkgconfig file as do intel and nouveau

Dave Airlie (4):
      radeon: don't map/unmap explicitly.
      libdrm_radeon: add tiling support
      radeon: fix GTT writing space check
      radeon: fix bo wait at map time.

Eric Anholt (2):
      Add drm_intel_bo_busy to query whether mapping a BO would block.
      Bump to version 2.4.13 for release.

Jakob Bornecrantz (1):
      Kill last remnant of replacefb ioctl

Maarten Maathuis (1):
      libdrm/nouveau: unmap before ufree means nvbo->sysmem != NULL,
      which inbalances cpu_prep/cpu_finish

Michel Dänzer (2):
      libdrm_radeon: Always wait for BO idle in bo_map.
      Revert "libdrm_radeon: Always wait for BO idle in bo_map."

Pauli Nieminen (4):
      libdrm/radeon: Update head of linked list not to point freed
      memory.
      libdrm_radeon: Fix loops so that compiler can optimize them.
      libdrm_radeon: Optimize copy of table to cs buffer with
      specialized call.
      radeon: add support for busy/domain check interface.
2009-08-29 15:37:47 +00:00
wiz
1d430a28da Update to 2.4.12.
Changes undocumented.
2009-07-22 12:45:05 +00:00
joerg
b02a0f888e Remove @dirrm entries from PLISTs 2009-06-14 18:24:43 +00:00
tnn
a7de7a33ef Update to libdrm-2.4.11.
Changes from xorg-announce@:
Delete extra libdrm_lists.h line after libdrm_la_SOURCES in libdrm/Makefile.am
Use C99 versions of __FUNCTION__ & __volatile__ when not building with gcc
nouveau: store bo handle in public struct in bo_ref_handle
nouveau: write posting got lost somewhere, bring it back
Add new drm_intel_get_pipe_from_crtc_id function.
nouveau: fix ppc for swab changes in Linux 2.6.29
libdrm/mode: align subpixel results
intel: NULL fake bo block when freeing in evict_all
libdrm/intel: assert that clients are using bo refcounting correctly
libdrm/intel: add drm_intel_bo_disable_reuse api
Bump to version 2.4.10 to mark addition of drm_intel_bo_disable_reuse
libdrm/intel: Make get_pipe_from_crtc_id per-bufmgr. Return -1 on failure.
nouveau: backlight compat fix
2009-05-22 19:30:47 +00:00
joerg
29da541a00 Update to libdrm-2.4.9. Major changes include:
- various improvements for Intel, Nouveau
- waitblank improvements
- bugfixes
2009-05-05 04:22:30 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
cube
403e256ff6 Merge cube-native-xorg, so that pkgsrc-current can be used with the native
X.Org found in NetBSD-current.

Thanks a lot to all who helped, especially Matthias Scheler who did
repeated tests on Mac OS X and older versions of NetBSD to make sure the
support for those platforms wouldn't be broken (or at least, not fatally,
as I would still expect a few hiccups here and there, because there is
only so much one can test in such limited time).

On the infrastructure side, this branch brings pkgconfig-builtin.mk, in
order to write very easily new builtin.mk files.  It can actually handle
more than just pkgconfig files, but it will provide a version if it finds
such a file.  x11.builtin.mk has also been made more useful and now all
existing (and future!) native-X11-related builtin.mk files should include
it.
2008-10-05 21:36:32 +00:00
bjs
7657825b67 Update to libdrm-2.3.1. There is no up-to-date ChangeLog in the package
whatsoever, so I cannot include a list here (see GIT history if
you're curious).

NOTE: This version of libdrm no longer includes the TTM interface.
      If any [xorg/mesa] packages are updated to versions explicitly requiring
      libdrm-2.3.1, then BUILDLINK_API_DEPENDS for this package will
      need to be changed.  Also, the i915tex dri driver found in
      graphics/MesaLib will not build with this version--but nor was it
      supported on any platform except Linux.  I have remove i915tex
      from the MesaLib driver build; this should be enough to avoid problems.
2008-07-16 06:41:17 +00:00
wiz
ac82e4c836 Add RCS Id to patch-ab. 2008-06-03 10:47:03 +00:00
tnn
0532283244 PR pkg/38796: Hasso Tepper: Use correct DRM major# for DragonFly
Bump PKGREVISION.
2008-05-30 14:29:19 +00:00
bjs
e22df43e8f Add support for the userland atomic ops of NetBSD-current.
As per the comment in xf86drm.h, this should be reflected here, as we
now use atomic_cas_uint() in drm_atomic.h.
2008-05-06 06:20:25 +00:00
drochner
b01e382f93 use major number 180 for drm on NetBSD, bump PKGREVISION 2007-03-23 16:28:30 +00:00
joerg
9138d2f430 For simplicity force the newer version for now. 2007-01-14 10:57:47 +00:00
joerg
657099d4fa Update to libdrm-2.3.0 which fixes the type problem somewhat and adds
some other functions. Switch to bzip2.
2006-11-14 18:19:43 +00:00
joerg
6412a1293d Import libdrm-2.2.0 as derived from the pkgsrc-wip pkg:
This package provides a library which offers a userspace interface
to kernel DRM (Direct Rendering Manager) services for access to
graphics hardware.
2006-11-14 14:22:12 +00:00