diff options
| author | Daniel Vetter <[email protected]> | 2020-12-11 17:11:12 +0100 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2020-12-11 17:16:55 +0100 |
| commit | 23d4e55f7eeb9dadfd03d16ffb24384b49c46c0d (patch) | |
| tree | 0659e10c1993c58e55a9afb3e4b8a89635859ce0 /tools/perf/scripts/python | |
| parent | 26e08a6da54c575c69a113ab0c41c2890c0d613d (diff) | |
drm/vkms: Unset preferred_depth
There's a confusion between the preferred_depth uapi and the generic
fbdev helpers. Former wants depth, latter wants bpp, and for XRGB8888
they don't match. Which hit me with vkms, which wants that.
All other drivers setting this and using the generic fbdev helpers use
16, where both numbers match, for RGB565.
Since fixing this is a bit involved (I think for atomic drivers we
should just compute this all internally from the format list of the
first primary plane) paper over the issue in vkms by using defaults
everywhere. Then userspace will pick XRGB8888, and fbdev helpers will
do the same, and we have what we want.
Reported-by: Simon Ser <[email protected]>
Reviewed-by: Simon Ser <[email protected]>
Cc: Simon Ser <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Cc: Rodrigo Siqueira <[email protected]>
Cc: Melissa Wen <[email protected]>
Cc: Haneen Mohammed <[email protected]>
Cc: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions