@@ -50,16 +50,6 @@ intel_dump_infoframe(struct drm_i915_private *i915,
50
50
hdmi_infoframe_log (KERN_DEBUG , i915 -> drm .dev , frame );
51
51
}
52
52
53
- static void
54
- intel_dump_buffer (const char * prefix , const u8 * buf , size_t len )
55
- {
56
- if (!drm_debug_enabled (DRM_UT_KMS ))
57
- return ;
58
-
59
- print_hex_dump (KERN_DEBUG , prefix , DUMP_PREFIX_NONE ,
60
- 16 , 0 , buf , len , false);
61
- }
62
-
63
53
#define OUTPUT_TYPE (x ) [INTEL_OUTPUT_ ## x] = #x
64
54
65
55
static const char * const output_type_str [] = {
@@ -293,8 +283,8 @@ void intel_crtc_state_dump(const struct intel_crtc_state *pipe_config,
293
283
drm_dp_as_sdp_log (& p , & pipe_config -> infoframes .as_sdp );
294
284
295
285
if (pipe_config -> has_audio )
296
- intel_dump_buffer ( "ELD: " , pipe_config -> eld ,
297
- drm_eld_size (pipe_config -> eld ));
286
+ drm_print_hex_dump ( & p , "ELD: " , pipe_config -> eld ,
287
+ drm_eld_size (pipe_config -> eld ));
298
288
299
289
drm_printf (& p , "vrr: %s, vmin: %d, vmax: %d, pipeline full: %d, guardband: %d flipline: %d, vmin vblank: %d, vmax vblank: %d\n" ,
300
290
str_yes_no (pipe_config -> vrr .enable ),
0 commit comments