diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-10-01 11:02:18 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-10-10 06:47:02 -0400 |
commit | 1dba99f495fb2b8712d83f53a769a7393ea127d3 (patch) | |
tree | 96ab2ef0dc2024eee18520f0d675dd6330d13c4b /drivers/gpu/drm/i915/intel_pm.c | |
parent | 20bc86739b835da21476ea0bf7381f6aab03be64 (diff) |
drm/i915: Rename intel_flush_display_plane to intel_flush_primary_plane
The intel_flush_primary_plane name actually tells us which plane
we're talking about.
Also reorganize the internals a bit and add a missing POSTING_READ()
to make sure the hardware has seen the changes by the time we
return from the function.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_pm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 008ec0bb017f..da24825acc84 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c | |||
@@ -4773,7 +4773,7 @@ static void g4x_disable_trickle_feed(struct drm_device *dev) | |||
4773 | I915_WRITE(DSPCNTR(pipe), | 4773 | I915_WRITE(DSPCNTR(pipe), |
4774 | I915_READ(DSPCNTR(pipe)) | | 4774 | I915_READ(DSPCNTR(pipe)) | |
4775 | DISPPLANE_TRICKLE_FEED_DISABLE); | 4775 | DISPPLANE_TRICKLE_FEED_DISABLE); |
4776 | intel_flush_display_plane(dev_priv, pipe); | 4776 | intel_flush_primary_plane(dev_priv, pipe); |
4777 | } | 4777 | } |
4778 | } | 4778 | } |
4779 | 4779 | ||