aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/udl/udl_connector.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2022-05-16 13:43:43 +0000
committerThomas Zimmermann <[email protected]>2022-05-17 18:24:44 +0000
commit475e2b970cc372f49e9d3e4bbead8b4874299d31 (patch)
tree984559124c46fdeb30732f19895a0cb3f497f9d9 /drivers/gpu/drm/udl/udl_connector.c
parentdrm/mgag200: Test memory requirements in drm_mode_config_funcs.mode_valid (diff)
downloadkernel-475e2b970cc372f49e9d3e4bbead8b4874299d31.tar.gz
kernel-475e2b970cc372f49e9d3e4bbead8b4874299d31.zip
drm/mgag200: Split up connector's mode_valid helper
Split up the connector's mode_valid helper into a simple-pipe and a mode-config helper. The simple-pipe helper tests for display-size limits while the mode-config helper tests for memory-bandwidth limits. Also add the mgag200_ prefix to mga_vga_calculate_mode_bandwidth() and comment on the function's purpose. The memory-bandwidth tests assume that the display uses 4 bytes per pixel. The first models of G200SE-A only had 1.75 MiB of VRAM, which limits these devices to 640x480-32. v2: * note the memory constraints on early G200SE-A Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Jocelyn Falempe <[email protected]> Tested-by: Jocelyn Falempe <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/udl/udl_connector.c')
0 files changed, 0 insertions, 0 deletions