drm/i915: remove now unnecessary delays in eDP panel power sequencing
Now that we're doing the right thing elsewhere, these are no longer necessary. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31114 Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Родитель
d210246ab1
Коммит
987a709e15
|
@ -834,11 +834,6 @@ static bool ironlake_edp_panel_on (struct intel_dp *intel_dp)
|
||||||
I915_WRITE(PCH_PP_CONTROL, pp);
|
I915_WRITE(PCH_PP_CONTROL, pp);
|
||||||
POSTING_READ(PCH_PP_CONTROL);
|
POSTING_READ(PCH_PP_CONTROL);
|
||||||
|
|
||||||
/* Ouch. We need to wait here for some panels, like Dell e6510
|
|
||||||
* https://bugs.freedesktop.org/show_bug.cgi?id=29278i
|
|
||||||
*/
|
|
||||||
msleep(300);
|
|
||||||
|
|
||||||
if (wait_for((I915_READ(PCH_PP_STATUS) & idle_on_mask) == idle_on_mask,
|
if (wait_for((I915_READ(PCH_PP_STATUS) & idle_on_mask) == idle_on_mask,
|
||||||
5000))
|
5000))
|
||||||
DRM_ERROR("panel on wait timed out: 0x%08x\n",
|
DRM_ERROR("panel on wait timed out: 0x%08x\n",
|
||||||
|
@ -875,11 +870,6 @@ static void ironlake_edp_panel_off (struct drm_device *dev)
|
||||||
pp |= PANEL_POWER_RESET; /* restore panel reset bit */
|
pp |= PANEL_POWER_RESET; /* restore panel reset bit */
|
||||||
I915_WRITE(PCH_PP_CONTROL, pp);
|
I915_WRITE(PCH_PP_CONTROL, pp);
|
||||||
POSTING_READ(PCH_PP_CONTROL);
|
POSTING_READ(PCH_PP_CONTROL);
|
||||||
|
|
||||||
/* Ouch. We need to wait here for some panels, like Dell e6510
|
|
||||||
* https://bugs.freedesktop.org/show_bug.cgi?id=29278i
|
|
||||||
*/
|
|
||||||
msleep(300);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ironlake_edp_backlight_on (struct drm_device *dev)
|
static void ironlake_edp_backlight_on (struct drm_device *dev)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче