#include <drm/drm_edid.h>
#include <drm/drm_eld.h>
#include "i915_drv.h"
#include "intel_crtc_state_dump.h"
#include "intel_display_types.h"
#include "intel_hdmi.h"
#include "intel_vdsc.h"
#include "intel_vrr.h"
static void intel_dump_crtc_timings(struct drm_printer *p,
const struct drm_display_mode *mode)
{ … }
static void
intel_dump_m_n_config(struct drm_printer *p,
const struct intel_crtc_state *pipe_config,
const char *id, unsigned int lane_count,
const struct intel_link_m_n *m_n)
{ … }
static void
intel_dump_infoframe(struct drm_i915_private *i915,
const union hdmi_infoframe *frame)
{ … }
static void
intel_dump_buffer(const char *prefix, const u8 *buf, size_t len)
{ … }
#define OUTPUT_TYPE …
static const char * const output_type_str[] = …;
#undef OUTPUT_TYPE
static void snprintf_output_types(char *buf, size_t len,
unsigned int output_types)
{ … }
static const char * const output_format_str[] = …;
const char *intel_output_format_name(enum intel_output_format format)
{ … }
static void intel_dump_plane_state(struct drm_printer *p,
const struct intel_plane_state *plane_state)
{ … }
static void
ilk_dump_csc(struct drm_i915_private *i915,
struct drm_printer *p,
const char *name,
const struct intel_csc_matrix *csc)
{ … }
static void
vlv_dump_csc(struct drm_printer *p, const char *name,
const struct intel_csc_matrix *csc)
{ … }
void intel_crtc_state_dump(const struct intel_crtc_state *pipe_config,
struct intel_atomic_state *state,
const char *context)
{ … }