Skip to content

Commit

Permalink
drm/i915: re-initialize DDI buffer translations after resume
Browse files Browse the repository at this point in the history
This is necessary for the modesetting to work correctly after a
suspend-resume cycle. Without this, the pipes and clocks got the correct
configuration, but the underlying DDI buffers configuration was lost.

Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Eugeni Dodonov authored and Daniel Vetter committed Jul 5, 2012
1 parent 40579ab commit a8f78b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -7169,6 +7169,8 @@ static void ivb_pch_pwm_override(struct drm_device *dev)

void intel_modeset_init_hw(struct drm_device *dev)
{
intel_prepare_ddi(dev);

intel_init_clock_gating(dev);

mutex_lock(&dev->struct_mutex);
Expand Down Expand Up @@ -7198,8 +7200,6 @@ void intel_modeset_init(struct drm_device *dev)

intel_init_pm(dev);

intel_prepare_ddi(dev);

intel_init_display(dev);

if (IS_GEN2(dev)) {
Expand Down

0 comments on commit a8f78b5

Please sign in to comment.