mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-14 13:39:10 +00:00
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>
This commit is contained in:
parent
f64c48f1d3
commit
6f314ebbaa
@ -457,6 +457,7 @@ static void cdv_get_core_freq(struct drm_device *dev)
|
||||
case 6:
|
||||
case 7:
|
||||
dev_priv->core_freq = 266;
|
||||
break;
|
||||
default:
|
||||
dev_priv->core_freq = 0;
|
||||
}
|
||||
|
@ -290,6 +290,7 @@ static void psb_get_core_freq(struct drm_device *dev)
|
||||
case 6:
|
||||
case 7:
|
||||
dev_priv->core_freq = 266;
|
||||
break;
|
||||
default:
|
||||
dev_priv->core_freq = 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user