]> 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>
Thu, 15 Oct 2009 22:49:27 +0000 (08:49 +1000)
commitfc2ad710f6991c11ccf4754acd702d94b0a3a9a9
tree93d804337d7bee1f6196dd51811488d6d2d37098
parentf7bd34b43728d71e73789a30ce1977323cb0813e
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