diff options
author | Dave Stevenson <[email protected]> | 2024-10-08 17:44:36 +0100 |
---|---|---|
committer | Dave Stevenson <[email protected]> | 2024-10-09 12:11:03 +0100 |
commit | 42aa18d1c3e7762bcebd89a5857ed7774e669d92 (patch) | |
tree | 34e2714b96afdebaa1502b651865c665971c3103 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 6b0bd1b02ea24b10522c92b2503981970b26d1a2 (diff) |
drm/vc4: Correct generation check in vc4_hvs_lut_load
Commit 24c5ed3ddf27 ("drm/vc4: Introduce generation number enum")
incorrectly swapped a check of hvs->vc4->is_vc5 to
hvs->vc4->gen == VC4_GEN_4 in vc4_hvs_lut_load, hence breaking
loading the gamma look up table on Pi0-3.
Correct that conditional.
Fixes: 24c5ed3ddf27 ("drm/vc4: Introduce generation number enum")
Reported-by: Marek Szyprowski <[email protected]>
Closes: https://lore.kernel.org/dri-devel/[email protected]/
Tested-by: Marek Szyprowski <[email protected]>
Reviewed-by: MaĆra Canal <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Dave Stevenson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions