mirror of https://gitee.com/openkylin/linux.git
drm/crc: Actually allow to change the crc source
Oops.
Fixes: 9edbf1fa60
("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
This commit is contained in:
parent
ec0582ca89
commit
3cb6d8e5cf
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue