aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2022-07-08 20:20:49 +0200
committerSam Ravnborg <[email protected]>2022-07-09 15:01:20 +0200
commit4c59b0805e9bf873fd3f5dca4fc53d8c220e39b4 (patch)
tree8b645c575991a66c7234e08b58e0d059b8af4950 /tools/perf/scripts/python/bin
parent356d2c8e76ebb1134a0685ce4b923d8201337475 (diff)
drm/framebuffer: Use actual bpp for DRM_IOCTL_MODE_GETFB
When userspace queries the properties of a frame buffer, the number of bits per pixel is derived from the deprecated drm_format_info.cpp[] field, which does not take into account block sizes. Fix this by using the actual number of bits per pixel instead. Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/b612780feef200b7f914a674db28ed227e7cdc64.1657294931.git.geert@linux-m68k.org
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions