diff options
author | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2013-11-06 21:04:04 -0500 |
---|---|---|
committer | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2013-11-08 10:22:13 -0500 |
commit | 6528c897966c7d520f18ed4804c31a1f1aa8a3d9 (patch) | |
tree | 5693f6d1aedd72476e65239c375f53c2b41d4168 | |
parent | 99d754bb46e41cf88f6e5d96dd3c6c3b9c3bddb3 (diff) |
drm/gma500/mrst: Setup GMBUS for oaktrail/mrst
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
-rw-r--r-- | drivers/gpu/drm/gma500/oaktrail_device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/oaktrail_device.c b/drivers/gpu/drm/gma500/oaktrail_device.c index 80798517d93e..d7c54b27a473 100644 --- a/drivers/gpu/drm/gma500/oaktrail_device.c +++ b/drivers/gpu/drm/gma500/oaktrail_device.c | |||
@@ -526,6 +526,7 @@ static int oaktrail_chip_setup(struct drm_device *dev) | |||
526 | psb_intel_opregion_init(dev); | 526 | psb_intel_opregion_init(dev); |
527 | psb_intel_init_bios(dev); | 527 | psb_intel_init_bios(dev); |
528 | } | 528 | } |
529 | gma_intel_setup_gmbus(dev); | ||
529 | oaktrail_hdmi_setup(dev); | 530 | oaktrail_hdmi_setup(dev); |
530 | return 0; | 531 | return 0; |
531 | } | 532 | } |
@@ -534,6 +535,7 @@ static void oaktrail_teardown(struct drm_device *dev) | |||
534 | { | 535 | { |
535 | struct drm_psb_private *dev_priv = dev->dev_private; | 536 | struct drm_psb_private *dev_priv = dev->dev_private; |
536 | 537 | ||
538 | gma_intel_teardown_gmbus(dev); | ||
537 | oaktrail_hdmi_teardown(dev); | 539 | oaktrail_hdmi_teardown(dev); |
538 | if (!dev_priv->has_gct) | 540 | if (!dev_priv->has_gct) |
539 | psb_intel_destroy_bios(dev); | 541 | psb_intel_destroy_bios(dev); |