-
3dcfce8d
by Michel Dänzer
at 2018-05-17T07:50:50Z
Bail from dri2_create_buffer2 if we can't get a pixmap
We would store the NULL pointer and continue, which would lead to a
crash down the road.
Bugzilla: https://bugs.freedesktop.org/106293
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
65c9dfea
by Michel Dänzer
at 2018-05-22T16:30:48Z
glamor: Bail CreatePixmap on unsupported pixmap depth
Fixes crash in that case.
Bugzilla: https://bugs.freedesktop.org/106293
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
25836375
by Michel Dänzer
at 2018-05-23T10:07:44Z
Drop unused drmmode_create_bo_pixmap surface parameter
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
ac18a993
by Michel Dänzer
at 2018-07-09T16:14:19Z
EXA: Remove old RADEONEXACreatePixmap hook
Not used by any supported version of xserver.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
eec4a419
by Michel Dänzer
at 2018-07-09T16:24:21Z
Only initialize libdrm_radeon surface manager for >= R600
Not used with older GPUs.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
ba5d5402
by Michel Dänzer
at 2018-07-09T16:24:39Z
glamor: Don't store radeon_surfaces in pixmaps
Only EXA needs them.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
5da2bf43
by Michel Dänzer
at 2018-07-09T16:26:57Z
Factor out radeon_surface_initialize helper
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
90b94d40
by Michel Dänzer
at 2018-07-09T16:27:13Z
Move flush from radeon_scanout_do_update to its callers
No functional change intended.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
6c986e99
by Jammy Zhou
at 2018-07-09T16:27:27Z
Remove throttling from radeon_dri2_copy_region2
Throttling should be handled by the client-side drivers.
Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com>
(Ported from amdgpu commit 8a34a8149860ac15e83ccdbd8d9a527d8d3e5997)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
37ba075b
by Michel Dänzer
at 2018-07-09T16:27:45Z
Refactor radeon_finish helper
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
b85b7b11
by Michel Dänzer
at 2018-07-09T16:28:05Z
Add struct radeon_buffer
Inspired by amdgpu, preparation for the following change. For now, this
is mostly a wrapper around struct radeon_bo, no functional change
intended.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
3c4c0213
by Michel Dänzer
at 2018-07-09T16:28:21Z
glamor: Use GBM for BO allocation when possible
Inspired by amdgpu. This avoids various issues due to a GEM handle
lifetime conflict between us and Mesa with current glamor.
Bugzilla: https://bugs.freedesktop.org/105381
Tested-by: Konstantin Kharlamov <hi-angel@yandex.ru>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
413622bc
by Michel Dänzer
at 2018-07-10T15:23:24Z
Swap pixmap privates in radeon_dri2_exchange_buffers
Instead of only the BOs.
This matches what amdgpu does, and fixes issues with DRI2 page flipping.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
cc1d0824
by Jim Qu
at 2018-07-11T16:34:53Z
Wait for pending scanout update before calling drmmode_crtc_scanout_free
There is a case that when set screen from reverse to normal, the old
scanout damage is freed in modesetting before scanout update handler,
so it causes segment fault issue.
Signed-off-by: Jim Qu <Jim.Qu@amd.com>
[ Michel Dänzer: Only call drmmode_crtc_wait_pending_event before
drmmode_crtc_scanout_free is actually called, slightly tweak commit
message ]
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
(Ported from amdgpu commit 9f6a8905611b5b1d8fcd31bebbc9af7ca1355cc3)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
731d4b38
by Emil Velikov
at 2018-07-12T16:01:53Z
Do not export the DriverRec RADEON
Unused externally and should not be exported.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
(Ported from amdgpu commit 7fb8b49895e225b3908c8bd186539de23afe91d1)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
d14ff6b7
by Michel Dänzer
at 2018-07-12T16:02:07Z
Ignore RADEON_DRM_QUEUE_ERROR (0) in radeon_drm_abort_entry
This allows a following change to be slightly simpler.
(Ported from amdgpu commit 8fcc3a9b43d3907052a83a96e5a2423afab5ad3f)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
290291a1
by Michel Dänzer
at 2018-07-12T16:06:00Z
Track DRM event queue sequence number in scanout_update_pending
Preparation for next change, no behaviour change intended.
(Ported from amdgpu commit 04a5c5f7cfacad8d9ccffe81e388cc3da2036cb5)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
05390ae3
by Michel Dänzer
at 2018-07-12T16:06:17Z
Abort scanout_update_pending event when possible
We don't need to wait for a non-TearFree scanout update before scanning
out from the screen pixmap or before flipping, as the scanout update
won't be visible anyway. Instead, just abort it.
(Ported from amdgpu commit 36d01989cd842588f12fdae5b2cba5fdcf9c91dd)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
e07c3864
by Michel Dänzer
at 2018-07-12T16:06:39Z
Update RandR CRTC state if set_mode_major fails in set_desired_modes
Without this, RandR would report the CRTC and its outputs as enabled,
even though they were actually off due to the failure.
(Cherry picked from amdgpu commit 4dcda0b48d62944c841cd9540f4ad4c7ac8dee47)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
9f2409c4
by Michel Dänzer
at 2018-07-12T16:06:53Z
Simplify drmmode_crtc_scanout_update
Use our own BoxRec for the extents, and RegionEmpty for clearing the
scanout damage region.
(Ported from amdgpu commit 72c3e9c7308fbcdf85708b72f9be14a5f2f8e7b5)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
89d38e97
by Michel Dänzer
at 2018-07-12T16:07:05Z
Don't call scanout_flip/update with a legacy RandR scanout buffer
It means we are not using our own scanout buffers.
Fixes crash when TearFree is supposed to be enabled, but
drmmode_handle_transform doesn't set crtc->driverIsPerformingTransform.
Bugzilla: https://bugs.freedesktop.org/105736
(Ported from amdgpu commit 463477661c88cab3a87746499e5838c5b9f9a13b)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
e9d2d149
by Michel Dänzer
at 2018-07-12T16:07:35Z
Simplify drmmode_handle_transform
Set crtc->driverIsPerformingTransform for any case we can handle before
calling xf86CrtcRotate. We already clear it afterwards when the latter
clears crtc->transform_in_use.
This should allow our separate scanout buffer mechanism to be used in
more cases.
(Cherry picked from amdgpu commit 8e544b4a0de6717feb4abf00052d57c5b726b5ce)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
ee7e1574
by Michel Dänzer
at 2018-07-12T16:07:55Z
Set drmmode_crtc->scanout_id = 0 when TearFree is disabled
When disabling TearFree, drmmode_crtc->scanout_id could remain as 1,
but drmmode_set_mode_major would destroy drmmode_crtc->scanout[1], so
scanout_do_update() would keep bailing, and the scanout buffer would
stop being updated.
Fixes freeze after disabling TearFree on a CRTC with active RandR
rotation or other transform.
(Ported from amdgpu commit 7db0c8e9d7586cff4312d4b93684d35de3e6376f)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
f01d8cf2
by Michel Dänzer
at 2018-07-12T16:08:07Z
Refactor drmmode_output_set_tear_free helper
Preparation for the following fix, no functional change intended.
(Ported from amdgpu commit fa30f4601de7a44edfb4a95873bd648946fd4292)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
cf8bc72e
by Michel Dänzer
at 2018-07-12T16:08:19Z
Wait for pending flips in drmmode_output_set_tear_free
This prevents a nested call to drmHandleEvent, which would hang.
Fixes hangs when disabling TearFree on a CRTC while a DRI3 client is
page flipping.
(Ported from amdgpu commit 04947b83cce3a7782e59dece2c7797cc396c1e05)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
4050b0ad
by Michel Dänzer
at 2018-07-12T16:08:34Z
Replace 'foo == NULL' with '!foo'
Shorter and sweeter. :)
(Ported from amdgpu commit e8e688f3852fb06b0c34ed5bce47c9493bcd1613)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
59441ee3
by Michel Dänzer
at 2018-07-12T16:08:55Z
Call drmmode_do_crtc_dpms from drmmode_crtc_dpms as well
Leo pointed out that drmmode_do_crtc_dpms wasn't getting called when
turning off an output with
xrandr --output <output> --off
This meant that the vblank sequence number and timestamp wouldn't be
saved before turning off the CRTC in this case.
Reported-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
(Ported from amdgpu commit ceeacb455cd058492a493aac954deab8455804b5)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
6a0c01bb
by Michel Dänzer
at 2018-07-12T16:09:08Z
Use drmmode_crtc_dpms in drmmode_set_desired_modes
Simplifies the latter slightly.
(Ported from amdgpu commit 74124f2c17dbb4b752707bb7eee398ae099e8a2c)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
447ef045
by Michel Dänzer
at 2018-07-12T16:09:24Z
Check dimensions passed to drmmode_xf86crtc_resize
When enabling a secondary GPU output, Xorg can try resizing the screen
beyond the limit advertised by the driver, leading to drmModeAddFB
failing and primary GPU outputs turning off. Check for this and bail
instead.
(Ported from amdgpu commit 940c8b39f79789d4d5ddb8ab8d25a8ae05932756)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
16ddc109
by Michel Dänzer
at 2018-07-12T16:09:39Z
Remove #if 0'd code
This has always been disabled, no need to keep it.
(Ported from amdgpu commit 19a40758be04e1d451a030f452efb49e8aaad541)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
4b3e5f81
by Michel Dänzer
at 2018-07-12T16:09:53Z
Call drmmode_crtc_gamma_do_set from drmmode_setup_colormap
Instead of from drmmode_set_mode_major. There's no need to re-set the
gamma LUT on every modeset, the kernel should preserve it.
(Ported from amdgpu commit baea4fa492f635cdfe746a84be2e337d9aeae8a9)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
612bda0a
by Keith Packard
at 2018-07-12T16:10:08Z
modesetting: Record non-desktop kernel property at PreInit time
Save any value of the kernel non-desktop property in the xf86Output
structure to avoid non-desktop outputs in the default configuration.
[Also bump randrproto requirement to a version that defines
RR_PROPERTY_NON_DESKTOP - ajax]
Signed-off-by: Keith Packard <keithp@keithp.com>
(Ported from xserver commit b91c787c4cd2d20685db69426c539938c556128a)
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
(Ported from amdgpu commit 14db71a606128c4a207f43298809af279b77e2a8)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
b4f0f44a
by Keith Packard
at 2018-07-12T16:13:18Z
modesetting: Create CONNECTOR_ID properties for outputs [v2]
This lets a DRM client map between X outputs and kernel connectors.
v2:
Change CONNECTOR_ID to enum -- Adam Jackson <ajax@nwnk.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
(Ported from xserver commit 023d4aba8d45e9e3630b944ecfb650c081799b96)
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
(Ported from amdgpu commit ab7e39c5a03e24c3ce3ee2f22ada7572bc2d9aa7)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
f533b1f6
by Keith Packard
at 2018-07-12T16:13:34Z
Add RandR leases support
Signed-off-by: Keith Packard <keithp@keithp.com>
(Ported from xserver commit e4e3447603b5fd3a38a92c3f972396d1f81168ad)
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
(Ported from amdgpu commit 61040bdfa360975614fb47aa7ea1b3a1abac3427)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
d9a139bc
by Michel Dänzer
at 2018-07-16T10:51:26Z
glamor: Fix glamor_block_handler argument in radeon_glamor_finish
I missed this before because this code isn't compiled with current
xserver.
Trivial.
-
499d2f9d
by Michel Dänzer
at 2018-07-17T09:43:12Z
glamor: Invalidate cached GEM handle in radeon_set_pixmap_bo
We continued using the stale cached handle, causing issues e.g. when
resizing the screen via RandR.
Reported-by: iive on IRC
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
64bd009d
by Michel Dänzer
at 2018-07-19T09:33:42Z
Don't allocate drmmode_output->props twice
This was accidentally duplicated when porting RandR lease support from
amdgpu.
Trivial.
-
ffdbd46b
by Michel Dänzer
at 2018-07-23T09:02:32Z
Hardcode "non-desktop" RandR property name
It's a bit silly to require current randrproto just for this definition,
which can't really change anyway.
Suggested-by: Qiang Yu <qiang.yu@amd.com>
(Ported from amdgpu commit ae8e02c6fc4ef5d5340b8cd4739e66b19b9e3386)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
d258413c
by Michel Dänzer
at 2018-07-23T16:54:40Z
Remove drmmode_terminate_leases
The RandR screen private is already freed when our CloseScreen runs, so
this can't do anything useful. This cleanup has to be done by the X
server itself.
(Ported from amdgpu commit 5f06d6b8ba570b500956ad26fee711d5ac427818)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
fed41129
by Michel Dänzer
at 2018-07-24T15:28:46Z
Use strcpy for RandR output property names
Instead of strncpy with the string length. Avoids new warnings with GCC
8:
../../src/drmmode_display.c: In function ‘drmmode_output_create_resources’:
../../src/drmmode_display.c:2240:2: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation]
strncpy(tearfree_prop->name, "TearFree", 8);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/drmmode_display.c:2244:2: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
strncpy(tearfree_prop->enums[0].name, "off", 3);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/drmmode_display.c:2245:2: warning: ‘strncpy’ output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation]
strncpy(tearfree_prop->enums[1].name, "on", 2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/drmmode_display.c:2247:2: warning: ‘strncpy’ output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation]
strncpy(tearfree_prop->enums[2].name, "auto", 4);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(Ported from amdgpu commit f3b2ed37d683f8616a0a31ff63133ddb8fe1a4a3)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
7de4ea15
by Michel Dänzer
at 2018-07-27T07:13:12Z
Bump version to 18.0.99
Forgot to do this after the 18.0.1 release.
-
db28d35c
by Michel Dänzer
at 2018-07-27T09:30:57Z
glamor: Use glamor_egl_create_textured_pixmap_from_gbm_bo when possible
Inspired by the modesetting driver.
Fixes screen pixmap corruption with Xorg < 1.20, and as a bonus,
simplifies the code slightly.
Bugzilla: https://bugs.freedesktop.org/107385
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
ef2a6b81
by Michel Dänzer
at 2018-08-02T16:48:04Z
glamor: Set RADEON_CREATE_PIXMAP_DRI2 for DRI3 pixmaps
Not doing this resulted in falling back to software for DRI3 client
presentation operations with ShadowPrimary.
(Ported from amdgpu commit 2989d40ef74d9966e8e8df2ef7727b2cc48d4960)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
740f0850
by Michel Dänzer
at 2018-08-03T16:24:01Z
Store FB for each CRTC in drmmode_flipdata_rec
We were only storing the FB provided by the client, but on CRTCs with
TearFree enabled, we use a separate FB. This could cause
drmmode_flip_handler to fail to clear drmmode_crtc->flip_pending, which
could result in a hang when waiting for the pending flip to complete. We
were trying to avoid that by always clearing drmmode_crtc->flip_pending
when TearFree is enabled, but that wasn't reliable, because
drmmode_crtc->tear_free can already be FALSE at this point when
disabling TearFree.
Now that we're keeping track of each CRTC's flip FB separately,
drmmode_flip_handler can reliably clear flip_pending, and we no longer
need the TearFree hack.
(Ported from amdgpu commit 9b6782c821e0bdc53336d98f87ddde752faf7902)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
824189b3
by Michel Dänzer
at 2018-08-16T16:22:27Z
Use correct FB handle in radeon_do_pageflip
We were always using the handle of the client provided FB, which
prevented RandR transforms from working, and could result in a black
screen.
Bugzilla: https://bugs.freedesktop.org/107519
Fixes: 740f0850f1e4 "Store FB for each CRTC in drmmode_flipdata_rec"
(Ported from amdgpu commit f6cd72e64e85896b6d155bee0930e59771dcb701)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-
ecdf0b7e
by Michel Dänzer
at 2018-08-17T07:57:33Z
Move DRM event queue related initialization to radeon_drm_queue_init
And make radeon_drm_queue_handler not directly accessible outside of
radeon_drm_queue.c.
(Ported from amdgpu commit 0148283984c77f7a6e97026edc3093497547e0a4)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
93621e40
by Michel Dänzer
at 2018-08-17T07:58:57Z
Add radeon_drm_wait_pending_flip function
Replacing the drmmode_crtc_wait_pending_event macro.
(Ported from amdgpu commit 6029794e8a35417faf825491a89b85f713c77fc1)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
ba83a866
by Michel Dänzer
at 2018-08-17T07:59:42Z
Add radeon_drm_handle_event wrapper for drmHandleEvent
Instead of processing DRM events directly from drmHandleEvent's
callbacks, there are three phases:
1. drmHandleEvent is called, and signalled events are re-queued to
_signalled lists from its callbacks.
2. Signalled page flip completion events are processed.
3. Signalled vblank events are processed.
This should make sure that we never call drmHandleEvent from one of its
callbacks, which would usually result in blocking forever.
(Ported from amdgpu commit 739181c8d3334ff14b5a607895dfdeb29b0d9020)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
c42f6e2e
by Michel Dänzer
at 2018-08-17T08:02:08Z
Defer vblank event handling while waiting for a pending flip
This is to avoid submitting more flips while we are waiting for pending
ones to complete.
(Ported from amdgpu commit e52872da69ecc84dafb3355839e35b0383f0d228)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
60cd28bb
by Michel Dänzer
at 2018-08-17T08:06:43Z
Remove drmmode_crtc_private_rec::present_vblank_* related code
Not needed anymore with the more robust mechanisms for preventing nested
drmHandleEvent calls introduced in the previous changes.
(Ported from amdgpu commit 85cd8eef0cbed7b409b07f58d76dacd34aa3ddea)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
7b01c101
by Michel Dänzer
at 2018-08-23T16:48:45Z
Add m4 directory
Although normally it only warns about it, under some circumstances,
aclocal can error out if this directory doesn't exist.
Reported-by: John Lumby <johnlumby@hotmail.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
cba8fe4d
by Michel Dänzer
at 2018-08-24T15:05:06Z
Use AC_CONFIG_MACRO_DIR instead of AC_CONFIG_MACRO_DIRS
Older versions of autoconf only supported the former.
Acked-by: Alex Deucher <alexander.deucher@amd.com>
-
3c42bd04
by Michel Dänzer
at 2018-08-29T15:19:24Z
EXA: Handle NULL BO pointer in radeon_set_pixmap_bo
-
1799680f
by Michel Dänzer
at 2018-08-29T15:23:26Z
Handle ihandle == -1 in radeon_set_shared_pixmap_backing
It means to stop using the shared pixmap backing.
Fixes crash when changing PRIME slave output configuration.
-
84bde2df
by Michel Dänzer
at 2018-08-29T15:23:30Z
EXA: Handle ihandle == -1 in RADEONEXASharePixmapBacking
-
de88ea27
by Michel Dänzer
at 2018-08-29T15:23:34Z
glamor: Handle ihandle == -1 in radeon_glamor_set_shared_pixmap_backing
-
87b9a3e5
by Michel Dänzer
at 2018-09-05T09:27:25Z
Always delete entry from list in drm_queue_handler
We left entries without a handler hook in the list, so the list could
keep taking longer to process and use up more memory.
(Ported from amdgpu commit 7eea3e2cd74eed22e982319144e18ae5b1087b78)
-
4c7d5e50
by Michel Dänzer
at 2018-09-05T09:29:43Z
Don't use xorg_list_for_each_entry_safe for signalled flips
drm_wait_pending_flip can get called from drm_handle_event, in which
case xorg_list_for_each_entry_safe can end up processing the same entry
in both. To avoid this, just process the first list entry until the list
is empty.
(Ported from amdgpu commit 26770be44b89b83bf39c28f2fe284c8cb92ed0c0)
-
5d5d8834
by Michel Dänzer
at 2018-09-07T16:19:05Z
Bail early from drm_wait_pending_flip if there's no pending flip
No need to process any events in that case.
(Ported from amdgpu commit ca5eb9894fff153c0a1df7bdc4a4745713309e27)
-
2d58830c
by Michel Dänzer
at 2018-09-11T13:16:38Z
Fix uninitialized use of local variable pitch in radeon_setup_kernel_mem
Fixes server reset.
Pointed out by clang:
../../src/radeon_kms.c:2721:9: warning: variable 'pitch' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if (!info->front_buffer) {
^~~~~~~~~~~~~~~~~~~
../../src/radeon_kms.c:2765:27: note: uninitialized use occurs here
pScrn->displayWidth = pitch / cpp;
^~~~~
-
80514b7b
by Michel Dänzer
at 2018-09-14T15:48:49Z
Bump version for 18.1.0 release