video: tegra: dc: remove TEGRA_DC_INTERLACE

Since CONFIG_TEGRA_DC_INTERLACE is enabled by default, removing
CONFIG_TEGRA_DC_INTERLACE from the Kconfig and other places.

Jira TDS-2379

Change-Id: I58529a3e123eb99815f77f8420ae60e493eec07a
Signed-off-by: Ishwarya Balaji Gururajan <igururajan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1530092
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Ishwarya Balaji Gururajan
2017-07-31 15:54:39 -07:00
committed by Laxman Dewangan
parent 51d3348251
commit a0c3b48960

View File

@@ -183,11 +183,7 @@ static int mods_dc_interlaced_show(struct seq_file *s, void *unused)
{ {
struct tegra_dc *dc = s->private; struct tegra_dc *dc = s->private;
u32 i; u32 i;
#ifdef CONFIG_TEGRA_DC_INTERLACE
const unsigned int head_interlaced = 1; const unsigned int head_interlaced = 1;
#else
const unsigned int head_interlaced = 0;
#endif
seq_printf(s, "head: %u\n", head_interlaced); seq_printf(s, "head: %u\n", head_interlaced);
for (i = 0; i < tegra_dc_get_numof_dispwindows(); i++) { for (i = 0; i < tegra_dc_get_numof_dispwindows(); i++) {
@@ -490,16 +486,11 @@ static int mods_dc_crc_latched_show(struct seq_file *s, void *unused)
struct tegra_dc *dc = s->private; struct tegra_dc *dc = s->private;
u32 crc = tegra_dc_sysfs_read_checksum_latched(dc); u32 crc = tegra_dc_sysfs_read_checksum_latched(dc);
u32 field = 0; u32 field = 0;
u32 val;
#ifdef CONFIG_TEGRA_DC_INTERLACE val = tegra_dc_readl_exported(dc, DC_DISP_INTERLACE_CONTROL);
{ if (val & INTERLACE_MODE_ENABLE)
u32 val; field = (val & INTERLACE_STATUS_FIELD_2) ? 1 : 0;
val = tegra_dc_readl_exported(dc, DC_DISP_INTERLACE_CONTROL);
if (val & INTERLACE_MODE_ENABLE)
field = (val & INTERLACE_STATUS_FIELD_2) ? 1 : 0;
}
#endif
seq_printf(s, "0x%08x %u\n", crc, field); seq_printf(s, "0x%08x %u\n", crc, field);
return 0; return 0;