diff options
author | Hans de Goede <hdegoede@redhat.com> | 2019-10-10 19:28:17 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-10-15 22:49:07 +0300 |
commit | 402c60d7b076548511a95330fefdcca9523901c7 (patch) | |
tree | 546f2125575888a5e0b950b731590f092952a0a8 /drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h | |
parent | 44e149bb1ea2abfd09540d3f57f15495b42b5ce4 (diff) | |
download | linux-402c60d7b076548511a95330fefdcca9523901c7.tar.xz |
drm/amdgpu: Bail earlier when amdgpu.cik_/si_support is not set to 1
Bail from the pci_driver probe function instead of from the drm_driver
load function.
This avoid /dev/dri/card0 temporarily getting registered and then
unregistered again, sending unwanted add / remove udev events to
userspace.
Specifically this avoids triggering the (userspace) bug fixed by this
plymouth merge-request:
https://gitlab.freedesktop.org/plymouth/plymouth/merge_requests/59
Note that despite that being a userspace bug, not sending unnecessary
udev events is a good idea in general.
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1490490
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h')
0 files changed, 0 insertions, 0 deletions