aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_syncobj.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2019-06-07 19:26:09 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2021-04-01 20:29:16 +0300
commit19a9a0efe6391c296cba50df3797f0b167facc96 (patch)
tree549b6d2b1b88444d05f84fcb31328df93ca9534e /drivers/gpu/drm/drm_syncobj.c
parentdrivers: gpu: drm: bridge: fix kconfig dependency on DRM_KMS_HELPER (diff)
downloadlinux-rng-19a9a0efe6391c296cba50df3797f0b167facc96.tar.xz
linux-rng-19a9a0efe6391c296cba50df3797f0b167facc96.zip
drm: Refuse to create zero width/height cmdline modes
If the user specifies zero width/height cmdline mode i915 will blow up as the fbdev path will bypass the regular fb sanity check that would otherwise have refused to create a framebuffer with zero width/height. The reason I thought to try this is so that I can force a specific depth for fbdev without actually having to hardcode the mode on the kernel cmdline. Eg. if I pass video=0x0-8 I will get an 8bpp framebuffer at my monitor's native resolution. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190607162611.23514-2-ville.syrjala@linux.intel.com Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/drm_syncobj.c')
0 files changed, 0 insertions, 0 deletions