drm/edid: improve cea_db_offsets compatibility
authorZheng Yang <zhengyang@rock-chips.com>
Mon, 24 Jul 2017 03:51:22 +0000 (11:51 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 24 Jul 2017 08:50:01 +0000 (16:50 +0800)
commit23e1058a945579f7a25f818d8fb5c41129979abe
tree1c59c1e6e6ede7eb67e9363eae7ca6f8c62c30d5
parentebeeafee0d01ceacc771ff3429d0a0f1250f38b9
drm/edid: improve cea_db_offsets compatibility

The cea[2] is equal to the real value minus one in some sink edid,
found on a Konka LCD TV. the last data block offset plus the payload
length is equal to cea[2]. The end value need to plus one under this
scene.

Change-Id: I41b477559023ccd1cc4a5450dd9d35bed095f147
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
drivers/gpu/drm/drm_edid.c