linux/drivers/gpu
Jesse Barnes 2a2430f454 drm/i915: correct self-refresh calculation in "everything off" case
If no planes are enabled, the self-refresh calculation may end up doing
a divide by zero.  This patch should prevent that by making sure at
least one of the CRTCs had a valid hdisplay value.

Reported-by: Eric Anholt <eric@anholt.net>
Tested-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
2009-07-16 13:02:40 -07:00
..
drm drm/i915: correct self-refresh calculation in "everything off" case 2009-07-16 13:02:40 -07:00
Makefile drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00