diff options
author | ling.ma@intel.com <ling.ma@intel.com> | 2009-06-30 07:35:35 +0400 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-07-01 22:44:45 +0400 |
commit | 12682a971160959072c4970da9b7778709f60bc9 (patch) | |
tree | 6f2e0386c92931000f8e5dcb873fc57c3d4d32b8 /drivers/gpu/drm/i915/intel_sdvo_regs.h | |
parent | 6ff4fd05676bc5b5c930bef25901e489f7843660 (diff) | |
download | linux-12682a971160959072c4970da9b7778709f60bc9.tar.xz |
drm/i915: enable sdvo lvds scaling function.
Currently we implemented basic sdvo lvds function,
But except for sdvo lvds fixed mode, we can not switch
to other modes, otherwise display get black. The patch
handle three operations to enable sdvo lvds. At first
duplicate sdvo fixed mode for adjustment, then according
to fixed mode line valid all modes, at last adjust input
mode to fit our requirement.
Acked by Li Peng <peng.li@linux.intel.com>
Signed-off-by: Ma Ling <ling.ma@intel.com>
Reviewed-by: Ian Romanick <idr@freedesktop.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sdvo_regs.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_sdvo_regs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_sdvo_regs.h b/drivers/gpu/drm/i915/intel_sdvo_regs.h index 193938b7d7f9..ba5cdf8ae40b 100644 --- a/drivers/gpu/drm/i915/intel_sdvo_regs.h +++ b/drivers/gpu/drm/i915/intel_sdvo_regs.h @@ -715,6 +715,7 @@ struct intel_sdvo_enhancements_arg { #define SDVO_HBUF_TX_ONCE (2 << 6) #define SDVO_HBUF_TX_VSYNC (3 << 6) #define SDVO_CMD_GET_AUDIO_TX_INFO 0x9c +#define SDVO_NEED_TO_STALL (1 << 7) struct intel_sdvo_encode{ u8 dvi_rev; |