mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 01:28:59 +00:00
8c405cdccc
The patches were generated from the RPi repo with the following command: git format-patch v6.6.34..rpi-6.1.y Some patches needed rebasing and, as usual, the applied and reverted, wireless drivers, Github workflows, READMEs and defconfigs patches were removed. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
46 lines
1.7 KiB
Diff
46 lines
1.7 KiB
Diff
From 182f9c510f98a2cefec44762a35cd5c00fd98709 Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Tue, 2 Jan 2024 19:32:25 +0000
|
|
Subject: [PATCH 0811/1085] drm/vc4: Fixup of patches adding debugfs functions
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
drivers/gpu/drm/vc4/vc4_hvs.c | 12 ++++++------
|
|
1 file changed, 6 insertions(+), 6 deletions(-)
|
|
|
|
--- a/drivers/gpu/drm/vc4/vc4_hvs.c
|
|
+++ b/drivers/gpu/drm/vc4/vc4_hvs.c
|
|
@@ -221,8 +221,8 @@ static int vc4_hvs_debugfs_dlist(struct
|
|
|
|
static int vc6_hvs_debugfs_dlist(struct seq_file *m, void *data)
|
|
{
|
|
- struct drm_info_node *node = m->private;
|
|
- struct drm_device *dev = node->minor->dev;
|
|
+ struct drm_debugfs_entry *entry = m->private;
|
|
+ struct drm_device *dev = entry->dev;
|
|
struct vc4_dev *vc4 = to_vc4_dev(dev);
|
|
struct vc4_hvs *hvs = vc4->hvs;
|
|
struct drm_printer p = drm_seq_file_printer(m);
|
|
@@ -270,8 +270,8 @@ static int vc6_hvs_debugfs_dlist(struct
|
|
|
|
static int vc5_hvs_debugfs_gamma(struct seq_file *m, void *data)
|
|
{
|
|
- struct drm_info_node *node = m->private;
|
|
- struct drm_device *dev = node->minor->dev;
|
|
+ struct drm_debugfs_entry *entry = m->private;
|
|
+ struct drm_device *dev = entry->dev;
|
|
struct vc4_dev *vc4 = to_vc4_dev(dev);
|
|
struct vc4_hvs *hvs = vc4->hvs;
|
|
struct drm_printer p = drm_seq_file_printer(m);
|
|
@@ -349,8 +349,8 @@ static int vc5_hvs_debugfs_gamma(struct
|
|
|
|
static int vc4_hvs_debugfs_dlist_allocs(struct seq_file *m, void *data)
|
|
{
|
|
- struct drm_info_node *node = m->private;
|
|
- struct drm_device *dev = node->minor->dev;
|
|
+ struct drm_debugfs_entry *entry = m->private;
|
|
+ struct drm_device *dev = entry->dev;
|
|
struct vc4_dev *vc4 = to_vc4_dev(dev);
|
|
struct vc4_hvs *hvs = vc4->hvs;
|
|
struct drm_printer p = drm_seq_file_printer(m);
|