linux_dsm_epyc7002/drivers/gpu/drm
Jani Nikula 5bdbddff31 drm/i915/dsi: use struct drm_device based logging
Convert all the DRM_* logging macros to the struct drm_device based
macros to provide device specific logging.

No functional changes.

Generated using the following semantic patch, originally written by
Wambui Karuga <wambui.karugax@gmail.com>, with manual fixups on top:

@@
identifier fn, T;
@@

fn(...,struct drm_i915_private *T,...) {
<+...
(
-DRM_INFO(
+drm_info(&T->drm,
...)
|
-DRM_NOTE(
+drm_notice(&T->drm,
...)
|
-DRM_ERROR(
+drm_err(&T->drm,
...)
|
-DRM_WARN(
+drm_warn(&T->drm,
...)
|
-DRM_DEBUG_DRIVER(
+drm_dbg(&T->drm,
...)
|
-DRM_DEBUG_KMS(
+drm_dbg_kms(&T->drm,
...)
|
-DRM_DEBUG_ATOMIC(
+drm_dbg_atomic(&T->drm,
...)
)
...+>
}

@@
identifier fn, T;
@@

fn(...) {
...
struct drm_i915_private *T = ...;
<+...
(
-DRM_INFO(
+drm_info(&T->drm,
...)
|
-DRM_NOTE(
+drm_notice(&T->drm,
...)
|
-DRM_ERROR(
+drm_err(&T->drm,
...)
|
-DRM_WARN(
+drm_warn(&T->drm,
...)
|
-DRM_DEBUG_DRIVER(
+drm_dbg(&T->drm,
...)
|
-DRM_DEBUG_KMS(
+drm_dbg_kms(&T->drm,
...)
|
-DRM_DEBUG_ATOMIC(
+drm_dbg_atomic(&T->drm,
...)
)
...+>
}

Cc: Wambui Karuga <wambui.karugax@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/3bc29cddbba9dea57f8f843be2a6b5e1f7358b5c.1584714939.git.jani.nikula@intel.com
2020-03-25 19:45:49 +02:00
..
amd drm-misc-next for 5.7: 2020-02-21 05:44:40 +10:00
arc
arm
armada
aspeed
ast
atmel-hlcdc
bochs drm/bochs: Clear struct drm_connector_funcs.dpms 2020-02-10 09:23:50 +01:00
bridge
cirrus
etnaviv
exynos
fsl-dcu
gma500
hisilicon drm-misc-next for 5.7: 2020-02-21 05:44:40 +10:00
i2c
i810
i915 drm/i915/dsi: use struct drm_device based logging 2020-03-25 19:45:49 +02:00
imx
ingenic
lib
lima drm-misc-next for 5.7: 2020-02-21 05:44:40 +10:00
mcde
mediatek
meson
mga
mgag200
msm drm-misc-next fixes for v5.6: 2020-02-14 12:57:57 +10:00
mxsfb
nouveau drm-misc-next for 5.7: 2020-02-21 05:44:40 +10:00
omapdrm
panel
panfrost drm-misc-next for 5.7: 2020-02-21 05:44:40 +10:00
pl111
qxl
r128
radeon drm-misc-next for 5.7: 2020-02-21 05:44:40 +10:00
rcar-du
rockchip drm-misc-next for 5.7: 2020-02-21 05:44:40 +10:00
savage
scheduler
selftests
shmobile
sis
sti
stm
sun4i Fixes for v5.6: 2020-02-14 12:53:00 +10:00
tdfx
tegra
tidss
tilcdc
tiny drm/tiny/st7735r: No need to set ->owner for spi_register_driver() 2020-02-10 02:54:47 +01:00
ttm drm-misc-next for 5.7: 2020-02-21 05:44:40 +10:00
tve200
udl drm/udl: Clear struct drm_connector_funcs.dpms 2020-02-10 09:24:09 +01:00
v3d
vboxvideo
vc4
vgem
via
virtio drm-misc-next for 5.7: 2020-02-21 05:44:40 +10:00
vkms
vmwgfx drm-misc-next for 5.7: 2020-02-21 05:44:40 +10:00
xen
zte
drm_agpsupport.c
drm_atomic_helper.c
drm_atomic_state_helper.c
drm_atomic_uapi.c
drm_atomic.c
drm_auth.c
drm_blend.c
drm_bridge.c
drm_bufs.c
drm_cache.c
drm_client_modeset.c
drm_client.c
drm_color_mgmt.c
drm_connector.c
drm_context.c
drm_crtc_helper_internal.h
drm_crtc_helper.c
drm_crtc_internal.h
drm_crtc.c
drm_damage_helper.c
drm_debugfs_crc.c
drm_debugfs.c
drm_dma.c
drm_dp_aux_dev.c
drm_dp_cec.c
drm_dp_dual_mode_helper.c
drm_dp_helper.c drm/i915/dp: Add dpcd link_rate quirk for Apple 15" MBP 2017 (v3) 2020-03-18 21:10:35 +02:00
drm_dp_mst_topology_internal.h
drm_dp_mst_topology.c drm/dp: Introduce EDID-based quirks 2020-03-03 20:34:31 -05:00
drm_drv.c
drm_dsc.c
drm_dumb_buffers.c
drm_edid_load.c
drm_edid.c
drm_encoder_slave.c
drm_encoder.c
drm_fb_cma_helper.c
drm_fb_helper.c
drm_file.c
drm_flip_work.c
drm_format_helper.c
drm_fourcc.c
drm_framebuffer.c
drm_gem_cma_helper.c
drm_gem_framebuffer_helper.c
drm_gem_shmem_helper.c
drm_gem_ttm_helper.c
drm_gem_vram_helper.c
drm_gem.c
drm_hashtab.c
drm_hdcp.c
drm_internal.h
drm_ioc32.c
drm_ioctl.c
drm_irq.c
drm_kms_helper_common.c
drm_lease.c
drm_legacy_misc.c
drm_legacy.h
drm_lock.c
drm_memory.c
drm_mipi_dbi.c
drm_mipi_dsi.c
drm_mm.c
drm_mode_config.c
drm_mode_object.c
drm_modes.c
drm_modeset_helper.c
drm_modeset_lock.c
drm_of.c
drm_panel_orientation_quirks.c
drm_panel.c
drm_pci.c
drm_plane_helper.c
drm_plane.c
drm_prime.c
drm_print.c
drm_probe_helper.c
drm_property.c
drm_rect.c
drm_scatter.c
drm_scdc_helper.c
drm_self_refresh_helper.c
drm_simple_kms_helper.c
drm_syncobj.c
drm_sysfs.c
drm_trace_points.c
drm_trace.h
drm_vblank.c
drm_vm.c
drm_vma_manager.c
drm_vram_helper_common.c
drm_writeback.c
Kconfig
Makefile