提交 ac3ad6c6 编写于 作者: V Ville Syrjälä

drm/i915: Shrink bxt_ddi_buf_trans

All the values we put into the BXT buf_trans tables fit into 8 bits.
So switch over to u8 from the u32 we use currently.
Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170918182604.9519-3-ville.syrjala@linux.intel.comReviewed-by: NJani Nikula <jani.nikula@intel.com>
Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
上级 20303eb4
...@@ -301,10 +301,10 @@ static const struct ddi_buf_trans skl_y_ddi_translations_hdmi[] = { ...@@ -301,10 +301,10 @@ static const struct ddi_buf_trans skl_y_ddi_translations_hdmi[] = {
}; };
struct bxt_ddi_buf_trans { struct bxt_ddi_buf_trans {
u32 margin; /* swing value */ u8 margin; /* swing value */
u32 scale; /* scale value */ u8 scale; /* scale value */
u32 enable; /* scale enable */ u8 enable; /* scale enable */
u32 deemphasis; u8 deemphasis;
bool default_index; /* true if the entry represents default value */ bool default_index; /* true if the entry represents default value */
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册