diff options
| author | Maxime Ripard <[email protected]> | 2019-08-27 11:58:49 +0000 |
|---|---|---|
| committer | Maxime Ripard <[email protected]> | 2019-08-30 08:21:21 +0000 |
| commit | 3764137906a5acece8b5546873a70b1e6263a1a6 (patch) | |
| tree | 87bfe0d9fb91eb740a11cd2a3180687e78719a35 /drivers/gpu/drm/lima/lima_gem.c | |
| parent | drm/modes: Fix the command line parser to take force options into account (diff) | |
| download | kernel-3764137906a5acece8b5546873a70b1e6263a1a6.tar.gz kernel-3764137906a5acece8b5546873a70b1e6263a1a6.zip | |
drm/modes: Introduce a whitelist for the named modes
The named modes support has introduced a number of glitches that were in
part due to the fact that the parser will take any string as a named mode.
Since we shouldn't have a lot of options there (and they should be pretty
standard), let's introduce a whitelist of the available named modes so that
the kernel can differentiate between a poorly formed command line and a
named mode.
Signed-off-by: Maxime Ripard <[email protected]>
Tested-by: Thomas Graichen <[email protected]>
Reviewed-by: Jernej Skrabec <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions
