summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2023-10-15 17:27:04 +0300
committerHamza Mahfooz <hamza.mahfooz@amd.com>2023-10-24 19:21:01 +0300
commit6ae2ff23aa43a0c421cf315c34b105bdfe317f63 (patch)
tree7ee256c0fb3ada1ea9b4ae7a3e8200e2f4557253 /tools/perf/scripts/python/export-to-postgresql.py
parentf70a6691751ce6af4d6d8f2273609ed330ee5ef9 (diff)
downloadlinux-6ae2ff23aa43a0c421cf315c34b105bdfe317f63.tar.xz
drm/client: Convert drm_client_buffer_addfb() to drm_mode_addfb2()
Currently drm_client_buffer_addfb() uses the legacy drm_mode_addfb(), which uses bpp and depth to guess the wanted buffer format. However, drm_client_buffer_addfb() already knows the exact buffer format, so there is no need to convert back and forth between buffer format and bpp/depth, and the function can just call drm_mode_addfb2() directly instead. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Tested-by: Javier Martinez Canillas <javierm@redhat.com> Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/4b84adfc686288714e69d0442d22f1259ff74903.1697379891.git.geert@linux-m68k.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions