[Intel-gfx] [PATCH] Make I830FALLBACK debugging a runtime instead of compile-time option.

Zhenyu Wang zhenyu.z.wang at intel.com
Thu Nov 6 02:15:18 CET 2008


On 2008.11.06 05:52:03 +0800, Eric Anholt wrote:
> @@ -959,6 +961,15 @@ static inline int i830_fb_compression_supported(I830Ptr pI830)
>      return TRUE;
>  }
>  
> +#define I830FALLBACK(s, arg...)				\
> +do {							\
> +    if (I830PTR(pScrn)->fallback_debug) {		\
> +	xf86DrvMsg(pScrn->scrnIndex, X_INFO,		\
> +		   "EXA fallback: " s "\n", ##arg);	\
> +	return FALSE;					\
> +    }							\
> +} while(0)
> +
>  Bool i830_pixmap_tiled(PixmapPtr p);
>  
>  #define i830_exa_check_pitch_2d(p) do {\

Does this mean if no fallback debug option was set, we won't really
fallback (return FALSE;)?

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20081106/4a98b6f0/attachment.sig>


More information about the Intel-gfx mailing list