Skip to content

Add a drm.disable_native_drivers command line option

Javier Martinez Canillas dri-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 1 replyIn review

Changes in v2 from the cover letter

- Rename command line parameter to drm.disable_native_drivers.
- Return -EBUSY instead of -EINVAL when the function fails.
- Invert the parameter logic and make it false by default.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/aperture: Move conflicting fbdev frame buffer removal to a helperdrivers/gpu/drm/drm_aperture.c+26 -131 reply
2/2drm/aperture: Prevent conflicting framebuffers removal if option is setdrivers/gpu/drm/drm_aperture.c+17 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchThomas Zimmermann
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Add a drm.disable_native_drivers command line option

This patch-series add a drm.disable_native_drivers option that can be used to prevent native DRM drivers to be probed. That way, the simpledrm driver won't be removed which can be useful to troubleshoot DRM drivers problems.

Patch #1 is just a small preparatory patch that moves the logic to remove the conflicting fbdev frame buffer to a helper function.

Patch #2 adds the new kernel command line option and if set, prevents the drm_aperture_remove_conflicting_framebuffers() function to succeed.

This is a v2 that addresses the issues pointed out by Thomas and Neal.

Best regards,
Javier

Changes in v2:
- Rename command line parameter to drm.disable_native_drivers.
- Return -EBUSY instead of -EINVAL when the function fails.
- Invert the parameter logic and make it false by default.

Javier Martinez Canillas (2):
drm/aperture: Move conflicting fbdev frame buffer removal to a helper drm/aperture: Prevent conflicting framebuffers removal if option is
set

 drivers/gpu/drm/drm_aperture.c | 54 ++++++++++++++++++++++++++--------
 1 file changed, 42 insertions(+), 12 deletions(-)
Signature · 1 line
2.31.1