aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-06-15 10:18:02 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-07-15 16:45:29 +0100
commit73068ce3b5d85780466ecab1bf2459dbd660c1c8 (patch)
tree681e4612bc4b47ec823a0b27d47788a7b83939f7 /tools/perf/scripts/python/export-to-postgresql.py
parentdrm/armada: convert overlay to use drm_plane_helper_check_update() (diff)
downloadwireguard-linux-73068ce3b5d85780466ecab1bf2459dbd660c1c8.tar.xz
wireguard-linux-73068ce3b5d85780466ecab1bf2459dbd660c1c8.zip
drm/armada: fix overlay when partially off-screen
Fix the start address calculation when overlay is partially off screen. fb->bits_per_pixel is not set for YUV formats, and is always zero, which led to the first component always starting at zero. Use drm_format_plane_cpp() instead. This also revealed a problem in that YUYV formats toggle the U/V data for odd pixel start address offsets. We try to rectify that by toggling the U/V swap, which for the most part works, but seemingly introduces a flicker for one scan frame of swapped U/V. However, these changes result in an overall improvement. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions