disp: msm: dsi: use single mode for RFI feature
Currently, a different dsi_display_mode is created for each combination of RFI frequency, but only one of those modes is reported to the user. Hence, it is not necessary to create multiple RFI modes anymore. This change removes code to inflate the list of modes by the number of RFI frequencies, removes pclk from the mode name as it will change dynamically. Change-Id: I0714de5e53f46d9f142da1f4562f65793de38e54 Signed-off-by: Amine Najahi <anajahi@codeaurora.org>
Este cometimento está contido em:
@@ -130,10 +130,9 @@ void dsi_convert_to_drm_mode(const struct dsi_display_mode *dsi_mode,
|
||||
drm_mode->flags |= DRM_MODE_FLAG_PVSYNC;
|
||||
|
||||
/* set mode name */
|
||||
snprintf(drm_mode->name, DRM_DISPLAY_MODE_LEN, "%dx%dx%dx%u%s",
|
||||
snprintf(drm_mode->name, DRM_DISPLAY_MODE_LEN, "%dx%dx%d%s",
|
||||
drm_mode->hdisplay, drm_mode->vdisplay,
|
||||
drm_mode_vrefresh(drm_mode), dsi_mode->pixel_clk_khz,
|
||||
panel_caps);
|
||||
drm_mode_vrefresh(drm_mode), panel_caps);
|
||||
}
|
||||
|
||||
static void dsi_convert_to_msm_mode(const struct dsi_display_mode *dsi_mode,
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador