[PATCH 2/3] drm/i915/display: use drm_print_hex_dump() for crtc state dump

Andi Shyti andi.shyti at linux.intel.com
Thu Dec 5 13:16:32 UTC 2024


Hi Jani,

On Thu, Dec 05, 2024 at 11:49:34AM +0200, Jani Nikula wrote:
> Use the drm_printer based printer to get the device specific printing of
> the hex dump.
> 
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>

...

> -static void
> -intel_dump_buffer(const char *prefix, const u8 *buf, size_t len)
> -{
> -	if (!drm_debug_enabled(DRM_UT_KMS))
> -		return;

We lose this check now, anyway,

Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com>

Thanks,
Andi


More information about the Intel-xe mailing list