drm/tilcdc: adding more guards to prevent selection of invalid modes
authorDarren Etheridge <detheridge@ti.com>
Fri, 21 Jun 2013 18:52:25 +0000 (13:52 -0500)
committerDave Airlie <airlied@redhat.com>
Thu, 27 Jun 2013 23:12:39 +0000 (09:12 +1000)
commite1c5d0a819e495a79cf76a8c63c5a30c327a89a5
treeb302ebb8e433a1824a1ff2a46f2e2413bd2a2a50
parentdb2b4bd09b43fc27ecd097e193f1135f5e40d347
drm/tilcdc: adding more guards to prevent selection of invalid modes

The tilcdc has a number of limitations for the allowed sizes of
the various adjustable timing parameter.  Some modes are outside
of these timings.  This commit will prune modes that report timings
that will overflow the allowed sizes in the tilcdc.

Signed-off-by: Darren Etheridge <detheridge@ti.com>
Acked-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c