gma500: Disable the clock gating of display controller to make DP/eDP work well
authorZhao Yakui <yakui.zhao@intel.com>
Wed, 8 Aug 2012 13:57:01 +0000 (13:57 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 23 Aug 2012 23:29:31 +0000 (09:29 +1000)
commit9a9f5786fcccda3cc61eaa8f537690327eff6853
tree5cd213dafb3ddb148aa339d8bdc5d27c6faa2d7d
parentd112a8163f83752361dd639a9a579ae5cc05c6cf
gma500: Disable the clock gating of display controller to make DP/eDP work well

I don't know why the DP/eDP is affected by the clock gating. But the test
shows that it really fixes the DP/eDP clock issue during enabling DP/eDP.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
[Updated to only apply the workaround if the device has DP. We don't want
 to do this on netbooks]
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/gma500/cdv_intel_dp.c
drivers/gpu/drm/gma500/psb_intel_reg.h