drm/i915: Remove useless message when disabling "Big FIFO" on PineView
As we already have appropriate debug and warnings when we activate and deactivate the self-refresh FIFO, having a further INFO is just annoying. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Родитель
45d7f32c7a
Коммит
3e33d94df7
|
@ -2930,13 +2930,9 @@ static struct cxsr_latency *intel_get_cxsr_latency(int is_desktop, int is_ddr3,
|
||||||
static void pineview_disable_cxsr(struct drm_device *dev)
|
static void pineview_disable_cxsr(struct drm_device *dev)
|
||||||
{
|
{
|
||||||
struct drm_i915_private *dev_priv = dev->dev_private;
|
struct drm_i915_private *dev_priv = dev->dev_private;
|
||||||
u32 reg;
|
|
||||||
|
|
||||||
/* deactivate cxsr */
|
/* deactivate cxsr */
|
||||||
reg = I915_READ(DSPFW3);
|
I915_WRITE(DSPFW3, I915_READ(DSPFW3) & ~PINEVIEW_SELF_REFRESH_EN);
|
||||||
reg &= ~(PINEVIEW_SELF_REFRESH_EN);
|
|
||||||
I915_WRITE(DSPFW3, reg);
|
|
||||||
DRM_INFO("Big FIFO is disabled\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -3075,9 +3071,8 @@ static void pineview_update_wm(struct drm_device *dev, int planea_clock,
|
||||||
DRM_DEBUG_KMS("DSPFW3 register is %x\n", reg);
|
DRM_DEBUG_KMS("DSPFW3 register is %x\n", reg);
|
||||||
|
|
||||||
/* activate cxsr */
|
/* activate cxsr */
|
||||||
reg = I915_READ(DSPFW3);
|
I915_WRITE(DSPFW3,
|
||||||
reg |= PINEVIEW_SELF_REFRESH_EN;
|
I915_READ(DSPFW3) | PINEVIEW_SELF_REFRESH_EN);
|
||||||
I915_WRITE(DSPFW3, reg);
|
|
||||||
DRM_DEBUG_KMS("Self-refresh is enabled\n");
|
DRM_DEBUG_KMS("Self-refresh is enabled\n");
|
||||||
} else {
|
} else {
|
||||||
pineview_disable_cxsr(dev);
|
pineview_disable_cxsr(dev);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче