Skip to content

Commit

Permalink
drm/i915/cdclk: hide struct intel_cdclk_vals
Browse files Browse the repository at this point in the history
The definition is not needed outside of intel_cdclk.c.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/f7e7e7fb91eae2b49a0ab5d982a235cec34e3320.1639068649.git.jani.nikula@intel.com
  • Loading branch information
Jani Nikula committed Dec 13, 2021
1 parent 754d627 commit 2bebea5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 8 additions & 0 deletions drivers/gpu/drm/i915/display/intel_cdclk.c
Original file line number Diff line number Diff line change
Expand Up @@ -1219,6 +1219,14 @@ static bool has_cdclk_squasher(struct drm_i915_private *i915)
return IS_DG2(i915);
}

struct intel_cdclk_vals {
u32 cdclk;
u16 refclk;
u16 waveform;
u8 divider; /* CD2X divider * 2 */
u8 ratio;
};

static const struct intel_cdclk_vals bxt_cdclk_table[] = {
{ .refclk = 19200, .cdclk = 144000, .divider = 8, .ratio = 60 },
{ .refclk = 19200, .cdclk = 288000, .divider = 4, .ratio = 60 },
Expand Down
8 changes: 0 additions & 8 deletions drivers/gpu/drm/i915/display/intel_cdclk.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@ struct drm_i915_private;
struct intel_atomic_state;
struct intel_crtc_state;

struct intel_cdclk_vals {
u32 cdclk;
u16 refclk;
u16 waveform;
u8 divider; /* CD2X divider * 2 */
u8 ratio;
};

struct intel_cdclk_state {
struct intel_global_state base;

Expand Down

0 comments on commit 2bebea5

Please sign in to comment.