]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Add the basic check for the detailed timing in EDID
authorZhao Yakui <yakui.zhao@intel.com>
Wed, 14 Oct 2009 01:11:25 +0000 (09:11 +0800)
committerDave Airlie <airlied@redhat.com>
Wed, 28 Oct 2009 01:23:39 +0000 (11:23 +1000)
commit8196618e69471a79e21c65470c95a4c44fd95fc5
tree3e5c025495f058408fa4f7a72854d2b6cba8587a
parenta4ddc4bd36a09b69d21e42b09a21520dae1c26aa
drm: Add the basic check for the detailed timing in EDID

Sometimes we will get the incorrect display modeline when parsing the detailed
timing in EDID. For example:
   >hsync/vsync width is zero
   >sync is beyond the blank.

So add the basic check for the detailed timing in EDID to avoid the incorrect
display modeline.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c