projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec0582c
)
drm/crc: Actually allow to change the crc source
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 21 Aug 2019 20:38:35 +0000
(22:38 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 28 Jan 2020 15:49:22 +0000
(16:49 +0100)
Oops.
Fixes:
9edbf1fa600a
("drm: Add API for capturing frame CRCs")
Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Cc: Emil Velikov <emil.velikov@collabora.com>
Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20190821203835.18314-1-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_debugfs_crc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_debugfs_crc.c
b/drivers/gpu/drm/drm_debugfs_crc.c
index
e22b812
..
5d67a41
100644
(file)
--- a/
drivers/gpu/drm/drm_debugfs_crc.c
+++ b/
drivers/gpu/drm/drm_debugfs_crc.c
@@
-372,7
+372,7
@@
void drm_debugfs_crtc_crc_add(struct drm_crtc *crtc)
crc_ent = debugfs_create_dir("crc", crtc->debugfs_entry);
- debugfs_create_file("control", S_IRUGO, crc_ent, crtc,
+ debugfs_create_file("control", S_IRUGO
| S_IWUSR
, crc_ent, crtc,
&drm_crtc_crc_control_fops);
debugfs_create_file("data", S_IRUGO, crc_ent, crtc,
&drm_crtc_crc_data_fops);