- ihs and imx driver fixes
- relax EDID validation checks for 0 hsync/vsync
pulse width (support some quirky displays)
int board_video_skip(void)
{
int i;
- int ret;
+ int ret = 0;
char const *panel = env_get("panel");
if (!panel) {
return -EINVAL;
}
- return 0;
+ return ret;
}
#ifdef CONFIG_IMX_HDMI
int res;
res = regmap_init_mem(dev_ofnode(dev), &priv->map);
- if (!res) {
- debug("%s: Could initialize regmap (err = %d)\n", dev->name,
+ if (res) {
+ debug("%s: Could not initialize regmap (err = %d)\n", dev->name,
res);
return res;
}
}
res = display_enable(priv->video_tx, 8, &timing);
- if (res) {
+ if (res && res != -EIO) { /* Ignore missing DP sink error */
debug("%s: Could not enable the display (err = %d)\n",
dev->name, res);
return res;
EDID_DETAILED_TIMING_VERTICAL_ACTIVE(*t) == 0 ||
EDID_DETAILED_TIMING_VERTICAL_BLANKING(*t) == 0 ||
EDID_DETAILED_TIMING_HSYNC_OFFSET(*t) == 0 ||
- EDID_DETAILED_TIMING_HSYNC_PULSE_WIDTH(*t) == 0 ||
EDID_DETAILED_TIMING_VSYNC_OFFSET(*t) == 0 ||
- EDID_DETAILED_TIMING_VSYNC_PULSE_WIDTH(*t) == 0 ||
/* 3d formats are not supported*/
EDID_DETAILED_TIMING_FLAG_STEREO(*t) != 0)
return -EINVAL;