diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2022-05-16 15:43:42 +0200 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2022-05-17 20:24:10 +0200 |
| commit | 69340e529a064da4807622395e967aa2b5eba1c5 (patch) | |
| tree | f662519f97b907c2cc9e2b6a85a0d3d935e2f9b8 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | drm/mgag200: Remove struct mga_connector (diff) | |
| download | linux-69340e529a064da4807622395e967aa2b5eba1c5.tar.gz linux-69340e529a064da4807622395e967aa2b5eba1c5.zip | |
drm/mgag200: Test memory requirements in drm_mode_config_funcs.mode_valid
Test for a mode's memory requirements in the device-wide mode_valid
helper. For simplicify, always assume a 32-bit color format. While
some rejected modes would work with less colors, implementing this
is probably not worth the effort.
Also remove the memory-related test from the connector's mode_valid
helper. The test uses the bpp value that users can specify on the
kernel's command line. This value is unrelated and the test would
belong into atomic_check.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Tested-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220516134343.6085-7-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
