diff options
author | Alan Cox <alan@linux.intel.com> | 2012-07-13 10:27:29 -0400 |
---|---|---|
committer | Dave Airlie <airlied@gmail.com> | 2012-08-24 03:02:42 -0400 |
commit | 6f314ebbaa2667d67a7206ba78f28e46cf47eda5 (patch) | |
tree | b824fa1231f6a49721f58626f8173dd4c76109d8 /drivers/gpu/drm/gma500 | |
parent | f64c48f1d39cbe9e14dd25104633b486b1226606 (diff) |
gma500: Fix frequency detection
If we have a 266MHz part we set core_freq to 0 in several spots
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/gma500')
-rw-r--r-- | drivers/gpu/drm/gma500/cdv_device.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/gma500/psb_device.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/cdv_device.c b/drivers/gpu/drm/gma500/cdv_device.c index 4882e642eec3..bfc2f397019a 100644 --- a/drivers/gpu/drm/gma500/cdv_device.c +++ b/drivers/gpu/drm/gma500/cdv_device.c | |||
@@ -457,6 +457,7 @@ static void cdv_get_core_freq(struct drm_device *dev) | |||
457 | case 6: | 457 | case 6: |
458 | case 7: | 458 | case 7: |
459 | dev_priv->core_freq = 266; | 459 | dev_priv->core_freq = 266; |
460 | break; | ||
460 | default: | 461 | default: |
461 | dev_priv->core_freq = 0; | 462 | dev_priv->core_freq = 0; |
462 | } | 463 | } |
diff --git a/drivers/gpu/drm/gma500/psb_device.c b/drivers/gpu/drm/gma500/psb_device.c index 5971bc82b765..f1432f096e58 100644 --- a/drivers/gpu/drm/gma500/psb_device.c +++ b/drivers/gpu/drm/gma500/psb_device.c | |||
@@ -290,6 +290,7 @@ static void psb_get_core_freq(struct drm_device *dev) | |||
290 | case 6: | 290 | case 6: |
291 | case 7: | 291 | case 7: |
292 | dev_priv->core_freq = 266; | 292 | dev_priv->core_freq = 266; |
293 | break; | ||
293 | default: | 294 | default: |
294 | dev_priv->core_freq = 0; | 295 | dev_priv->core_freq = 0; |
295 | } | 296 | } |