Skip to content

Commit 2bebea5

Browse files
committed
drm/i915/cdclk: hide struct intel_cdclk_vals
The definition is not needed outside of intel_cdclk.c. Signed-off-by: Jani Nikula <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/f7e7e7fb91eae2b49a0ab5d982a235cec34e3320.1639068649.git.jani.nikula@intel.com
1 parent 754d627 commit 2bebea5

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

drivers/gpu/drm/i915/display/intel_cdclk.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,6 +1219,14 @@ static bool has_cdclk_squasher(struct drm_i915_private *i915)
12191219
return IS_DG2(i915);
12201220
}
12211221

1222+
struct intel_cdclk_vals {
1223+
u32 cdclk;
1224+
u16 refclk;
1225+
u16 waveform;
1226+
u8 divider; /* CD2X divider * 2 */
1227+
u8 ratio;
1228+
};
1229+
12221230
static const struct intel_cdclk_vals bxt_cdclk_table[] = {
12231231
{ .refclk = 19200, .cdclk = 144000, .divider = 8, .ratio = 60 },
12241232
{ .refclk = 19200, .cdclk = 288000, .divider = 4, .ratio = 60 },

drivers/gpu/drm/i915/display/intel_cdclk.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ struct drm_i915_private;
1616
struct intel_atomic_state;
1717
struct intel_crtc_state;
1818

19-
struct intel_cdclk_vals {
20-
u32 cdclk;
21-
u16 refclk;
22-
u16 waveform;
23-
u8 divider; /* CD2X divider * 2 */
24-
u8 ratio;
25-
};
26-
2719
struct intel_cdclk_state {
2820
struct intel_global_state base;
2921

0 commit comments

Comments
 (0)