Commit 56f62308 authored by Ville Syrjälä's avatar Ville Syrjälä
Browse files

drm/i915/tv: Use bools where appropriate

parent 4f503798
Loading
Loading
Loading
Loading
+12 −12
Original line number Diff line number Diff line
@@ -379,7 +379,7 @@ static const struct tv_mode tv_modes[] = {
		.clock		= 108000,
		.refresh	= 59940,
		.oversample	= 8,
		.component_only = 0,
		.component_only = false,
		/* 525 Lines, 60 Fields, 15.734KHz line, Sub-Carrier 3.580MHz */

		.hsync_end	= 64,		    .hblank_end		= 124,
@@ -422,7 +422,7 @@ static const struct tv_mode tv_modes[] = {
		.clock		= 108000,
		.refresh	= 59940,
		.oversample	= 8,
		.component_only = 0,
		.component_only = false,
		/* 525 Lines, 60 Fields, 15.734KHz line, Sub-Carrier 4.43MHz */
		.hsync_end	= 64,		    .hblank_end		= 124,
		.hblank_start	= 836,		    .htotal		= 857,
@@ -464,7 +464,7 @@ static const struct tv_mode tv_modes[] = {
		.clock		= 108000,
		.refresh	= 59940,
		.oversample	= 8,
		.component_only = 0,
		.component_only = false,

		/* 525 Lines, 60 Fields, 15.734KHz line, Sub-Carrier 3.580MHz */
		.hsync_end	= 64,		    .hblank_end		= 124,
@@ -507,7 +507,7 @@ static const struct tv_mode tv_modes[] = {
		.clock		= 108000,
		.refresh	= 59940,
		.oversample	= 8,
		.component_only = 0,
		.component_only = false,

		/* 525 Lines, 60 Fields, 15.734KHz line, Sub-Carrier 3.580MHz */
		.hsync_end	= 64,		  .hblank_end		= 124,
@@ -551,7 +551,7 @@ static const struct tv_mode tv_modes[] = {
		.clock		= 108000,
		.refresh	= 50000,
		.oversample	= 8,
		.component_only = 0,
		.component_only = false,

		.hsync_end	= 64,		    .hblank_end		= 128,
		.hblank_start = 844,	    .htotal		= 863,
@@ -596,7 +596,7 @@ static const struct tv_mode tv_modes[] = {
		.clock		= 108000,
		.refresh	= 50000,
		.oversample	= 8,
		.component_only = 0,
		.component_only = false,

		.hsync_end	= 64,		    .hblank_end		= 142,
		.hblank_start	= 844,	    .htotal		= 863,
@@ -638,7 +638,7 @@ static const struct tv_mode tv_modes[] = {
		.clock		= 108000,
		.refresh	= 59940,
		.oversample     = 4,
		.component_only = 1,
		.component_only = true,

		.hsync_end      = 64,               .hblank_end         = 122,
		.hblank_start   = 842,              .htotal             = 857,
@@ -662,7 +662,7 @@ static const struct tv_mode tv_modes[] = {
		.clock		= 108000,
		.refresh	= 50000,
		.oversample     = 4,
		.component_only = 1,
		.component_only = true,

		.hsync_end      = 64,               .hblank_end         = 139,
		.hblank_start   = 859,              .htotal             = 863,
@@ -686,7 +686,7 @@ static const struct tv_mode tv_modes[] = {
		.clock		= 148500,
		.refresh	= 60000,
		.oversample     = 2,
		.component_only = 1,
		.component_only = true,

		.hsync_end      = 80,               .hblank_end         = 300,
		.hblank_start   = 1580,             .htotal             = 1649,
@@ -710,7 +710,7 @@ static const struct tv_mode tv_modes[] = {
		.clock		= 148500,
		.refresh	= 50000,
		.oversample     = 2,
		.component_only = 1,
		.component_only = true,

		.hsync_end      = 80,               .hblank_end         = 300,
		.hblank_start   = 1580,             .htotal             = 1979,
@@ -735,7 +735,7 @@ static const struct tv_mode tv_modes[] = {
		.clock		= 148500,
		.refresh	= 50000,
		.oversample     = 2,
		.component_only = 1,
		.component_only = true,

		.hsync_end      = 88,               .hblank_end         = 235,
		.hblank_start   = 2155,             .htotal             = 2639,
@@ -761,7 +761,7 @@ static const struct tv_mode tv_modes[] = {
		.clock		= 148500,
		.refresh	= 60000,
		.oversample     = 2,
		.component_only = 1,
		.component_only = true,

		.hsync_end      = 88,               .hblank_end         = 235,
		.hblank_start   = 2155,             .htotal             = 2199,