aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2022-07-08 20:20:52 +0200
committerSam Ravnborg <[email protected]>2022-07-09 15:08:16 +0200
commit0a2486f85e0cfa6439116abb9078ab888a619746 (patch)
treedf47e72a5a31a96ce0e032144d596ff3f2b7955b /tools/perf/scripts/python/bin
parentba71593217b5b03c9e3385b268ff8613a71fc6ce (diff)
drm/gem-fb-helper: Use actual bpp for size calculations
The AFBC helpers derive the number of bits per pixel 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/b1d938d903157627c4ac101df92a1f3bf8ebe83d.1657294931.git.geert@linux-m68k.org
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions