kernel_samsung_a53x/include/drm
Matthew Brost f39aaded93 drm/printer: Allow NULL data in devcoredump printer
[ Upstream commit 53369581dc0c68a5700ed51e1660f44c4b2bb524 ]

We want to determine the size of the devcoredump before writing it out.
To that end, we will run the devcoredump printer with NULL data to get
the size, alloc data based on the generated offset, then run the
devcorecump again with a valid data pointer to print.  This necessitates
not writing data to the data pointer on the initial pass, when it is
NULL.

v5:
 - Better commit message (Jonathan)
 - Add kerenl doc with examples (Jani)

Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240801154118.2547543-3-matthew.brost@intel.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:21:41 +01:00
..
bridge Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ttm Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amd_asic_type.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_agpsupport.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_atomic.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_atomic_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_atomic_state_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_atomic_uapi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_audio_component.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_auth.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_blend.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_bridge.h drm/bridge: Fix typo in post_disable() description 2024-11-18 12:12:39 +01:00
drm_bridge_connector.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_cache.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_client.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_color_mgmt.h drm: using mul_u32_u32() requires linux/math64.h 2024-11-18 12:13:21 +01:00
drm_connector.h drm/connector: Add support for out-of-band hotplug notification (v3) 2024-11-08 11:26:15 +01:00
drm_crtc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_crtc_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_damage_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_debugfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_debugfs_crc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_device.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_displayid.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_dp_dual_mode_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_dp_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_dp_mst_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_drv.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_dsc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_edid.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_encoder.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_encoder_slave.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_fb_cma_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_fb_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_file.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_fixed.h drm: Don't treat 0 as -1 in drm_fixp2int_ceil 2024-11-19 08:44:51 +01:00
drm_flip_work.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_format_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_fourcc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_framebuffer.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_gem.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_gem_cma_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_gem_framebuffer_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_gem_shmem_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_gem_ttm_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_gem_vram_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_hashtab.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_hdcp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_ioctl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_irq.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_lease.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_legacy.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_managed.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_mipi_dbi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_mipi_dsi.h drm/mipi-dsi: use correct return type for the DSC functions 2024-11-19 12:26:58 +01:00
drm_mm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_mode_config.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_mode_object.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_modes.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_modeset_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_modeset_helper_vtables.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_modeset_lock.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_of.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_panel.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_pciids.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_plane.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_plane_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_prime.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_print.h drm/printer: Allow NULL data in devcoredump printer 2024-11-23 23:21:41 +01:00
drm_probe_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_property.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_rect.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_scdc_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_self_refresh_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_simple_kms_helper.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_syncobj.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_sysfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_util.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_utils.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_vblank.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_vblank_work.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_vma_manager.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drm_writeback.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gma_drm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gpu_scheduler.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_component.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_drm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_mei_hdcp_interface.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i915_pciids.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel-gtt.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_lpe_audio.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spsc_queue.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
task_barrier.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00