Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/tidss: Remove ftrace-like logs

These logs don't really log any information and create checkpatch
warnings. Remove them.

Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20250902-drm-state-readout-v1-19-14ad5315da3f@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20250902-drm-state-readout-v1-19-14ad5315da3f@kernel.org

-38
-6
drivers/gpu/drm/tidss/tidss_crtc.c
··· 94 94 struct drm_display_mode *mode; 95 95 enum drm_mode_status ok; 96 96 97 - dev_dbg(ddev->dev, "%s\n", __func__); 98 - 99 97 if (!crtc_state->enable) 100 98 return 0; 101 99 ··· 326 328 struct drm_device *ddev = crtc->dev; 327 329 struct tidss_device *tidss = to_tidss(ddev); 328 330 329 - dev_dbg(ddev->dev, "%s\n", __func__); 330 - 331 331 tidss_runtime_get(tidss); 332 332 333 333 tidss_irq_enable_vblank(crtc); ··· 337 341 { 338 342 struct drm_device *ddev = crtc->dev; 339 343 struct tidss_device *tidss = to_tidss(ddev); 340 - 341 - dev_dbg(ddev->dev, "%s\n", __func__); 342 344 343 345 tidss_irq_disable_vblank(crtc); 344 346
-4
drivers/gpu/drm/tidss/tidss_dispc.c
··· 2851 2851 2852 2852 void dispc_remove(struct tidss_device *tidss) 2853 2853 { 2854 - dev_dbg(tidss->dev, "%s\n", __func__); 2855 - 2856 2854 tidss->dispc = NULL; 2857 2855 } 2858 2856 ··· 2991 2993 const struct dispc_features *feat; 2992 2994 unsigned int i, num_fourccs; 2993 2995 int r = 0; 2994 - 2995 - dev_dbg(dev, "%s\n", __func__); 2996 2996 2997 2997 feat = tidss->feat; 2998 2998
-16
drivers/gpu/drm/tidss/tidss_drv.c
··· 33 33 { 34 34 int r; 35 35 36 - dev_dbg(tidss->dev, "%s\n", __func__); 37 - 38 36 r = pm_runtime_resume_and_get(tidss->dev); 39 37 WARN_ON(r < 0); 40 38 return r; ··· 41 43 void tidss_runtime_put(struct tidss_device *tidss) 42 44 { 43 45 int r; 44 - 45 - dev_dbg(tidss->dev, "%s\n", __func__); 46 46 47 47 pm_runtime_mark_last_busy(tidss->dev); 48 48 ··· 52 56 { 53 57 struct tidss_device *tidss = dev_get_drvdata(dev); 54 58 55 - dev_dbg(dev, "%s\n", __func__); 56 - 57 59 return dispc_runtime_suspend(tidss->dispc); 58 60 } 59 61 ··· 59 65 { 60 66 struct tidss_device *tidss = dev_get_drvdata(dev); 61 67 int r; 62 - 63 - dev_dbg(dev, "%s\n", __func__); 64 68 65 69 r = dispc_runtime_resume(tidss->dispc); 66 70 if (r) ··· 71 79 { 72 80 struct tidss_device *tidss = dev_get_drvdata(dev); 73 81 74 - dev_dbg(dev, "%s\n", __func__); 75 - 76 82 return drm_mode_config_helper_suspend(&tidss->ddev); 77 83 } 78 84 79 85 static int __maybe_unused tidss_resume(struct device *dev) 80 86 { 81 87 struct tidss_device *tidss = dev_get_drvdata(dev); 82 - 83 - dev_dbg(dev, "%s\n", __func__); 84 88 85 89 return drm_mode_config_helper_resume(&tidss->ddev); 86 90 } ··· 114 126 struct drm_device *ddev; 115 127 int ret; 116 128 int irq; 117 - 118 - dev_dbg(dev, "%s\n", __func__); 119 129 120 130 tidss = devm_drm_dev_alloc(&pdev->dev, &tidss_driver, 121 131 struct tidss_device, ddev); ··· 213 227 struct device *dev = &pdev->dev; 214 228 struct tidss_device *tidss = platform_get_drvdata(pdev); 215 229 struct drm_device *ddev = &tidss->ddev; 216 - 217 - dev_dbg(dev, "%s\n", __func__); 218 230 219 231 drm_dev_unregister(ddev); 220 232
-4
drivers/gpu/drm/tidss/tidss_kms.c
··· 24 24 struct drm_device *ddev = old_state->dev; 25 25 struct tidss_device *tidss = to_tidss(ddev); 26 26 27 - dev_dbg(ddev->dev, "%s\n", __func__); 28 - 29 27 tidss_runtime_get(tidss); 30 28 31 29 drm_atomic_helper_commit_modeset_disables(ddev, old_state); ··· 242 244 { 243 245 struct drm_device *ddev = &tidss->ddev; 244 246 int ret; 245 - 246 - dev_dbg(tidss->dev, "%s\n", __func__); 247 247 248 248 ret = drmm_mode_config_init(ddev); 249 249 if (ret)
-8
drivers/gpu/drm/tidss/tidss_plane.c
··· 42 42 u32 hw_videoport; 43 43 int ret; 44 44 45 - dev_dbg(ddev->dev, "%s\n", __func__); 46 - 47 45 if (!new_plane_state->crtc) { 48 46 /* 49 47 * The visible field is not reset by the DRM core but only ··· 122 124 plane); 123 125 u32 hw_videoport; 124 126 125 - dev_dbg(ddev->dev, "%s\n", __func__); 126 - 127 127 if (!new_state->visible) { 128 128 dispc_plane_enable(tidss->dispc, tplane->hw_plane_id, false); 129 129 return; ··· 139 143 struct tidss_device *tidss = to_tidss(ddev); 140 144 struct tidss_plane *tplane = to_tidss_plane(plane); 141 145 142 - dev_dbg(ddev->dev, "%s\n", __func__); 143 - 144 146 dispc_plane_enable(tidss->dispc, tplane->hw_plane_id, true); 145 147 } 146 148 ··· 148 154 struct drm_device *ddev = plane->dev; 149 155 struct tidss_device *tidss = to_tidss(ddev); 150 156 struct tidss_plane *tplane = to_tidss_plane(plane); 151 - 152 - dev_dbg(ddev->dev, "%s\n", __func__); 153 157 154 158 dispc_plane_enable(tidss->dispc, tplane->hw_plane_id, false); 155 159 }