Commit 0fa1d65e authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Use designated initializers for bxt_dp_clk_val[]

Use designated initializers to make it clear what is what,
and to decouple us from the specific ordering of the members.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220301173128.6988-7-ville.syrjala@linux.intel.comReviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 392f662b
......@@ -2097,13 +2097,13 @@ struct bxt_clk_div {
/* pre-calculated values for DP linkrates */
static const struct bxt_clk_div bxt_dp_clk_val[] = {
{ 162000, 4, 2, 32, 1677722, 1 },
{ 270000, 4, 1, 27, 0, 1 },
{ 540000, 2, 1, 27, 0, 1 },
{ 216000, 3, 2, 32, 1677722, 1 },
{ 243000, 4, 1, 24, 1258291, 1 },
{ 324000, 4, 1, 32, 1677722, 1 },
{ 432000, 3, 1, 32, 1677722, 1 }
{ .clock = 162000, .p1 = 4, .p2 = 2, .m2_int = 32, .m2_frac = 1677722, .n = 1, },
{ .clock = 270000, .p1 = 4, .p2 = 1, .m2_int = 27, .m2_frac = 0, .n = 1, },
{ .clock = 540000, .p1 = 2, .p2 = 1, .m2_int = 27, .m2_frac = 0, .n = 1, },
{ .clock = 216000, .p1 = 3, .p2 = 2, .m2_int = 32, .m2_frac = 1677722, .n = 1, },
{ .clock = 243000, .p1 = 4, .p2 = 1, .m2_int = 24, .m2_frac = 1258291, .n = 1, },
{ .clock = 324000, .p1 = 4, .p2 = 1, .m2_int = 32, .m2_frac = 1677722, .n = 1, },
{ .clock = 432000, .p1 = 3, .p2 = 1, .m2_int = 32, .m2_frac = 1677722, .n = 1, },
};
static bool
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment