diff options
| author | Geert Uytterhoeven <[email protected]> | 2023-07-17 15:25:40 +0200 |
|---|---|---|
| committer | Javier Martinez Canillas <[email protected]> | 2023-07-29 21:13:51 +0200 |
| commit | 5f0d984053f74983a287100a9519b2fabb785fb5 (patch) | |
| tree | 0d3c0d7b9171bf8780a0d6c4af03e151c66fc45f /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | c9155a3c31400afacd294c3f6c2458d4150c4fa0 (diff) | |
drm/armada: Fix off-by-one error in armada_overlay_get_property()
As ffs() returns one more than the index of the first bit set (zero
means no bits set), the color key mode value is shifted one position too
much.
Fix this by using FIELD_GET() instead.
Fixes: c96103b6c49ff9a8 ("drm/armada: move colorkey properties into overlay plane state")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Russell King (Oracle) <[email protected]>
Signed-off-by: Javier Martinez Canillas <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/a4d779d954a7515ddbbf31cb0f0d8184c0e7c879.1689600265.git.geert+renesas@glider.be
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions