mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
f07e572f64
bcm2708: boot tested on RPi B+ v1.2 bcm2709: boot tested on RPi 3B v1.2 and RPi 4B v1.1 4G bcm2710: boot tested on RPi 3B v1.2 bcm2711: boot tested on RPi 4B v1.1 4G Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
29 lines
990 B
Diff
29 lines
990 B
Diff
From 82551f68e9f9dea1f22d9cdfdf361bf054f6900c Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.org>
|
|
Date: Fri, 7 Jun 2019 11:31:21 +0100
|
|
Subject: [PATCH] drm/vc4: Fix T-format modifiers in FKMS.
|
|
|
|
The wrong vc_image formats were being checked for in the switch
|
|
statement. Correct these.
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
|
|
---
|
|
drivers/gpu/drm/vc4/vc4_firmware_kms.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
--- a/drivers/gpu/drm/vc4/vc4_firmware_kms.c
|
|
+++ b/drivers/gpu/drm/vc4/vc4_firmware_kms.c
|
|
@@ -460,10 +460,10 @@ static void vc4_plane_atomic_update(stru
|
|
switch (fb->modifier) {
|
|
case DRM_FORMAT_MOD_BROADCOM_VC4_T_TILED:
|
|
switch (mb->plane.vc_image_type) {
|
|
- case VC_IMAGE_RGBX32:
|
|
+ case VC_IMAGE_XRGB8888:
|
|
mb->plane.vc_image_type = VC_IMAGE_TF_RGBX32;
|
|
break;
|
|
- case VC_IMAGE_RGBA32:
|
|
+ case VC_IMAGE_ARGB8888:
|
|
mb->plane.vc_image_type = VC_IMAGE_TF_RGBA32;
|
|
break;
|
|
case VC_IMAGE_RGB565:
|