[PATCH] drm: add support for additional stereo 3D modes

Damien Lespiau damien.lespiau at intel.com
Fri Oct 11 17:59:09 CEST 2013


On Thu, Oct 10, 2013 at 02:19:15PM +0100, Thomas Wood wrote:
> +	if ((multi_present == 1 || multi_present == 2) &&

You could use the awesome binary literals gcc extension here and 0b01
and 0b10 to be even closer to the spec wording.

There's a precedent in drivers/watchdog/sunxi_wdt.c!

-- 
Damien


More information about the dri-devel mailing list