summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Brace <kevinbrace@gmx.com>2017-07-10 14:29:03 -0500
committerKevin Brace <kevinbrace@gmx.com>2017-07-10 14:29:03 -0500
commit7aa5b289955094874b3557ee0f3144556da2da2c (patch)
tree91ca809d1f52af1880ba9bb6d0c9efd02e8edd4e
parentd0a806302dfb5b61c909a87e6477b4cbf03ec56e (diff)
Keep FP hardware sequence off inside via_fp_primary_soft_power_seq
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
-rw-r--r--drivers/gpu/drm/via/via_fp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/via/via_fp.c b/drivers/gpu/drm/via/via_fp.c
index 1d730a9eab99..0352158a3926 100644
--- a/drivers/gpu/drm/via/via_fp.c
+++ b/drivers/gpu/drm/via/via_fp.c
@@ -238,6 +238,9 @@ via_fp_primary_soft_power_seq(struct via_device *dev_priv, bool power_state)
{
DRM_DEBUG_KMS("Entered via_fp_primary_soft_power_seq.\n");
+ /* Turn off FP hardware power sequence. */
+ via_fp_set_primary_hard_power(VGABASE, false);
+
/* Use software FP power sequence control. */
via_fp_set_primary_power_seq_type(VGABASE, false);