mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
7d7aa2fd92
This change makes the names of Broadcom targets consistent by using the common notation based on SoC/CPU ID (which is used internally anyway), bcmXXXX instead of brcmXXXX. This is even used for target TITLE in make menuconfig already, only the short target name used brcm so far. Despite, since subtargets range from bcm2708 to bcm2711, it seems appropriate to use bcm27xx instead of bcm2708 (again, as already done for BOARDNAME). This also renames the packages brcm2708-userland and brcm2708-gpu-fw. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Acked-by: Álvaro Fernández Rojas <noltari@gmail.com>
29 lines
1002 B
Diff
29 lines
1002 B
Diff
From dd5fa07672eb01a4d90dfa39a4c54eaa0e086386 Mon Sep 17 00:00:00 2001
|
|
From: Eric Anholt <eric@anholt.net>
|
|
Date: Mon, 5 Feb 2018 18:53:18 +0000
|
|
Subject: [PATCH] drm/vc4: Don't wait for vblank on fkms cursor
|
|
updates.
|
|
|
|
We don't use the same async update path between fkms and normal kms,
|
|
and the normal kms workaround ended up making us wait. This became a
|
|
larger problem in rpi-4.14.y, as the USB HID update rate throttling
|
|
got (accidentally?) dropped.
|
|
|
|
Signed-off-by: Eric Anholt <eric@anholt.net>
|
|
---
|
|
drivers/gpu/drm/vc4/vc4_kms.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
--- a/drivers/gpu/drm/vc4/vc4_kms.c
|
|
+++ b/drivers/gpu/drm/vc4/vc4_kms.c
|
|
@@ -222,7 +222,8 @@ static int vc4_atomic_commit(struct drm_
|
|
* drm_atomic_helper_setup_commit() from auto-completing
|
|
* commit->flip_done.
|
|
*/
|
|
- state->legacy_cursor_update = false;
|
|
+ if (!vc4->firmware_kms)
|
|
+ state->legacy_cursor_update = false;
|
|
ret = drm_atomic_helper_setup_commit(state, nonblock);
|
|
if (ret)
|
|
return ret;
|