drm: bridge: dw-hdmi: Remove unused field from dw_hdmi_plat_data
The input_bus_format field of struct dw_hdmi_plat_data is unused. Remove it. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20200526011505.31884-14-laurent.pinchart+renesas@ideasonboard.com
This commit is contained in:
parent
49da7e5d84
commit
29fc89719d
@ -2137,10 +2137,7 @@ static int dw_hdmi_setup(struct dw_hdmi *hdmi, struct drm_display_mode *mode)
|
|||||||
hdmi->hdmi_data.video_mode.mpixelrepetitionoutput = 0;
|
hdmi->hdmi_data.video_mode.mpixelrepetitionoutput = 0;
|
||||||
hdmi->hdmi_data.video_mode.mpixelrepetitioninput = 0;
|
hdmi->hdmi_data.video_mode.mpixelrepetitioninput = 0;
|
||||||
|
|
||||||
if (hdmi->plat_data->input_bus_format)
|
if (hdmi->hdmi_data.enc_in_bus_format == MEDIA_BUS_FMT_FIXED)
|
||||||
hdmi->hdmi_data.enc_in_bus_format =
|
|
||||||
hdmi->plat_data->input_bus_format;
|
|
||||||
else if (hdmi->hdmi_data.enc_in_bus_format == MEDIA_BUS_FMT_FIXED)
|
|
||||||
hdmi->hdmi_data.enc_in_bus_format = MEDIA_BUS_FMT_RGB888_1X24;
|
hdmi->hdmi_data.enc_in_bus_format = MEDIA_BUS_FMT_RGB888_1X24;
|
||||||
|
|
||||||
/* TOFIX: Get input encoding from plat data or fallback to none */
|
/* TOFIX: Get input encoding from plat data or fallback to none */
|
||||||
|
@ -125,7 +125,6 @@ struct dw_hdmi_phy_ops {
|
|||||||
struct dw_hdmi_plat_data {
|
struct dw_hdmi_plat_data {
|
||||||
struct regmap *regm;
|
struct regmap *regm;
|
||||||
|
|
||||||
unsigned long input_bus_format;
|
|
||||||
unsigned long input_bus_encoding;
|
unsigned long input_bus_encoding;
|
||||||
bool use_drm_infoframe;
|
bool use_drm_infoframe;
|
||||||
bool ycbcr_420_allowed;
|
bool ycbcr_420_allowed;
|
||||||
|
Loading…
Reference in New Issue
Block a user