mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 13:37:49 +07:00
drm/i915/tv: Use bools where appropriate
'component_only' is a bool. Initialize it like a bool. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20181112170000.27531-7-ville.syrjala@linux.intel.com Reviewed-by: Imre Deak <imre.deak@intel.com>
This commit is contained in:
parent
4f50379837
commit
56f6230811
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user