xf86-video-amdgpu 1.3.0
I'm pleased to announce the 1.3.0 release of xf86-video-amdgpu, the Xorg driver for AMD Radeon GPUs supported by the amdgpu 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 libdrm_amdgpu functionality to determine the GPU marketing name, remove corresponding tables from this 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
Hans De Goede (1):
amdgpu_probe: Do not close server managed drm fds
Jammy Zhou (1):
Use render node for DRI3 if available
Michel Dänzer (44):
Post-release version bump
Move struct amdgpu_gpu_info out of amdgpu_get_tile_config Use family information from libdrm_amdgpu / kernel
Stop using generated amdgpu_device_match
Remove amdpciids.h
Stop using AMDGPUPciChipsets
Stop using AMDGPU(Unique)Chipsets
Remove generated header files
Use DRM_MODE_PAGE_FLIP_TARGET_ABSOLUTE/RELATIVE flags when available Make libdrm >= 2.4.72 requirement explicit
Don't install Flush/EventCallback for GPU screens
Add amdgpu_is_gpu_screen helper
Take current scanout_id into account everywhere involved with TearFree Fix amdgpu_scanout_extents_intersect for GPU screens
Call ValidateGC after ChangeClip in amdgpu_sync_scanout_pixmaps Call amdgpu_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 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
Fix flip event data leak if calloc or drmModeAddFB fails Don't destroy current FB if drmModeAddFB fails
Factor out amdgpu_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 GPU idle before setting modes for unflip
present: Also flush before using a flip to unflip
present: Use async flip for unflip if possible
present: Flush before flipping
Call drmmode_set_desired_modes from a WindowExposures hook Move DPMS check from amdgpu_scanout_do_update to amdgpu_scanout_flip Don't call amdgpu_glamor_flush in drmmode_copy_fb
Don't use pScrn->is_gpu in AMDGPUCreateScreenResources_KMS Use local implementation of RegionDuplicate for older xserver Only define transform_region for XF86_CRTC_VERSION >= 4
glamor: Don't flush in BlockHandler with Xorg >= 1.19 Refactor amdgpu_kernel_close_fd helper
glamor: Use glamor_finish when available
Skip some initialization steps for GPU screens
Pass TRUE to drmmode_set_desired_modes the first time for GPU screens Bump version for 1.3.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
git tag: xf86-video-amdgpu-1.3.0
https://xorg.freedesktop.org/archive/individual/driver/xf86-video-amdgpu-1.3.0.tar.bz2
MD5: e2ee9e16ffbd45ebda68a7ff638a04f2 xf86-video-amdgpu-1.3.0.tar.bz2 SHA1: 7b89fe6e22e6739257c0f03c9f034c9c579a8bce xf86-video-amdgpu-1.3.0.tar.bz2 SHA256: c1630f228938be949273f72b29ae70822dde064ad79c3ccb14d55f427e3f4e70 xf86-video-amdgpu-1.3.0.tar.bz2 PGP: https://xorg.freedesktop.org/archive/individual/driver/xf86-video-amdgpu-1.3.0.tar.bz2.sig
https://xorg.freedesktop.org/archive/individual/driver/xf86-video-amdgpu-1.3.0.tar.gz
MD5: c0c3d95fb2865008f1347bf9f38c0f44 xf86-video-amdgpu-1.3.0.tar.gz SHA1: cc5766dd9a7851ef18f2718987777054f31e9cd2 xf86-video-amdgpu-1.3.0.tar.gz SHA256: 05f4a1bbd3a0653551cb9871a554ec4b84c35d00a8fb101f772fc154253eb1e0 xf86-video-amdgpu-1.3.0.tar.gz PGP: https://xorg.freedesktop.org/archive/individual/driver/xf86-video-amdgpu-1.3.0.tar.gz.sig
Signature · 2 lines
Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 6f32285d-e12b-341f-4ef7-af1a1559ee37-otUistvHUpPR7s880joybQ@public.gmane.org
Hi Michel,
Quoted 2 lines
* Use
libdrm_amdgpufunctionality to determine the GPU marketing name, remove corresponding tables from this driver.
Could you elaborate it?
I'd like to know how DDX(amdgpu) get the marketing name. I hope we go the same way in hybrid stack as well.
Regards,
Jerry (Junwei Zhang)
Linux Base Graphics
SRDC Software Development
_____________________________________
Quoted 119 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Michel D?nzer
Sent: Thursday, March 16, 2017 16:45
To: [email protected]
Cc: [email protected]; [email protected]
Subject: [ANNOUNCE] xf86-video-amdgpu 1.3.0I'm pleased to announce the 1.3.0 release of xf86-video-amdgpu, the Xorg driver for AMD Radeon GPUs supported by the amdgpu 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.
* Uselibdrm_amdgpufunctionality to determine the GPU marketing name, remove corresponding tables from this 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 variablesHans De Goede (1):
amdgpu_probe: Do not close server managed drm fdsJammy Zhou (1):
Use render node for DRI3 if availableMichel Dänzer (44):
Post-release version bump
Move structamdgpu_gpu_infoout ofamdgpu_get_tile_configUse family information fromlibdrm_amdgpu/ kernel
Stop using generatedamdgpu_device_match
Removeamdpciids.h
Stop using AMDGPUPciChipsets
Stop using AMDGPU(Unique)Chipsets
Remove generated header files
Use DRM_MODE_PAGE_FLIP_TARGET_ABSOLUTE/RELATIVE flags when
available
Make libdrm >= 2.4.72 requirement explicit
Don't install Flush/EventCallback for GPU screens
Addamdgpu_is_gpu_screenhelper
Take currentscanout_idinto account everywhere involved with TearFree Fixamdgpu_scanout_extents_intersectfor GPU screens
Call ValidateGC after ChangeClip inamdgpu_sync_scanout_pixmapsCallamdgpu_drm_abort_entryon failure to flip to a scanout pixmap Simplifydrmmode_handle_uevents
Pass pitch fromdrmmode_crtc_scanout_allocatetodrmmode_create_bo_pixmap
Calldrmmode_crtc_scanout_createindrmmode_crtc_shadow_allocateas
well
Folddrmmode_crtc_scanout_allocateintodrmmode_crtc_scanout_createHandle rotation in the driver also with Xorg 1.12-1.18
Fix flip event data leak if calloc or drmModeAddFB fails Don't destroy current FB if drmModeAddFB fails
Factor outamdgpu_prime_dirty_to_crtchelper
Factor outdrmmode_crtc_scanout_updatehelper
Allow toggling TearFree at runtime via output property
Usedrmmode_crtc_scanout_freeindrmmode_fini
present: Only call drmModeRmFB after setting modes for unflip
present: Wait for GPU idle before setting modes for unflip
present: Also flush before using a flip to unflip
present: Use async flip for unflip if possible
present: Flush before flipping
Calldrmmode_set_desired_modesfrom a WindowExposures hook Move DPMS check fromamdgpu_scanout_do_updatetoamdgpu_scanout_flip
Don't callamdgpu_glamor_flushindrmmode_copy_fb
Don't usepScrn->is_gpuinAMDGPUCreateScreenResources_KMSUse local implementation of RegionDuplicate for older xserver Only definetransform_regionforXF86_CRTC_VERSION>= 4
glamor: Don't flush in BlockHandler with Xorg >= 1.19 Refactoramdgpu_kernel_close_fdhelper
glamor: Useglamor_finishwhen available
Skip some initialization steps for GPU screens
Pass TRUE todrmmode_set_desired_modesthe first time for GPU screens Bump version for 1.3.0 releaseMihail Konev (1):
autogen: add default patch prefixPeter Hutterer (1):
autogen.sh: use exec instead of waiting for configure to finishjimqu (1):
udev_monitor_receive_device()will block when hotplug monitorgit tag: xf86-video-amdgpu-1.3.0
https://xorg.freedesktop.org/archive/individual/driver/xf86-video-amdgpu-
1.3.0.tar.bz2MD5: e2ee9e16ffbd45ebda68a7ff638a04f2 xf86-video-amdgpu-1.3.0.tar.bz2 SHA1: 7b89fe6e22e6739257c0f03c9f034c9c579a8bce xf86-video-amdgpu-1.3.0.tar.bz2
SHA256:c1630f228938be949273f72b29ae70822dde064ad79c3ccb14d55f427e3f4e70xf86- video-amdgpu-1.3.0.tar.bz2
PGP: https://xorg.freedesktop.org/archive/individual/driver/xf86-video-
amdgpu-1.3.0.tar.bz2.sighttps://xorg.freedesktop.org/archive/individual/driver/xf86-video-amdgpu-
1.3.0.tar.gzMD5: c0c3d95fb2865008f1347bf9f38c0f44 xf86-video-amdgpu-1.3.0.tar.gz SHA1: cc5766dd9a7851ef18f2718987777054f31e9cd2 xf86-video-amdgpu-1.3.0.tar.gz
SHA256:05f4a1bbd3a0653551cb9871a554ec4b84c35d00a8fb101f772fc154253eb1e0xf86- video-amdgpu-1.3.0.tar.gz
PGP: https://xorg.freedesktop.org/archive/individual/driver/xf86-video-
amdgpu-1.3.0.tar.gz.sig
Quoted 3 lines
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Quoted 7 lines · Jerry
Hi Michel,
Quoted 2 lines
* Use
libdrm_amdgpufunctionality to determine the GPU marketing name, remove corresponding tables from this driver.Could you elaborate it?
I'd like to know how DDX(amdgpu) get the marketing name.
It uses libdrm_amdgpu's amdgpu_get_marketing_name API.
Signature · 7 lines
Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ [email protected]: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: https://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s
A message that is not in the archive (sent off-list or not yet received): 94e15a10-88eb-ffc1-d9b7-ca5035559192-otUistvHUpPR7s880joybQ@public.gmane.org
Quoted 10 lines
-----Original Message-----
From: Michel Dänzer [mailto:[email protected]]
Sent: Friday, March 17, 2017 11:32
To: Zhang, Jerry
Cc: [email protected]; [email protected]
Subject: Re: [ANNOUNCE] xf86-video-amdgpu 1.3.0Quoted 2 lines · Jerry
Hi Michel,
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
* Use
libdrm_amdgpufunctionality to determine the GPU marketing name, remove corresponding tables from this driver.Could you elaborate it?
I'd like to know how DDX(amdgpu) get the marketing name.It uses libdrm_amdgpu's
amdgpu_get_marketing_nameAPI.
Thanks for your info.
We go the same way :)
Quoted 5 lines
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Quoted 8 lines · Michel Dänzer
I'm pleased to announce the 1.3.0 release of xf86-video-amdgpu,
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.
Nice feature. Minor man page glitch = the line starting with 'on' in the patch snippet below doesn't show up when viewed with man amdgpu.
+Set the default value of the per-output 'TearFree' property, which controls +tearing prevention using the hardware page flipping mechanism. TearFree is +on for any CRTC associated with one or more outputs with TearFree on. Two +separate scanout buffers need to be allocated for each CRTC with TearFree +on. While TearFree is on for any CRTC, it currently prevents clients from using +DRI page flipping. If this option is set, the default value of the property is +'on' or 'off' accordingly. If this option isn't set, the default value of the +property is
+.B auto,
+which means that TearFree is on for outputs with rotation or other RandR +transforms, and for RandR 1.4 slave outputs, otherwise off.
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): d1b0b6a6-0c8e-d6ca-451a-1d25dab582d4-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
[ Dropping the xorg(-announce) lists ]
Quoted 11 lines · Andy Furniss
Quoted 8 lines · Michel Dänzer
I'm pleased to announce the 1.3.0 release of xf86-video-amdgpu,
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.
Nice feature.
Glad you like it. :)
Quoted 14 lines
Minor man page glitch = the line starting with 'on' in the patch snippet below doesn't show up when viewed with man amdgpu.
+Set the default value of the per-output 'TearFree' property, which controls
(quoted diff) +4
-0+tearing prevention using the hardware page flipping mechanism. TearFree is +on for any CRTC associated with one or more outputs with TearFree on. Two +separate scanout buffers need to be allocated for each CRTC with TearFree +on. While TearFree is on for any CRTC, it currently prevents clientsfrom using
+DRI page flipping. If this option is set, the default value of the property is
+'on' or 'off' accordingly. If this option isn't set, the default value of the
Review
Quoted 4 lines
(quoted diff) +4
-0+property is +.B auto, +which means that TearFree is on for outputs with rotation or other RandR +transforms, and for RandR 1.4 slave outputs, otherwise off.
Ah! Thanks, I had noticed "property is property is" in the generated manpage, but totally missed that a whole line was missing in between!
Fix posted for review: https://patchwork.freedesktop.org/patch/145647/
Signature · 7 lines
Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx