[Intel-gfx] [PATCH] Use 720x480 as the preferred mode for SDVO-TV

Hai Lan hai.lan at intel.com
Thu Jun 2 18:18:28 CEST 2011


There is no preferred mode for SDVO-TV, so choose 720x480 as preferred mode
Signed-off-by: Hai Lan <hai.lan at intel.com>
---
 drivers/gpu/drm/i915/intel_sdvo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c
index 7c50cdc..117f42d 100644
--- a/drivers/gpu/drm/i915/intel_sdvo.c
+++ b/drivers/gpu/drm/i915/intel_sdvo.c
@@ -1513,7 +1513,7 @@ struct drm_display_mode sdvo_tv_modes[] = {
 	{ DRM_MODE("720x400", DRM_MODE_TYPE_DRIVER, 21199, 720, 721, 784,
 		   816, 0, 400, 401, 432, 433, 0,
 		   DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC) },
-	{ DRM_MODE("720x480", DRM_MODE_TYPE_DRIVER, 25116, 720, 721, 784,
+	{ DRM_MODE("720x480", DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED, 25116, 720, 721, 784,
 		   816, 0, 480, 481, 512, 513, 0,
 		   DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC) },
 	{ DRM_MODE("720x540", DRM_MODE_TYPE_DRIVER, 28054, 720, 721, 784,
-- 
1.7.3.4




More information about the Intel-gfx mailing list