[PATCH 2/2] drm/amdgpu: Add modeset module option

Dave Airlie airlied at gmail.com
Wed Sep 25 08:07:38 UTC 2019


On Sat, 31 Mar 2018 at 06:45, Takashi Iwai <tiwai at suse.de> wrote:
>
> amdgpu driver lacks of modeset module option other drm drivers provide
> for enforcing or disabling the driver load.  Interestingly, the
> amdgpu_mode variable declaration is already found in the header file,
> but the actual implementation seems to have been forgotten.
>
> This patch adds the missing piece.

I'd like to land this patch, I realise people have NAKed it but for
consistency across drivers I'm going to ask we land it or something
like it.

The main use case for this is actually where you have amdgpu crashes
on load, and you want to debug them, people boot with nomodeset and
then modprobe amdgpu modeset=1 to get the crash in a running system.
This works for numerous other drivers, I'm not sure why amdgpu needs
to be the odd one out.

Reviewed-by: Dave Airlie <airlied at redhat.com>

Dave.


More information about the dri-devel mailing list