mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
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:
committed by
Laxman Dewangan
parent
51d3348251
commit
a0c3b48960
@@ -183,11 +183,7 @@ static int mods_dc_interlaced_show(struct seq_file *s, void *unused)
|
||||
{
|
||||
struct tegra_dc *dc = s->private;
|
||||
u32 i;
|
||||
#ifdef CONFIG_TEGRA_DC_INTERLACE
|
||||
const unsigned int head_interlaced = 1;
|
||||
#else
|
||||
const unsigned int head_interlaced = 0;
|
||||
#endif
|
||||
|
||||
seq_printf(s, "head: %u\n", head_interlaced);
|
||||
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;
|
||||
u32 crc = tegra_dc_sysfs_read_checksum_latched(dc);
|
||||
u32 field = 0;
|
||||
|
||||
#ifdef CONFIG_TEGRA_DC_INTERLACE
|
||||
{
|
||||
u32 val;
|
||||
|
||||
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);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user