bianbu-linux-6.6/drivers/gpu/drm/amd
Hans de Goede 402c60d7b0 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>
2019-10-15 15:49:07 -04:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu: Bail earlier when amdgpu.cik_/si_support is not set to 1 2019-10-15 15:49:07 -04:00
amdkfd drm/amdkfd: update for drmP.h removal 2019-10-09 12:04:48 -05:00
display drm/amdgpu/display: clean up dcn2*_pp_smu functions 2019-10-15 15:49:01 -04:00
include drm/amdgpu/discovery: reserve discovery data at the top of VRAM 2019-10-15 15:48:46 -04:00
powerplay drm/amd/powerplay: re-enable FW_DSTATE feature bit 2019-10-15 15:48:55 -04:00