[Intel-gfx] [PATCH] Try to always probe SDVOC on 965G/965GM

Eric Anholt eric at anholt.net
Wed Dec 10 06:58:58 CET 2008


On Wed, 2008-12-10 at 11:38 +0800, Zhenyu Wang wrote:
> Detect bit of SDVOC is reserved on 965G/965GM, instead of ignore SDVOC
> this trys to always probe it on these chipsets.
> ---
>  src/i830_driver.c |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/src/i830_driver.c b/src/i830_driver.c
> index 4f87efb..7590257 100644
> --- a/src/i830_driver.c
> +++ b/src/i830_driver.c
> @@ -919,7 +919,9 @@ I830SetupOutputs(ScrnInfoPtr pScrn)
>  	    i830_hdmi_init(pScrn, SDVOB);
>        }
>  
> -      if ((INREG(SDVOC) & SDVO_DETECTED) || pI830->force_sdvo_detect) {
> +      if ((INREG(SDVOC) & SDVO_DETECTED) || pI830->force_sdvo_detect ||
> +	      /* SDVOC detect bit is reserved on 965G/965GM */
> +	      (IS_I965G(pI830) && !IS_G4X(pI830))) {
>  	 Bool found = i830_sdvo_init(pScrn, SDVOC);
>  
>  	 if (!found && SUPPORTS_INTEGRATED_HDMI(pI830))

ack

-- 
Eric Anholt
eric at anholt.net                         eric.anholt at intel.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20081209/dea1ddea/attachment.sig>


More information about the Intel-gfx mailing list