variable cur_mode have define in struct of imx_hdp.video.
so remove it in stuct imx_hdp.
Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
AUDIO_WIDTH bits;
int ncts_n;
state_struct *state = &hdmi->state;
- int idx_n = select_N_index(hdmi->cur_mode->clock);
+ int idx_n = select_N_index(hdmi->video.cur_mode.clock);
switch (sample_rate) {
case 32000:
/* Get vic of CEA-861 */
hdp->vic = drm_match_cea_mode(mode);
- hdp->cur_mode = mode;
}
bool imx_hdp_bridge_mode_fixup(struct drm_bridge *bridge,
VIC_PXL_ENCODING_FORMAT format;
bool hdr_metadata_present;
bool hdr_mode;
- struct drm_display_mode *cur_mode;
};
void imx_hdp_register_audio_driver(struct device *dev);