openwrt/target/linux/bcm27xx/patches-6.6/950-1451-Revert-drm-vc4-hvs-Don-t-write-gamma-luts-on-2711.patch

23 lines
726 B
Diff
Raw Normal View History

From 448a2db3990534810b45d3e4202df96ab2dc5815 Mon Sep 17 00:00:00 2001
From: Dom Cobley <popcornmix@gmail.com>
Date: Tue, 10 Dec 2024 15:28:28 +0000
Subject: [PATCH] Revert "drm/vc4: hvs: Don't write gamma luts on 2711"
This reverts commit 40c77e93cfdda320f47fc1a00a76ce466d20e976.
---
drivers/gpu/drm/vc4/vc4_hvs.c | 3 ---
1 file changed, 3 deletions(-)
--- a/drivers/gpu/drm/vc4/vc4_hvs.c
+++ b/drivers/gpu/drm/vc4/vc4_hvs.c
@@ -521,9 +521,6 @@ static void vc4_hvs_lut_load(struct vc4_
if (!drm_dev_enter(drm, &idx))
return;
- if (hvs->vc4->gen == VC4_GEN_5)
- return;
-
/* The LUT memory is laid out with each HVS channel in order,
* each of which takes 256 writes for R, 256 for G, then 256
* for B.