gma500: Prevent endless loop in panel power up sequence
authorAlan Cox <alan@linux.intel.com>
Mon, 21 May 2012 14:27:10 +0000 (15:27 +0100)
committerDave Airlie <airlied@redhat.com>
Tue, 22 May 2012 09:15:29 +0000 (10:15 +0100)
commitac0a5dd6ae764ba228ec645920b78c70cee05eb7
tree38cdd714609bf77435fa5f8ec8cc0433570fb93d
parent3299de9558687ec02b3b9fae1af639844c46ea4b
gma500: Prevent endless loop in panel power up sequence

Some devices don't have a panel connected to LVDS and thus will never power up.
This patch checks the power sequence progress bits in PP_STATUS to prevent an
endless loop on such devices.

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/gma500/psb_lid.c