Commit graph

64 commits

Author SHA1 Message Date
nia
094f5c11d9 xf86-video-*: Add avoid-duplicate.mk 2021-12-02 18:15:25 +00:00
nia
f4a62a200c xf86-video-*: Add builtin.mk files 2021-12-02 18:14:34 +00:00
nia
30f939d35c modular-xorg: Apply at most partial RELRO for modular drivers. 2021-11-02 08:20:24 +00:00
nia
ec8cda1f38 x11: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Unfetchable distfiles (fetched conditionally?):
./x11/py-qt4/distinfo PyQt4_gpl_mac-4.12.3.tar.gz
2021-10-26 11:33:42 +00:00
nia
665544c974 x11: Remove SHA1 hashes for distfiles 2021-10-07 15:13:25 +00:00
maya
829415faa2 xf86-video-ati: backport upstream commits (not in a release yet) to fix
crash with options NoAccel.

Bump PKGREVISION

From Onno van der Linden in xsrc/55059.
2020-03-08 18:30:53 +00:00
rillig
b686dd9180 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:43 +00:00
wiz
6648d1ffd3 xf86-video-ati: update to 19.1.0.
I'm pleased to announce the 19.1.0 release of xf86-video-ati, the Xorg
driver for ATI/AMD Radeon GPUs supported by the radeon kernel driver.
This release supports xserver versions 1.13-1.20.

There are no big changes in this release, just fixes and other minor
improvements.

Thanks to everybody who contributed to this release in any way!


NOTE:

As of September, I'm no longer working for AMD but for Red Hat's
graphics/input infrastructure team. I'm hoping that someone from my
former team at AMD will step up to maintain this driver.


Flora Cui (1):
      dri2: reply to client for WaitMSC request in any case

Michel Dänzer (9):
      Retry get_fb_ptr in get_fb
      dri3: Always flush glamor before sharing pixmap storage with clients
      dri2: Re-use previous CRTC when possible if pick_best_crtc returns NULL
      Remove dri2_drawable_crtc parameter consider_disabled
      present: Check that we can get a KMS FB for flipping
      Don't disable page flipping completely with SW cursor
      Don't set up black scanout buffer if LeaveVT is called from CloseScreen
      Don't unreference FBs of pixmaps from different screens in LeaveVT
      Bump version for 19.1.0 release
2019-11-14 10:24:36 +00:00
wiz
382509e96b xf86-video-ati: update to 19.0.1.
This is a bug-fix release, with only three changes:

* Fixes for two regressions which crept into the 19.0.0 release.
* Add support for RandR output tile properties, allowing monitors using
  DisplayPort Multi Stream Transport tiling to work better out of the
  box. (Note that DP MST support in the radeon kernel driver is still
  experimental and disabled by default)

Thanks to everybody who contributed to this release in any way!


Dave Airlie (1):
      modesetting: add tile property support

Michel Dänzer (3):
      Revert "glamor: Avoid glamor_create_pixmap for pixmaps backing windows"
      Use radeon_finish in drmmode_crtc_scanout_update
      Bump version for 19.0.1 release
2019-03-19 23:51:46 +00:00
wiz
3cdff26588 xf86-video-ati: update to 19.0.0.
I'm pleased to announce the 19.0.0 release of xf86-video-ati, the Xorg
driver for ATI/AMD Radeon GPUs supported by the radeon kernel driver.
This release supports xserver versions 1.13-1.20.

Highlights:

* Various TearFree related fixes and robustness improvements.
* Up to six independent instances per GPU are now supported in "Zaphod"
  style multi-head configurations.

Plus other improvements and fixes. Thanks to everybody who contributed
to this release in any way!


Alan Coopersmith (1):
      Update README for gitlab migration

Mario Kleiner (1):
      Fix crash when page flipping in multi-X-Screen/Zaphod mode

Michel Dänzer (30):
      dri3: Handle radeon_get_pixmap_bo returning NULL
      Handle pending scanout update in drmmode_crtc_scanout_free
      Make wait_pending_flip / handle_deferred symmetric in set_mode_major
      Allow up to six instances in Zaphod mode
      Post-release version bump
      Detect and fix up non-premultiplied cursor data
      Skip gamma correction of cursor data if premultiplied R/G/B > alpha
      glamor: Can work at depth >= 15 with current xserver Git master
      Use drm_abort_one in drm_queue_handler
      Explicitly keep track of whether a DRM event is for a flip or not
      Move deferred vblank events to separate drm_vblank_deferred list
      Perform scanout buffer update immediately if drmmode_wait_vblank fails
      Cancel pending scanout update in drmmode_crtc_scanout_update
      Automatically try re-enabling TearFree after a flip failed
      Drop RADEONInfoRec::cursor_bo array
      Use drmIoctl in drmmode_show_cursor
      Update cursor position in drmmode_show_cursor if hotspot changed
      Use two HW cursor buffers per CRTC
      Only call drmmode_uevent_init if RandR is enabled
      Only call drmmode_validate_leases if RandR is enabled
      dri3: Flush if necessary in dri3_fd_from_pixmap
      dri2: Flush in dri2_create_buffer2 after calling glamor_set_pixmap_bo
      glamor: Avoid glamor_create_pixmap for pixmaps backing windows
      Don't allow TearFree scanout flips to complete in the same vblank period
      Only update drmmode_crtc->flip_pending after actually submitting a flip
      Call drmHandleEvent again if it was interrupted by a signal
      Keep waiting for a pending flip if drm_handle_event returns 0
      present: Check that flip and screen pixmap pitches match
      dri2: Call drm_queue_handle_deferred in dri2_deferred_event
      Bump version for 19.0.0 release
2019-03-07 23:24:37 +00:00
triaxx
0cab36bdb2 xf86-video-ati: update to 18.1.0
Add LICENSE.
2018-09-16 20:28:51 +00:00
wiz
08f4d297aa xf86-video-ati: Fix build with modular-xorg-server-1.20 2018-05-20 07:11:10 +00:00
wiz
04847258b1 xf86-video-ati: update to 18.0.1.
I'm pleased to announce the 18.0.1 release of xf86-video-ati, the Xorg
driver for ATI/AMD Radeon GPUs supported by the radeon kernel driver.
This release supports xserver versions 1.13-1.19. It also works with
xserver 1.20 RC1, so unless something unexpected happens, it should work
with xserver 1.20 as well.

This is a bug-fix release addressing issues in 18.0.0. While those
issues shouldn't affect most users, I recommend that all users of 18.0.0
update to 18.0.1.

* The Xorg process could crash when multiple primary screens are
  configured in xorg.conf.
* TearFree could trigger debugging messages in the pixman library
2018-03-15 23:45:25 +00:00
wiz
17975f24d2 xf86-video-ati: update to 18.0.0.
I'm pleased to announce the 18.0.0 release of xf86-video-ati, the Xorg
driver for ATI/AMD Radeon GPUs supported by the radeon kernel driver.
This release supports xserver versions 1.13-1.19. It also works with
xserver 1.20 RC1, so unless something unexpected happens, it should work
with xserver 1.20 as well.

Highlights:

* New year-based versioning scheme
* Page flipping can now be used even when the HW cursor can't be used in
  some cases
* Support for 30-bit RGB colour output. Note that gamma correction is
  currently not available with 30-bit colour. Also, GLAMOR hardware
  acceleration is not available with 30-bit colour with xserver versions
  before 1.20.

Plus other improvements and fixes. Thanks to everybody who contributed
to this release in any way!
2018-03-07 12:14:24 +00:00
wiz
380b6ec244 xorgproto: use xorgproto instead of separate *proto packages
Remove now obsolete packages.
2018-03-07 11:57:28 +00:00
wiz
a2b6786a5c Updated xf86-video-ati to 7.10.0.
I'm pleased to announce the 7.10.0 release of xf86-video-ati, the Xorg
driver for ATI/AMD Radeon GPUs supported by the radeon kernel driver.
This release supports xserver versions 1.13-1.19.

Highlights:

* Clients can now use DRI page flipping even while TearFree is enabled
  for any CRTC. This should improve performance of such clients
  (including compositing managers) while TearFree is enabled, and avoid
  other issues such as tearing on other CRTCs where TearFree isn't
  enabled.
* The driver now takes measures to prevent other DRM master processes
  (potentially from other local users) from accessing buffers created by
  this driver while switched away to a different VT. Other DRM master
  processes should only be able to access a single buffer anymore, which
  contains only all-black pixels.
* The gamma ramp is now applied to the HW cursor as well, so the HW
  cursor doesn't look odd when e.g. using Redshift or similar tools.

Plus other improvements and fixes. Thanks to everybody who
contributed to this release in any way!


Adam Jackson (1):
      modesetting: Validate the atom for enum properties

Daniel Stone (1):
      Set correct DRM event context version

Eric Anholt (1):
      Use plain glamor_egl_create_textured_screen().

Martin Peres (1):
      modesetting: re-set the crtc's mode when link-status goes BAD

Michel Dänzer (46):
      Post-release version bump
      manpage: Don't put "'" at the beginning of a line
      Don't set modes before RADEONWindowExposures_oneshot is called
      Apply gamma correction to HW cursor
      Pass pixmap instead of handle to radeon_do_pageflip
      Use reference counting for tracking KMS framebuffer lifetimes
      Simplify tracking of PRIME scanout pixmap
      Remove unused struct members from drmmode_display.h
      Update URLs
      Include xf86Pci.h for DRICreatePCIBusID with xserver Git master
      Only call drmmode_scanout_free for non-GPU screens in LeaveVT
      Increase reference count of FB assigned to drmmode_crtc->flip_pending
      Improve drmmode_fb_reference debugging code
      Use pRADEONEnt->fd exclusively for the DRM file descriptor
      Use drmmode_crtc->scanout_id instead of 0 to check for scanout buffer
      If a TearFree flip fails, fall back to non-TearFree operation
      Only handle reflection in the driver with Xorg < 1.16
      Add AC_CONFIG_MACRO_DIRS([m4]) to configure.ac
      Makefile.am: Set ACLOCAL_AMFLAGS = -I m4
      autogen.sh: Pass -f to autoreconf
      Use root window (pixmap) instead of screen pixmap for scanout updates
      Add drmmode_crtc_can_flip helper
      Allow DRI page flipping when some CRTCs use separate scanout buffers
      Adapt to PixmapDirtyUpdateRec::src being a DrawablePtr
      Remove drmmode_crtc->scanout_destroy[] array
      Pass reference CRTC to radeon_do_pageflip directly
      Create drmmode_wait_vblank helper
      Create drmmode_crtc_wait_pending_event helper macro
      Wait for pending flips synchronously before turning off a CRTC
      Handle multiple "pending" Present flips
      Add source drawable parameter to radeon_scanout_do_update
      Pass extents to radeon_scanout_do_update
      Always allow Present page flipping with TearFree
      Always allow DRI2 page flipping with TearFree
      Consolidate radeon_scanout_flip_abort/handler helpers
      Use xorg_list_append for the DRM event list
      Make radeon_scanout_do_update take a PixmapPtr instead of a DrawablePtr
      Create radeon_pixmap_clear helper
      Create drmmode_set_mode helper
      Create radeon_pixmap_get_fb_ptr helper
      Create radeon_master_screen helper
      Make all active CRTCs scan out an all-black framebuffer in LeaveVT
      Remove drmmode_scanout_free
      Use a timer for unreferencing the all-black FB
      Require xserver >= 1.13
      Bump version for 7.10.0 release
2017-09-08 08:45:49 +00:00
wiz
1bffb0d6ae Updated xf86-video-ati to 7.9.0.
I'm pleased to announce the 7.9.0 release of xf86-video-ati, the Xorg
driver for ATI/AMD Radeon GPUs supported by the radeon kernel driver.
This release supports xserver versions 1.10-1.19.

Highlights:

* Allow TearFree to be toggled at runtime via an RandR output property
  "TearFree". The xorg.conf option "TearFree" now controls the default
  value of the output properties.
* Use glamor by default for 2D acceleration with >= R600 and Xorg >=
  1.18.3.
* Ship 10-radeon.conf xorg.conf.d snippet for Xorg >= 1.16, so that the
  radeon driver can be loaded automatically even when the ati wrapper
  driver isn't installed.
* Support loading the amdgpu driver from the ati wrapper driver.
* Use DRM render nodes for DRI3 clients when available.

Plus many other improvements and fixes. Thanks to everybody who
contributed to this release in any way!


Emil Velikov (1):
      autogen.sh: use quoted string variables

Jammy Zhou (1):
      Use render node for DRI3 if available

Jochen Rollwagen (3):
      fix build for xserver < 1.13
      Calculate log base 2 in radeon.h based on clz for all platforms
      Fix build for XServer 1.13

Michel Dänzer (38):
      Post-release version bump
      Use DRM_MODE_PAGE_FLIP_TARGET_ABSOLUTE/RELATIVE flags when available
      Enable glamor by default with >= R600 and Xorg >= 1.18.3
      Don't install Flush/EventCallback for GPU screens
      Pass fb_id into drmmode_page_flip_target_absolute/relative
      Add radeon_is_gpu_screen helper
      Take current scanout_id into account everywhere involved with TearFree
      Fix radeon_scanout_extents_intersect for GPU screens
      Call ValidateGC after ChangeClip in radeon_sync_scanout_pixmaps
      Call radeon_drm_abort_entry on failure to flip to a scanout pixmap
      Simplify drmmode_handle_uevents
      Pass pitch from drmmode_crtc_scanout_allocate to drmmode_create_bo_pixmap
      .editorconfig: src/ati.c only uses spaces for indentation
      ati: Support loading the amdgpu driver from the ati wrapper
      Add 10-radeon.conf xorg.conf.d snippet
      Enable tiling by default with glamor on PALM
      Don't handle Option "SwapbuffersWait" at all with glamor
      Fix flip event data leak if calloc or drmModeAddFB fails
      Don't destroy current FB if drmModeAddFB fails
      Factor out radeon_prime_dirty_to_crtc helper
      Factor out drmmode_crtc_scanout_update helper
      Allow toggling TearFree at runtime via output property
      Use drmmode_crtc_scanout_free in drmmode_fini
      present: Only call drmModeRmFB after setting modes for unflip
      present: Wait for screen pixmap BO idle before setting modes for unflip
      Call drmmode_crtc_scanout_create in drmmode_crtc_shadow_allocate as well
      Fold drmmode_crtc_scanout_allocate into drmmode_crtc_scanout_create
      Handle rotation in the driver also with Xorg 1.12-1.18
      present: Also flush before using a flip to unflip
      present: Use async flip for unflip if possible
      present: Flush before flipping
      Fix bogus indentation
      Call drmmode_set_desired_modes from a WindowExposures hook
      Move DPMS check from radeon_scanout_do_update to radeon_scanout_flip
      Don't call radeon_cs_flush_indirect & radeon_bo_wait in drmmode_copy_fb
      Skip some initialization steps for GPU screens
      Pass TRUE to drmmode_set_desired_modes the first time for GPU screens
      Bump version for 7.9.0 release

Mihail Konev (1):
      autogen: add default patch prefix

Peter Hutterer (1):
      autogen.sh: use exec instead of waiting for configure to finish

jimqu (1):
      udev_monitor_receive_device() will block when hotplug monitor
2017-03-16 12:04:25 +00:00
wiz
f01e8c7c25 Updated xf86-video-ati to 7.8.0nb1:
Add patch from PR 50067 by David Shao, which comes from FreeBSD
ports/Dragonfly overlay, to improve the situation on FreeBSD and
Dragonfly.
2017-02-02 18:54:44 +00:00
wiz
8fcac7eebb Updated xf86-video-ati to 7.8.0.
I'm pleased to announce the 7.8.0 release of xf86-video-ati, the Xorg
driver for ATI/AMD Radeon GPUs supported by the radeon kernel driver.
This release supports xserver versions 1.10-1.19.

Highlights:

* Significant 2D compositing performance increase, in particular with
  glamor enabled.
* Option "TearFree" can now prevent tearing in all possible display
  configurations (with current versions of Xorg). Specifically, it's
  now also effective with arbitrary RandR transforms and with RandR 1.4
  slave output.
* DRI3 is now enabled by default if the Xorg version is >= 1.18.3 and
  glamor is enabled.
* DRI3/Present asynchronous page flips are now supported (requires
  corresponding kernel driver support, available in current versions of
  the Linux kernel). This can increase performance of fullscreen
  applications with sync-to-vblank disabled.
* The HW cursor can now be used with RandR 1.4 slave output or with
  TearFree & rotation.
* Performance improvements with RandR 1.4 slave output.
* The list of supported GPUs in the Xorg log file has been slightly
  tidied up.
* RandR 1.4 provider capabilities are now advertised more accurately.

Plus many other improvements and fixes. Thanks to everybody who
contributed to this release in any way!


Adam Jackson (1):
      Adapt Block/WakeupHandler signature for ABI 23

Hans de Goede (3):
      Remove unnecessary fb addition from drmmode_xf86crtc_resize
      Only add main fb if necessary
      PRIME: Fix swapping of provider sink / source capabilities

Keith Packard (1):
      Adapt to video API 22

Michel Dänzer (65):
      Post 7.7.0 release version bump
      Add support for async flips to radeon_do_pageflip
      present: Support async flips
      Handle Zaphod mode correctly in radeon_mode_hotplug
      Enable DRI3 by default when building for Xorg >= 1.18.3
      Explicitly set the fbcon pixmap pitch again
      Add .editorconfig file
      Adapt to XF86_CRTC_VERSION 7
      Only use RandR APIs if RandR is enabled
      Add explicit RADEON_DRM_QUEUE_ERROR define
      Don't enable micro-tiling for scanout buffers on pre-R600
      Don't enable DRI3 by default with EXA
      Use EventCallback to avoid flushing every time in the FlushCallback
      Wait for pending flips to complete before turning off an output or CRTC
      Keep track of damage event related flushes per-client v2
      Use drmmode_crtc_scanout_* helpers for RandR 1.4 scanout pixmaps
      Handle RandR 1.4 slave dirty updates via radeon_drm_queue
      Track damage accurately for RandR 1.4 slave scanout
      Also call drmmode_clear_pending_flip from radeon_scanout_flip_abort
      Don't override crtc parameter value in drmmode_flip_handler/abort
      Also handle disabled CRTCs in drmmode_clear_pending_flip
      Fix build against xserver < 1.13
      Only copy from screen pixmap to shared pixmap on demand for slave scanout
      Factor out transform_region helper
      Move up radeon_scanout_extents_intersect
      Synchronize scanout pixmaps for TearFree
      Make TearFree effective with PRIME slave scanout
      glamor: Fix radeon_glamor_share_pixmap_backing for priv->bo == NULL
      Consolidate get_drawable_pixmap helper
      Move DRI2's local fixup_glamor helper to radeon_glamor_set_pixmap_bo
      glamor: Reallocate linear pixmap BO if necessary for DRI2 PRIME
      Destroy all dedicated scanout buffers during CloseScreen
      DRI2: Add interpolated_vblanks in radeon_dri2_get_crtc_msc
      Use local implementation of RegionDuplicate for older xserver
      Only define transform_region function for XF86_CRTC_VERSION >= 4
      Add support for ScreenPtr::SyncSharedPixmap
      Propagate failure from radeon_set_pixmap_bo
      glamor: Fix leak of pixmap private when replacing BO
      Free priv in amdgpu_set_pixmap_bo also if priv->bo == NULL
      Simplify drmmode_set_mode_major error handling
      Make sure drmmode_crtc->scanout[] are destroyed when not needed
      present: Don't allow flipping when using a dedicated scanout buffer
      dri2: Don't allow flipping when using a dedicated scanout buffer
      present: Separate checks for flips vs unflips
      Remove drmmode_load_palette
      Make the dedicated scanout mechanism work with arbitrary transforms
      Remove w/h parameters from radeon_scanout_extents_intersect
      Clear damage in radeon_scanout_update if it doesn't intersect the CRTC
      Only list each unique chipset family once in the log file
      Rotate and reflect cursor hotspot position for drmModeSetCursor2
      Restore location of radeon_set_pixmap_bo call in drmmode_create_bo_pixmap
      Enable HW cursor support with PRIME slave output & Xorg > 1.18.99.901
      Order unique chipsets according to first appearance in ati_pciids.csv
      Remove PCI IDs and bus type from ati_pciids.csv
      Sayōnara, AM_MAINTAINER_MODE!
      Don't rely on randr_crtc->scanout_pixmap in drmmode_set_scanout_pixmap
      Always call PixmapStopDirtyTracking in drmmode_set_scanout_pixmap
      Consume all available udev events at once
      Require xserver 1.10 or newer
      Check Xorg version at runtime instead of build time in two places
      Reindent code in radeon_dri2_create_buffer2
      Refactor radeon_mode_hotplug
      Use pRADEONEnt to find both screens of a GPU in radeon_mode_hotplug
      Update manpage entry for Option "TearFree"
      Bump version for 7.8.0 release

Qiang Yu (3):
      Remove RR_Capability_SinkOutput for GPU without CRTC
      Fix radeon_mode_hotplug crash on multi GPU platform.
      DRI2: Fix radeon_dri2_exchange_buffers width/height copy'n'paste error

Tan Hu (2):
      EXA/6xx/7xx: fast solid pixmap support
      EXA/6xx/7xx: accelerate PictOpOver with component alpha

Tom St Denis (1):
      dri3: Return NULL from radeon_dri3_pixmap_from_fd if calloc fails.
2016-11-17 20:57:54 +00:00
wiz
0788519496 Fix build with xorg-server-1.19. 2016-11-16 21:56:46 +00:00
wiz
e4ce0f08d6 Updated xf86-video-ati to 7.7.1.
I'm pleased to announce the 7.7.1 release of xf86-video-ati, the Xorg
driver for ATI/AMD Radeon GPUs supported by the radeon kernel driver.
This release supports xserver versions 1.9-1.18.

This is a stable point release containing only fixes for
crash/hang/corruption bugs and other minor changes.

Thanks to Qiang Yu for his contributions to this release!


Michel Dänzer (15):
      Handle Zaphod mode correctly in radeon_mode_hotplug
      Explicitly set the fbcon pixmap pitch again
      Only use RandR APIs if RandR is enabled
      Don't enable micro-tiling for scanout buffers on pre-R600
      Wait for pending flips to complete before turning off an output or CRTC
      Also call drmmode_clear_pending_flip from radeon_scanout_flip_abort
      Don't override crtc parameter value in drmmode_flip_handler/abort
      Also handle disabled CRTCs in drmmode_clear_pending_flip
      glamor: Fix radeon_glamor_share_pixmap_backing for priv->bo == NULL
      Consolidate get_drawable_pixmap helper
      Move DRI2's local fixup_glamor helper to radeon_glamor_set_pixmap_bo
      glamor: Reallocate linear pixmap BO if necessary for DRI2 PRIME
      Destroy all dedicated scanout buffers during CloseScreen
      DRI2: Add interpolated_vblanks in radeon_dri2_get_crtc_msc
      Bump version for 7.7.1 release

Qiang Yu (3):
      Remove RR_Capability_SinkOutput for GPU without CRTC
      Fix radeon_mode_hotplug crash on multi GPU platform.
      DRI2: Fix radeon_dri2_exchange_buffers width/height copy'n'paste error
2016-09-15 13:39:09 +00:00
wiz
90971c37a4 Update xf86-video-ati to 7.7.0.
I'm pleased to announce the 7.7.0 release of xf86-video-ati, the Xorg
driver for ATI/AMD Radeon GPUs supported by the radeon kernel driver.
This release supports xserver versions 1.9-1.18.

Highlights:

* Option "TearFree" can now prevent tearing with rotation/reflection as
  well (with Xorg >= 1.16).
* RandR CRTC transforms now work correctly (but for now still exhibit
  tearing even with TearFree).
* The RandR 1.4 provider name is now no longer hardcoded to "radeon"
  but constructed from the GPU chipset name and bus ID, allowing
  several GPUs supported by this driver to be distinguished by name.
* The RandR primary output is now always explicitly marked as such.
* The driver can now make use of more than 256MB of VRAM for scanout
  buffers, allowing e.g. virtual desktop sizes >= 8192x8192 to work.
* The driver can prevent clients trying to use the DRI3 extension over a
  display connection forwarded via SSH from hanging.
* Many more fixes for issues using the DRI3/Present extensions.

Plus many other small improvements and fixes. Thanks to everybody who
contributed to this release in any way!
2016-04-13 18:46:34 +00:00
jperkin
02201cb05b Use OPSYSVARS. 2016-02-26 10:57:45 +00:00
wiz
cb7092d4e6 Remove two patches that are obsoleted by the newest modular-xorg-server,
and depend on it.

Bump PKGREVISION.
2016-02-09 01:20:44 +00:00
wiz
8605cd5629 Mention corresponding upstream commits (in xserver). 2016-01-06 14:53:04 +00:00
tnn
2409d0613c Bump revision for xorg-server-1.18 driver ABI bump 2016-01-05 13:11:42 +00:00
tnn
3e6981bf0e Fix use of uninitialized pointers. Fixes Xorg SEGV when compiled with clang. 2015-12-11 13:08:21 +00:00
wiz
582a07163e Update xf86-video-ati to 7.6.1:
7.6.1:

This is a brown paper bag release fixing a double-free bug in the 7.6.0
release.

I could swear I'd tested this appropriately yesterday, but apparently
not. :(


Michel Dänzer (3):
      Post 7.6.0 release version bump
      Remove duplicate free(output_ids) call
      Set version for 7.6.1 release

The xf86-video-ati 7.6.0 release supports xserver versions 1.8-1.18.

New features in this release:

* DRI3 and Present extension support, allowing more efficient and secure
  OpenGL compositing
* Option "TearFree" [0] to eliminate tearing (currently only effective for
  non-rotated outputs)
* Option "ShadowPrimary" [0] which may deliver better performance for some
  2D use cases, at the potential expense of other use cases (only available
  with glamor)
* DisplayPort 1.2 MST support
* Implemented support for Xorg -background none with glamor and fixed it to
  work better with EXA
* The contents of newly allocated buffers are always initialized before
  scanout, reducing intermittent artifacts

[0] Enabling Option "TearFree" or Option "ShadowPrimary" currently disables
    DRI page flipping.


Plus support for a few more Bonaire and Oland GPUs, and lots of other small
improvements and fixes. Thanks to everybody who contributed to this
release!


Adam Jackson (1):
      Remove dead accelDFS flag

Alex Deucher (3):
      radeon: bump version post release
      add new bonaire pci id
      add new OLAND pci id

Dave Airlie (6):
      radeon: stop caching mode resources
      radeon: move output name creation to its own function
      radeon: add support for DP 1.2 display hotplug (v2)
      radeon: adopt for new X server dirty tracking APIs.
      radeon: cleanup the entity rec
      radeon: move radeon_pixmap forward declaration into other block

David Heidelberger (2):
      radeon/vdpau: don't report VDPAU for < r300
      Handle tiling in radeon_set_shared_pixmap_backing

Emil Velikov (1):
      Do not link radeon_drv.so against libpciaccess

Jerome Glisse (2):
      Avoid leaking memory on output.
      Proper leak fix, previous leak fix was bogus.

Mario Kleiner (6):
      present: Move check for async flips
      present: Fix present notify timestamps and counts.
      Allow/Fix use of multiple ZaphodHead outputs per x-screen. (v2)
      Don't set TILE_SPLIT flags if surface.tile_split == 0.
      Fix inconsistent default eg_tile_split in evergreen_accel.c
      Make selection between DRI2 and DRI3 consistent with other drivers. (v2)

Michel Dänzer (78):
      Remove duplicate OPTION_PAGE_FLIP entry
      PRIME: Don't advertise offload capabilities when acceleration is disabled
      Prefer drmModeSetCursor2 over drmModeSetCursor
      Require at least xserver 1.8
      Move xorg_list backwards compatibility to new radeon_list.h header
      Add DRM event queue helpers v2
      DRI2: Simplify blit fallback handling for scheduled swaps
      DRI2: Remove superfluous assignments to *_info->frame
      DRI2: Move radeon_dri2_flip_event_handler
      DRI2: Use helper functions for DRM event queue management v3
      DRI2: Split out helper for getting UST and MSC of a specific CRTC
      Move #include "radeon_glamor.h" from radeon.h to where it's needed
      Fold radeon_glamor_flush into radeon_cs_flush_indirect
      Add support for SYNC extension fences v2
      Add support for the Present extension v2
      Add DRI3 support v2
      Simplify includes in radeon_{dri3,present}.c
      Add xorg_list_for_each_entry_safe fallback in radeon_list.h
      Initialize boolean variable before calling xf86GetOptValBool
      DRI3: Use open hook instead of open_client
      Always include misync.h before other misync headers
      glamor: Add glamor_fd_from_pixmap define for standalone glamor tree
      dri3: Use screen->CreatePixmap instead of fbCreatePixmap directly
      EXA: Return NULL from radeon_get_pixmap_bo if there is no driver private
      configure.ac: Check for misyncshm.h again
      Adapt radeon_sync.c for misyncshm.h vs misync.h as well
      Make radeon_do_pageflip take a BO handle directly
      Present: Add radeon_present_get_pixmap_handle helper
      glamor: Avoid generating GEM flink names for BOs shared via DRI3 v2
      glamor: Handle GLAMOR_* flags removed from xserver
      Increase robustness against DRM page flip ioctl failures v3
      Simplify radeon_do_pageflip() error handling slightly more
      Move radeon_drm_handler/abort_proc fields to drmmode_flipdata_rec
      Move get_pixmap_handle helper to radeon_bo_helper.c
      DRI2: Use radeon_get_pixmap_handle
      Only enable SYNC extension fences and the Present extension along with DRI3
      Add radeon_get_pixmap_tiling_flags helper
      present: Don't flip between BOs with different tiling parameters
      Rename scanout_pixmap_x field to prime_pixmap_x
      Split out struct drmmode_scanout for rotation shadow buffer information
      Add RADEON_CREATE_PIXMAP_SCANOUT flag
      glamor: Remove unused function radeon_glamor_pixmap_is_offscreen
      glamor: Add radeon_pixmap parameter to radeon_glamor_create_textured_pixmap
      glamor: Add wrappers for the X server rendering hooks
      glamor: Add Option "ShadowPrimary" v2
      glamor: Remove the stride member of struct radeon_pixmap
      Add Option "TearFree" v4
      DRI2: Clear old->devPrivate.ptr in fixup_glamor
      Only copy fbcon BO contents if bgNoneRoot is TRUE
      Defer initial drmmode_copy_fb call until root window creation
      Defer initial modeset until the first BlockHandler invocation
      Update scanout pixmap contents before setting a mode with it
      Make drmmode_copy_fb() work with glamor as well
      On screen resize, clear the new buffer before displaying it
      Don't call radeon_get_pixmap_private() when using EXA
      Skip disabled CRTCs in drmmode_set_desired_modes() even if set_hw == FALSE
      glamor: Deal with glamor_glyphs_init being removed from xserver
      Replace SyncFence typedef with declaration of struct _SyncFence
      present: Remove get_drmmode_crtc helper
      glamor: Only wait for GPU writes in radeon_glamor_prepare_access_cpu_ro
      DRI2: Fix handling of drmmode_crtc_get_ust_msc return code
      Don't attempt a DRI2/Present page flip while the other one is flipping
      Skip disabled CRTCs in radeon_scanout_(do_)update
      present: Fall back to modeset for unflip operation
      present: Look at all CRTCs to determine if we can flip
      present: Handle DPMS off in radeon_present_get_ust_msc
      Remove unused local variable pRADEONEnt
      glamor: Move declaration of struct radeon_pixmap out of #if/#else blocks
      Only call drmmode_copy_fb (at most) once on server startup
      Wait for scanout BO initialization to finish before setting mode
      DRI2: Don't ignore rotated CRTCs in amdgpu_dri2_drawable_crtc
      DRI2: Keep MSC monotonic when moving window between CRTCs
      Only align screen / scanout pixmap height where necessary
      Call xf86CrtcRotate from initial drmmode_set_desired_modes call
      Don't advertise rotation support without hardware acceleration v2
      Eliminate redundant data parameter from drmmode_crtc_scanout_create
      Properly handle drmModeAddFB failure in drmmode_crtc_scanout_allocate
      Bump version for 7.6.0 release

Piotr Redlewski (2):
      Disable CRTCs when disabling the outputs
      Do not try to enable already enabled CRTCs in DPMS hook

Rolf Eike Beer (1):
      radeon: remove unneeded inclusion of sarea.h

Stephen Chandler Paul (1):
      Handle failures in setting a CRTC to a DRM mode properly

Tom St Denis (5):
      dri2: Avoid calculation with undefined msc value
      Simplify pick best crtc to fold two loops into one
      Clean up allocation in RADEONInitVideo()
      Simplify drmmode_set_mode_major() and avoid leaking memory.
      Clean up radeon_dri2_create_buffer2()
2015-11-12 16:23:09 +00:00
agc
d8f09469bb Add SHA512 digests for distfiles for x11 category
Problems found locating distfiles:
        Package modular-xorg-server: missing distfile xorg-server-1.17.4.tar.bz2
        Package py-qt4: missing distfile PyQt-mac-gpl-4.11.1.tar.gz
        Package xservers: missing distfile xservers-3.3.6.5.tar.bz2
        Package xview-clients: missing distfile xview3.2p1-X11R6.tar.gz
        Package xview-lib: missing distfile xview3.2p1-X11R6.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 03:28:24 +00:00
tnn
8041451266 - always compile with GLAMOR support
- require modular-xorg-server>=1.17.2nb6
- bump pkgrevision
2015-09-26 08:48:38 +00:00
tnn
fafa3f3850 PR pkg/50172: support the "glamor" AccelMethod on FreeBSD/DragonFly/Linux
(NetBSD not yet. Needs libxshmfence support first.)
2015-09-13 04:59:35 +00:00
tnn
6a69e9522b Recursive revbump following MesaLib update, categories p through x. 2015-04-25 14:24:44 +00:00
tnn
948c600ad7 Revbump all the xf86-* driver packages so current binary packages get the
modular-xorg-server<1.17 dependency expressed.
2015-04-03 09:59:56 +00:00
tnn
6d1e66317a Fix segfault when built with clang. From upstream bug 47160.
Probably needed for native Xorg as well. (ping wiz@)
Bump PKGREVISION.
2015-02-21 11:45:35 +00:00
wiz
76797cfde5 Update to 7.5.0:
Alex Deucher (7):
      radeon: enable hawaii accel conditionally (v3)
      radeon: fix warnings when building against older xservers
      radeon/kms: add new CIK pci ids
      radeon/kms: add new SI pci ids
      radeon/kms: fix mullins pci id
      radeon: require libdrm_radeon 2.4.58 for latest SI/CI pci ids
      radeon: bump version for release

Andreas Boll (4):
      radeon: drop redundant radeon_drm.h includes
      radeon: move RADEON_TILING_{MASK, LINEAR} from radeon_drm.h to radeon.h
      radeon: drop radeon_drm.h
      radeon: remove definitions already present in radeon_drm.h

Hans de Goede (1):
      configure: Include xorg-server.h before glamor.h

Maarten Lankhorst (1):
      bump version post release

Michel Dänzer (4):
      Handle CRTC DPMS from output DPMS hooks
      glamor: Set environment variable RADEON_THREAD=0
      Add Emacs .dir-local.el file
      Revert "glamor: Set environment variable RADEON_THREAD=0"

Thomas DeRensis (2):
      radeon: fix a leak in radeon_vbo_get_bo()
      radeon: fix build warnings regarding const qualifier
2014-10-03 14:25:42 +00:00
wiz
f88242352a Update to 7.4.0:
Adam Jackson (1):
      kms: Use own thunk function instead of shadowUpdatePackedWeak

Alex Deucher (7):
      bump version post release
      radeon: don't install colormap handling if there are no crtcs
      radeon: require libdrm 2.4.51
      radeon: enable tiling by default on CIK
      update man page to reflect tiling changes for CI parts
      radeon: require libdrm_radeon 2.4.54 for mullins support
      radeon: enable tiling for mullins

Dave Airlie (1):
      radeon: fix use-after-free in modesetting cleanup

Hans de Goede (4):
      radeon_open_drm_master get rid of unnecessary goto
      Add radeon_get_drm_master_fd helper function
      Add support for server managed fds
      Fix building on older servers without xf86platformBus.h

Jérôme Glisse (1):
      evergreen: fix shader constant upload on ppc

Maarten Lankhorst (2):
      return immediately in preinit when called with PROBE_DETECT
      bump version for release

Michel Dänzer (10):
      Only log debugging output about initializing colormaps when we're doing so
      Allow enabling glamor on R500 (and R300) class 3D engines as well.
      Build against glamor in the xserver tree if available
      dri2: Fix conflicting CreatePixmap usage flag definitions
      glamor: Fix test for creating shared pixmaps
      Adapt to load_cursor_argb signature change in xserver 1.15.99.902
      dri2: Handle PRIME for source buffer as well in radeon_dri2_copy_region2
      Revert "Adapt to load_cursor_argb signature change in xserver 1.15.99.902"
      Don't disable acceleration on >= SI on attempts to force EXA
      Rename Option "NoAccel" to "Accel"

Samuel Li (2):
      radeon: add support for Mullins.
      radeon: add Mullins pci ids.
2014-07-26 20:30:08 +00:00
ryoon
60806aa001 Recursive revbump from x11/pixman
Fix PR pkg/48777
2014-05-05 00:47:34 +00:00
wiz
73e460330a Update to 7.3.0 with glamor support disabled (not packaged).
Alex Deucher (16):
      radeon: disallow glamor on pre-R600 asics
      radeon/kms: add berlin pci ids
      radeon: enable glamor by default (v4)
      glamor: require 0.5.1 or newer
      radeon: fix limit handling for cards with >4G of ram
      radeon: add glamor Xv support (v2)
      Revert "radeon: add glamor Xv support (v2)"
      drm/radeon: fix non-glamor build
      radeon: fix the non-glamor build harder...
      radeon: enable tiling on SI by default (v2)
      radeon: add support for Hawaii
      radeon/kms: add Hawaii pci ids
      drm/radeon: fix SUMO2 pci id
      radeon/exa: Always use a scratch surface for UTS to vram
      Require glamor 0.6.0
      radeon: bump version for release

Christopher James Halse Rogers (1):
      EXA/evergreen: Paranoia around linear tiling. (v2)

Dave Airlie (1):
      radeon: use glamor Xv support if present.

Jerome Glisse (1):
      radeon/glamor: with new pixmap for dri2 drawable no need to
create new texture

Maarten Lankhorst (1):
      bump version post release

Mark Kettenis (1):
      Fix shadowfb on big-endian machines

Michel Dänzer (3):
      DRI2: Install client callback only once
      dri2: Make last_vblank_seq local unsigned to match dpms_last_seq
      Don't require the glamoregl module to be pre-loaded with xserver >= 1.15

Robert Millan (2):
      radeon: Set first parameter of drmOpen() to NULL
      radeon: Restore kernel module load on FreeBSD.

Vadim Girlin (1):
      radeon: disable 2D tiling on buffers < 128 pixels
2014-01-25 10:56:49 +00:00
wiz
d0a9caec79 Update to 7.2.0:
Alex Deucher (16):
      radeon: add oland chip family
      radeon/kms: add oland pci ids
      radeon: mark trinity APUs with IGP flag
      radeon: add Richland pci ids
      radeon: add new SI pci ids
      radeon: add new richland pci ids
      radeon: add hainan chip family
      radeon: add Hainan pci ids
      man: fix up previous commit
      radeon: add family ids for CIK
      radeon: update cursor handling for CIK
      radeon/kms: add bonaire pci ids
      radeon/kms: add kabini pci ids
      radeon: bump libdrm requirement to 2.4.46 for CIK support
      radeon: fix naming clashes with multiple GPUs (v3)
      drmmode: add support for multi-screen reverse optimus

Colin Walters (1):
      autogen.sh: Implement GNOME Build API

Dave Airlie (1):
      radeon: add support for reverse prime (v2)

Eric S. Raymond (1):
      Fix some incomplete list entries.

Grigori Goronzy (5):
      Fix RADEON_FALLBACK logging
      EXA/evergreen/ni: optimize non-overlapping Copy
      EXA/evergreen/ni: fast solid pixmap support
      EXA/evergreen/ni: accelerate PictOpOver with component alpha
      EXA/evergreen/ni: replace magic number

Ilija Hadzic (13):
      DRI2: change signature of populate_vbl_request_type
      DRI2: make populate_vbl_request_type external
      drmmode: add drmmode_get_current_ust function
      drmmode: remove dead code from drmmode_crtc_dpms
      drmmode: calculate interpolated vblanks while in dpms-off state
      DRI2: adjust MSC by the number of interpolated vblanks
      DRI2: add vblank extrapolation function
      DRI2: hook up vblank extrapolation to schedule_swap
      DRI2: track CRTC in event record
      DRI2: move rename and rework radeon_dri2_deferred_swap
      DRI2: make wait_msc and get_msc work on disabled CRTCs
      DRI2: support scheduling emulated events with zero delay
      DRI2: add interpolated blanks to frame number in event handlers

Jerome Glisse (1):
      radeonsi: add 2d tiling support

Leo Liu (1):
      radeon: fix a memory leak in get_modes() callback.

Maarten Lankhorst (9):
      bump version post release
      Close drm_fd in CloseScreen.
      Cleanup drmmode in CloseScreen.
      radeon: add refcounts to fix up zaphod open/close.
      Move fd cleanup to correct place.
      drmmode: handle failure of drmModeGetConnector
      kill unused radeon_driver.c
      add bicubic_table.py to EXTRA_DIST
      radeon: bump version for release

Mark Kettenis (1):
      Always go through DFS/UTS when byte swapping is needed.

Michel Dänzer (8):
      Only parse Option "AccelMethod" if glamor was enabled at build time
      glamor: Bail if the glamoregl module wasn't loaded early
      glamor: Initial PRIME pixmap sharing hooks.
      glamor: Enable by default on SI
      glamor: Only enable for depth >= 24
      glamor: Fix build against xserver < 1.13
      glamor: Keep old private in radeon_pixmap_set_bo
      autogen.sh: Restore passing --enable-maintainer-mode to configure

Raul Fernandes (1):
      EXA/6xx/7xx: optimize non-overlapping Copy

Samuel Li (1):
      radeon: use direct mapping for fast fb access.
2013-09-09 19:29:55 +00:00
wiz
7e8a1bb9c8 Rename xf86-video-ati v6 to xf86-video-ati6 and register conflicts. 2013-08-29 19:59:29 +00:00
richard
4d46091fb6 update to xf86-video-ati-7.1.0 for modular-xorg-server-1.12.4 2013-05-16 06:02:58 +00:00
asau
8aba7e3fbf Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-29 05:06:05 +00:00
jperkin
c07e863658 Define DRIVER_MAN_SUFFIX on Solaris to the same as every other system, this
diverges from the standard layout on Solaris but ensures a consistent
experience for pkgsrc packages.

Fixes 31 packages on Solaris.
2012-09-27 10:06:28 +00:00
abs
170657cc0e appears to have been missed inlast update 2010-11-03 09:19:20 +00:00
jakllsch
c779684c3a Backport upstream bugfix for PR#40149.
"Save and restore the palettes on VT switch."

upstream commits:
5efdf514ab0e5439114e8dd7a49105812155eb69
fc7aa6e3bbb86eaa2f34b827629f7e82cde65ac7
2010-10-27 16:48:26 +00:00
wiz
200e3c4a04 Bump dependency on pixman to 0.18.4 because cairo-1.10 needs that
version, and bump all depends.

Per discussion on pkgsrc-changes.
2010-09-14 11:00:44 +00:00
tnn
c2e785c207 revision bump for libdrm update. 2010-04-16 13:50:51 +00:00
snj
415e6a8120 This needs zlib. Bump PKGREVISION to 1. 2010-03-08 20:46:11 +00:00
hasso
ba6d3f76d4 Update to 6.12.4.
Brown paper bag release for X.org 7.5, missed one
of the need commits in the cherry picker.

Dave Airlie (2):
      Update to xextproto 7.1 support.
      ati 6.12.4
2009-09-11 07:29:42 +00:00
hasso
0aed4944f4 Update to 6.12.3.
It contains numerous fixes to 6.12.2 backported from
master over the last few months, along with PCI IDs
for some new hardware.

Adam Jackson (1):
      Fix misleading filenames in DRI setup failure messages

Alex Deucher (42):
      R6xx/R7xx: set proper 3D client driver name for r600
      radeon: chip family typo
      R6xx/R7xx: cleanup macro
      radeon: remove old crtc size heuristics
      radeon: fix tmds_pll randr property
      Revert "DCE3/3.2: cleanup dpms after previous changes"
      Remove old messages
      Endian fixes for object table
      RS690: add quirk for acer board
      AVIVO: fix for cursor corruption issue
      r2xx/r3xx/r4xx: further i2c fixups
      AVIVO: make sure cursor width isn't negative
      RV410: SE variants only have 1 quad pipe
      AVIVO: fix cursor corruption/flickering issues
      R6xx/r7xx: fix CURSOR_SWAPPING_* macros
      AVIVO: better fix for cursor flickering/corruption issues
      radeon: fix several dpms issues
      r2xx-r4xx: fix typo in last i2c fix and clarify hw i2c pin sel
      AVIVO: move cusor offscreen when disabling
      AVIVO: fix cursor corruption bands for real
      AVIVO: set default cursor mode in cursor init
      RS690/RS740: fix connector enumeration in some cases
      RS690: gpio/connector fixes
      R3xx-R5xx: don't set TX_OFFSET_RS in RS_INST_COUNT
      r3xx-r5xx: switch to 1/12 subpixel precision
      R3xx/R4xx tex vid: increase the guardband limit for rendering with a tri
      RV770: add missing pci id
      radeon: try harder when checking if a card is posted
      r4xx: Add some missing pci ids
      Add RV740 (HD4770) support
      atom: connector quirk
      Add some missing M96 pci ids
      RV280: Add an AGP quirk
      RV280: another AGP quirk
      Add an r420 AGP quirk
      radeon: Set PCI/PCIE bus type properly per asic
      radeon: fix typo in object header to connector type conversion
      radeon: add some new r7xx pci ids
      RS880: enable accel
      RV280: add agp quirk
      RV740: disable small DFS transfers
      RV280: add agp quirk

Bryce Harrington (3):
      radeon: AGPMode quirk needed for HP Omnibook 6200
      radeon: AGPMode quirk needed for IBM Thinkpad T40 with Mobility M7 LW
      radeon: AGPMode quirk needed for SiS

Dave Airlie (13):
      radeon: fix DDC on rv410 VGA ports for non-atom use.
      radeon: tweak ddc fix for all r300s.
      radeon: fix r600 shadow fb mode with cursor allocation in wrong place
      radeon/tv: fix typo in crtc register modifications
      r100/r200: dont emit wrong clamp modes.
      atom/tvout: set the correct scaler up for tv out
      atombios: store dac detect result into save register.
      atom: recall crtc source script after tv dpms on
      radeon: move detected monitor type debugging.
      r600: fix bad unit in texture setup
      ati: update for resources/RAC API removal
      ati: change to using ABI version check
      ati 6.12.3

Fredrik Höglund (1):
      Check if the composite op is supported in R200CheckComposite.

Markus Gapp (1):
      Add quirk for asus hd3450 board

Michel Dänzer (2):
      Clear the framebuffer before initializing modes.
      Pre-R600 EXA: Fix coordinate limits off-by-one error.

Roland Scheidegger (1):
      R6xx/R7xx: fix pixel centers
2009-09-11 06:38:36 +00:00