drm/exynos: added validation of edid for vidi connection
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 10 Jan 2013 10:35:06 +0000 (19:35 +0900)
committerInki Dae <inki.dae@samsung.com>
Fri, 25 Jan 2013 05:38:43 +0000 (14:38 +0900)
commite7808df1af8801cf4f2ac16be25db1b079b5da4c
tree3f3e9c62c33410b65ad0b3e65e107e612a453063
parent9c08e4ba81a73862e15b3eb4e6ae2e11aaf4151b
drm/exynos: added validation of edid for vidi connection

If edid of vidi from user is invalid, size calculated from a number
of cea extensions can be wrong. So, validation should be checked.

Changelog v2:
- just code cleanup
  . declare raw_edid only if vidi->connection is enabled.

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_vidi.c