No subject
Sun Jun 6 12:36:48 EDT 2010
#define CHECK(e,l,h) (var->e < l || var->e > h)
if (CHECK(right_margin, (5+1), 256) || /* back porch */
CHECK(left_margin, (5+1), 256) || /* front porch */
CHECK(hsync_len, (5+1), 256) ||
var->xres > 4096 ||
These 4 checks don't match the actual values that can be
generated by the CLCD controller. The minimum values for left
and right horizontal porch and HSYNC width can go down to
1 clock.
The maximum x resolution for the pl11x devices is 1024 pixels.
I know this function can be overridden for platforms using the
clcd driver, but does anyone have any problem making this
function match the hardware?
thanks,
Kevin
More information about the linux-arm-kernel
mailing list