Commit Graph

570 Commits

Author SHA1 Message Date
Marek Olšák
04bc88d997 Check GFX12 swizzle mode correctly
libdrm 2.4.121 is required to get the new FAMILY definition.
2024-07-12 14:37:31 -04:00
Pierre-Eric Pelloux-Prayer
d1c7ab5bac ci: use gfx-ci/ci-deb-repo to get latest libdrm
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2024-07-12 19:47:55 +02:00
Pierre-Eric Pelloux-Prayer
7c943d5a02 ci: switch from testing to bookworm
To be able to use gfx-ci/ci-deb-repo.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2024-07-12 19:47:45 +02:00
Enrico Weigelt, metux IT consult
07d66135d8 dont use obsolete pict_f_transform alias anymore
The obsolete pict_f_transform macro (aliasing to pixman_f_transform) had been
removed in Xorg headers. Thus, we should use pixman_f_transform directly.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2024-07-11 15:39:54 +00:00
Enrico Weigelt, metux IT consult
c561fe4d5d dont check for HAS_DIRTYTRACKING_ROTATION: it's always enabled.
We're relying on at least 1.18 now, so no need to check anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2024-05-15 15:57:02 +02:00
Enrico Weigelt, metux IT consult
ade777e823 drop compat with ancient xserver versions
We're relying on at least 1.18 now.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2024-05-14 16:54:19 +02:00
Enrico Weigelt, metux IT consult
44e8272002 bump minimal xorg version to 1.18
1.18 was released a decade ago, so it seems reasonable stop supporting
older ones.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2024-05-14 12:22:46 +02:00
Alan Coopersmith
8df03a7aa5 gitlab CI: add builds against server-21.1-branch
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-24 17:01:21 -08:00
Uday Kiran Pichika
4d7a9a61f7 Handling of color management properties
As the color management properties are optional, this commit
handles these properties individually

Reviewed-by: Shashank Sharma <shashank.sharma@amd.com>
Signed-off-by: Uday Kiran Pichika <udaykiran.pichika@amd.com>
2024-01-24 19:40:06 +01:00
Hamza Mahfooz
31a092ae71 Enable TearFree if it's set to auto and VariableRefresh is enabled
As of kernel commit 1ca67aba8d11 ("drm/amd/display: only accept async
flips for fast updates"), we reject async flips that used to be silently
degraded to vsync. However, this causes issues for VRR if TearFree isn't
enabled, in particular we have seen that VRR fails to engage on a
handful of tested applications and in one case we even observed an
application soft hang. So, if TearFree is set to auto we should enable
it if VariableRefresh is enabled and we should warn users if they try to
enable VariableRefresh while TearFree is disabled.

Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
2023-09-25 19:50:21 +02:00
Chris Bainbridge
ae22d12d42 Free output_ids 2023-07-12 21:16:32 +01:00
Chris Bainbridge
2897e1769c Fix segfault on dock suspend, unplug, resume
`drmmode_set_mode` can segfault if a USB-C dock with external monitors
is disconnected during suspend. It appears that some data structures are
not updated, but the associated `drmModeConnectorPtr` associated with
those structures is NULL. Dereferencing that pointer results in Xorg
crashing.

Backtrace:

    (crtc=crtc@entry=0x55a0c7610390, fb=fb@entry=0x55a0c86d7410, mode=mode@entry=0x55a0c76103a8, x=x@entry=0, y=y@entry=0) at drmmode_display.c:1267
    (crtc=0x55a0c7610390, mode=0x55a0c76103a8, rotation=<optimized out>, x=<optimized out>, y=<optimized out>) at drmmode_display.c:1371
    (main=main@entry=0x55a0c63f4b40, argc=argc@entry=10, argv=argv@entry=0x7fffb7cefbf8)
    at ../sysdeps/nptl/libc_start_call_main.h:58
    (main=0x55a0c63f4b40, argc=10, argv=0x7fffb7cefbf8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffb7cefbe8) at ../csu/libc-start.c:381

Fix this by checking the pointer before dereferencing it.

Fixes: https://gitlab.freedesktop.org/drm/amd/-/issues/2375
Signed-off-by: Chris Bainbridge <chris.bainbridge@gmail.com>
2023-07-11 12:00:11 +01:00
Shashank Sharma
7025aefcdf Bump version for the 23.0.0 release
This release includes some bug fixes.

Signed-off-by: Shashank Sharma <shashank.sharma@amd.com>
xf86-video-amdgpu-23.0.0
2023-02-22 18:07:05 +01:00
Shashank Sharma
6ee3209170 config: Add hotplug driver name
This patch adds the PCI-hotplug handler driver name in the
DDX config file with respect to Xorg commit:82bf391c

Cc: Alexander Deucher <alexander.deucher@amd.com>
Signed-off-by: Shashank Sharma <shashank.sharma@amd.com>
2022-12-05 16:52:52 +01:00
Mario Kleiner
2ec854d48e Fix primary output handling in amdgpu_crtc_covering_box().
Commit e39a3ee07c
tries to reintroduce the RandR primary output as a tie breaker
in amdgpu_crtc_covering_box(), but that function wrongly
assigns a void* devPrivate, which is actually a xf86CrtcPtr,
to the RRCrtcPtr primary_crtc, a pointer target type mismatch!

This causes a later pointer comparison of primary_crtc with
RRCrtcPtr crtc to always fail, so that the user selected
primary output can not ever successfully act as a tie-breaker
when multiple candidate crtcs cover the same box area,
defeating the whole purpose of that commit! Not sure how
this failure could have ever evaded any basic testing.

Fix this trivially by assigning the right variable.

Successfully tested on a multi-display setup, verifying
that the primary output now works as tie breaker as
intended.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Fixes: e39a3ee07c ("Prefer crtc of primary output for synchronization when screen has to crtcs with the same coverage")
2022-11-11 03:15:29 +01:00
Pierre-Eric Pelloux-Prayer
9c959fac3a Use DRM_CAP_CURSOR_WIDTH/HEIGHT if possible
There's no need to hardcode the cursor size if the kernel can
report the value it wants.
2022-09-29 16:42:09 +02:00
Alan Coopersmith
4e011b91fa gitlab CI: enable gitlab's builtin static analysis
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-08-18 10:49:16 +00:00
tiancyin
dc81177ef3 Fix screen corruption on secondary GPU
[why]
On RHEL9+, xorg-server.pc shows that the Xorg no longer depends on dri,
and dri.pc provides "/opt/amdgpu/include" path for pkg-config, this
cause pkg-config no longer output "-I/opt/amdgpu/include", consequently
the configure can't find gbm.h and HAVE_GBM_BO_USE_LINEAR is not
declared, that cause the corruption.

[how]
Since the gbm.pc also provides the "/opt/amdgpu/include" path, in module
dependence checking, GBM_CFLAGS get this path, so just explicitly add
GBM_CFLAGS into CPPFLAGS can fix this issue.

Signed-off-by: tiancyin <tianci.yin@amd.com>
2022-08-18 10:46:37 +00:00
Kai-Heng Feng
a3a012b649 Initialize present extension for GPU screen
Some laptops have the external outputs routed to dGPU, when the external
output over dGPU is the only display in reverse prime mode, we need
present extension so fake CRTC won't be used.
2022-08-08 10:49:11 +08:00
Lukasz Spintzyk
f3f57a5834 Do not consider disabled crtc anymore when looking for xf86crtc covering drawable.
This is commit is removing obsolete switch done in

xf86-video-ati at sha 61d0aec40e2521488c2fe43e7a6823e5c87d94d7:  video: add option to include disabled CRTCs in best CRTC search
This is not required anymore as with commit done in
xorg-server at sha 5c5c1b77982a9af7279a90bc3c2be48adaa9c778:     present: Add Present extension
That in case of lack of crtc is using fake_crtc with render 1Hz frequency

When consider_disabled is removed then amdgpu_pick_best_crtc is doing the same what rr_crtc_covering_box is doing
so it can be reimplemented to reuse that function.

Signed-off-by: Łukasz Spintzyk <lukasz.spintzyk@synaptics.com>
Signed-off-by: Shashank Sharma <contactshashanksharma@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2022-04-20 16:20:04 +02:00
Lukasz Spintzyk
e39a3ee07c Prefer crtc of primary output for synchronization when screen has to crtcs with the same coverage
This is adjusting randr_crtc_covering_drawable to cover scenario fixed in
9151f3b1c2ebcc34e63195888ba696f2183ba5e2

Signed-off-by: Łukasz Spintzyk <lukasz.spintzyk@synaptics.com>
Signed-off-by: Shashank Sharma <contactshashanksharma@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2022-04-20 16:20:04 +02:00
Lukasz Spintzyk
92fb43b8e9 Use randr_crtc_covering_drawable used in modesetting
Use implementation from modesetting driver that is fixing issue:
https://gitlab.freedesktop.org/xorg/xserver/-/issues/1028

Instead of returning primary crtc as fallback we can now find and return crtc that belongs to secondary outputs.

v2:
  restore original naming scheme for amdgpu_crtc_is_enabled, amdgpu_box_intersect, amdgpu_box_area functions

Signed-off-by: Łukasz Spintzyk <lukasz.spintzyk@synaptics.com>
Signed-off-by: Emilia Majewska <emilia.majewska@synaptics.com>
Signed-off-by: Shashank Sharma <contactshashanksharma@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2022-04-20 16:20:04 +02:00
Łukasz Spintzyk
57740ae235 amdgpu: fixup driver for new X server ABI
Signed-off-by: Łukasz Spintzyk <lukasz.spintzyk@synaptics.com>
Signed-off-by: Shashank Sharma <contactshashanksharma@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2022-04-20 16:19:45 +02:00
Alan Coopersmith
89b3eb9fff Update URLs to reflect gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-02-22 07:57:01 -08:00
Shashank Sharma
533bd30cea Bump version for the 22.0.0 release
This release includes some bug fixes and one minor feature.

Signed-off-by: Shashank Sharma <shashank.sharma@amd.com>
xf86-video-amdgpu-22.0.0
2022-02-22 16:26:37 +01:00
Alan Coopersmith
402bfdead7 Build xz tarballs instead of bzip2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-02-16 15:36:58 +00:00
Jesse Zhang
c21bcdd1cb glamor: unset AMDGPU_CREATE_PIXMAP_SCANOUT on shared pixmap
While running multi-display test(for both APUs and DGPUs), if
the screen setting mode is changed from "single mode" to "share mode",
the screen shows tiled distortion, due to wrongly created pixmap.
This is a regression.

Fixes: 0732f81a2c ("glamor: Make pixmap scanout compatible if its dimensions are")
Closes: https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/48

Acked-by: Shashank Sharma <shashank.sharma@amd.com>
Signed-off-by: Jesse Zhang <jesse.zhang@amd.com>
Signed-off-by: Shashank Sharma <shashank.sharma@amd.com>
2022-02-16 16:21:21 +01:00
Alan Coopersmith
8bc148f0c1 Fix spelling/wording issues
Found by using:
    codespell --builtin clear,rare,usage,informal,code,names

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-02-14 19:23:49 +00:00
Mario Kleiner
65c127366a Add option for non-vsynced flips for "secondary" outputs.
This is a straightforward port of a patch with the same name
"modesetting: Add option for non-vsynced flips for "secondary"
outputs." from X-Server master / X-Server 21.1. See server MR 742.
The description below is therefore identical to that X-Server commit:

Whenever an unredirected fullscreen window uses pageflipping for a
DRI3/Present PresentPixmap() operation and the X-Screen has more than
one active output, multiple crtc's need to execute pageflips. Only
after the last flip has completed can the PresentPixmap operation
as a whole complete.

If a sync_flip is requested for the present, then the current
implementation will synchronize each pageflip to the vblank of
its associated crtc. This provides tear-free image presentation
across all outputs, but introduces a different artifact, if not
all outputs run at the same refresh rate with perfect synchrony:
The slowest output throttles the presentation rate, and present
completion is delayed to flip completion of the "latest" output
to complete. This means degraded performance, e.g., a dual-display
setup with a 144 Hz monitor and a 60 Hz monitor will always be
throttled to at most 60 fps. It also means non-constant present
rate if refresh cycles drift against each other, creating complex
"beat patterns", tremors, stutters and periodic slowdowns - quite
irritating!

Such a scenario will be especially annoying if one uses multiple
outputs in "mirror mode" aka "clone mode". One output will usually
be the "production output" with the highest quality and fastest
display attached, whereas a secondary mirror output just has a
cheaper display for monitoring attached. Users care about perfect
and perfectly timed tear-free presentation on the "production output",
but cares less about quality on the secondary "mirror output". They
are willing to trade quality on secondary outputs away in exchange
for better presentation timing on the "production output".

One example use case for such production + monitoring displays are
neuroscience / medical science applications where one high quality
display device is used to present visual animations to test subjects
or patients in a fMRI scanner room (production display), whereas
an operator monitors the same visual animations from a control room
on a lower quality display. Presentation timing needs to be perfect,
and animations high-speed and tear-free for the production display,
whereas quality and timing don't matter for the monitoring display.

This commit gives users the option to choose such a trade-off as
opt-in:

It adds a new boolean option "AsyncFlipSecondaries" to the device section
of xorg.conf. If this option is specified as true, then DRI3 pageflip
behaviour changes as follows:

1. The "reference crtc" for a windows PresentPixmap operation does a
   vblank synced flip, or a DRM_MODE_PAGE_FLIP_ASYNC non-synchronized
   flip, as requested by the caller, just as in the past. Typically
   flips will be requested to be vblank synchronized for tear-free
   presentation. The "reference crtc" is the one chosen by the caller
   to drive presentation timing (as specified by PresentPixmap()'s
   "target_msc", "divisor", "remainder" parameters and implemented by
   vblank events) and to deliver Present completion timestamps (msc
   and ust) extracted from its pageflip completion event.

2. All other crtc's, which also page-flip in a multi-display configuration,
   will try to flip with DRM_MODE_PAGE_FLIP_ASYNC, ie. immediately and
   not synchronized to vblank. This allows the PresentPixmap operation
   to complete with little delay compared to a single-display present,
   especially if the different crtc's run at different video refresh
   rates or their refresh cycles are not perfectly synchronized, but
   drift against each other. The downside is potential tearing artifacts
   on all outputs apart from the one of the "reference crtc".

Successfully tested on a AMD gpu with single-display and dual-display
setups, and with single-X-Screen as well as dual-X-Screen "ZaphodHeads"
configurations.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
2022-01-25 03:59:15 +01:00
Dor Askayo
69365526d0 glamor: Set AMDGPU_CREATE_PIXMAP_SCANOUT on DRI2 and shared pixmaps
The scanout usage flag wasn't applied for DRI2 and shared pixmaps
in 0732f81a2c, resulting in GPU artifacts in some scenarios.

Fixes: 0732f81a2c ("glamor: Make pixmap scanout compatible if its
                      dimensions are")
Closes: https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/41
Signed-off-by: Dor Askayo <dor.askayo@gmail.com>
Signed-off-by: Michel Dänzer <mdaenzer@redhat.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
2021-08-27 14:36:03 +03:00
Alex Deucher
0d68a91dce Bump version for the 21.0.0 release
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
xf86-video-amdgpu-21.0.0
2021-07-30 09:02:46 -04:00
Michel Dänzer
aedbf47ffc Include xf86drm.h instead of sarea.h
Fixes build against current xorg-x11-server-devel from Fedora
34/35/rawhide.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2021-04-27 11:06:19 +02:00
Michel Dänzer
6ed4863444 Drop dri.h includes
Not needed anymore.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2021-02-02 12:45:54 +01:00
Likun Gao
6234a1b265 Fix drmmode_crtc_scanout_create logic
If crtc scanout create successfully, the function of
drmmode_crtc_scanout_create should return TURE.
This will fix the regression caused by commit: "Make
drmmode_crtc_scanout_create/destroy static" (442efe73), as it will
result to some function (such as drmmode_set_scanout_pixmap) go to wrong
code path and result to NULL pointer.
Fixes: 442efe73 ("Make drmmode_crtc_scanout_create/destroy static")

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
2020-12-14 11:06:07 +08:00
Michel Dänzer
6bd3dc6bd8 Check for AMDGPU_CREATE_PIXMAP_SCANOUT in amdgpu_glamor_create_pixmap
We must not call glamor_create_pixmap or fbCreatePixmap when it's set.

Closes: https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/21
2020-08-28 10:50:50 +02:00
Michel Dänzer
2202cdfb0a Replace a few more instances of "master"
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2020-07-17 12:46:42 +02:00
Michel Dänzer
0d1d479ecc Fix build against ABI_VIDEODRV_VERSION 25.2
Use primary/secondary instead of master/slave where applicable.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2020-07-10 11:13:21 +02:00
Michel Dänzer
442efe73dd Make drmmode_crtc_scanout_create/destroy static
And the latter inline.
2020-05-27 15:41:22 +00:00
Michel Dänzer
99f3c82e94 Drop struct drmmode_scanout altogether in favour of PixmapPtrs 2020-05-27 15:41:22 +00:00
Michel Dänzer
cfce4b3e6b Drop bo/width/height members from struct drmmode_scanout
The pixmap is all we really need.
2020-05-27 15:41:22 +00:00
Niclas Zeising
680b9a2976 Fix return value check of drmIoctl()
When the drmModeSetCursor2() call was replaced with bare drmIoctl() call in
b344e155, a bug was introduced.  With the use of drmModeSetCursor2(),
the return value from drmIoctl() (which calls ioctl()) were mangled, if
they were negative, they were replaced by -errno by a wrapper function
in xf86drMode.c in libdrm.  After replacing drmModeSetCursor2() with the
call to drmIoctl(), this mangling no longer happens, and we need to
explicitly check if the call to drmIoctl() fails, which is indicated by
returning -1, and then why it failed, by checking errno.
If the error indicated by errno is EINVAL, then we can't use the
DRM_IOCTL_MODE_CURSOR2 ioctl(), and need to fall back to the
DRM_IOCTL_MODE_CURSOR ioctl().

This bug can manifest itself by an invisible hw cursor on systems where the
DRM_IOCTL_MODE_CURSOR2 is not implemented by the graphics driver.

Signed-off-by: Niclas Zeising <zeising@daemonic.se>
2020-05-27 15:36:44 +00:00
Peter Hutterer
e923642bae gitlab CI: update to use the latest CI templates
Repository was moved there from wayland/ci-templates, and let's update to the
most recent version..

No real functional changes, we're just making use of the various CI template
bits and bobs now, specifically the FDO_* variables and the
.fdo.container-build and .fdo.distribution-image templates.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2020-05-27 14:31:57 +10:00
Michel Dänzer
0732f81a2c glamor: Make pixmap scanout compatible if its dimensions are
Namely, if its dimensions match those of the screen pixmap (enough that
it could stand in for it). When that's the case, the pixmap may end up
being scanned out directly due to page flipping via the Present
extension, e.g. with xfwm4 --vblank=xpresent .

v2:
* Use AMDGPU_CREATE_PIXMAP_SCANOUT instead of second-guessing in
  amdgpu_alloc_pixmap_bo, fixes corruption when resizing from smaller
  to larger virtual size via RandR.

Closes: https://gitlab.freedesktop.org/xorg/driver/xf86-video-amdgpu/-/issues/10
2020-04-21 10:54:47 +02:00
Michel Dänzer
cb27a5b112 Handle NULL fb_ptr in pixmap_get_fb
This can happen when HW acceleration is disabled.

Fixes https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/issues/188
(ported from radeon commit 4d84cf438e7f1bebf0053035ef0292e9fed257d1)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2020-03-18 17:47:15 +01:00
Michel Dänzer
e2cd67abb4 Bail from amdgpu_pixmap_get_handle with ShadowFB
There's no pixmap private in that case. The callers handle this
gracefully.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2020-03-16 17:44:36 +01:00
Emil Velikov
42a3148ae1 Factor out common code to amdgpu_probe()
Keep the distinct pci/platform screen management in the separate probe
entry point and fold the rest into a single function.

v2: Rebase

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
2020-03-16 14:25:40 +00:00
Emil Velikov
eeaaf37085 Introduce amdgpu_device_setup helper
It folds the device specifics (open fd, device init) into a single
place.

v2:
 - Rebase
 - Pass pAMDGPUEnt to amdgpu_device_setup (Michel)

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
2020-03-16 14:25:37 +00:00
Emil Velikov
1c9742e304 Kill off drmOpen/Close/drmSetInterfaceVersion in favour of drmDevices
The former has very subtle semantics (see the implementation in libdrm
for details) which were required in the UMS days.

With drmDevices around, we have enough information to build our
heuristics and avoid drmOpen all together.

In the odd case drmGetDevices2() can take a few extra cycles, so use a
reasonably sized local array.

v2:
 - Rebase
 - Rework now that amdgpu_kernel_mode_enabled() is staying
 - Keep amdgpu_bus_id()
 - Use local drmDevice array.

v3:
 - Correct error handling (Michel)
 - Preserve the "am I master" check (Michel)
 - Always initialise the fd variable

v4:
 - Don't print "-1" on drmGetDevices2 failure (Michel)
 - Use uppercase DRM (Michel)

v5:
 - Rebase on top of amdgpu_bus_id() rework
 - Pass both pci and platform dev to amdgpu_kernel_open_fd() (Michel)
 - Indent local_drmIsMaster() with tabs (Michel)

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
2020-03-16 14:25:26 +00:00
Emil Velikov
2dd730784e Use the device_id straight from gpu_info
This way we can remove the PciInfo and Chipset from the AMDGPUInfoRec.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
2020-03-16 14:25:23 +00:00
Emil Velikov
655b3c55b9 Reuse the existing busid string
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
2020-03-16 14:25:19 +00:00