From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [RESEND PATCH 4/5] drm/i915: Use correct dpms for intel_enable_crt.
Date: Wed, 17 Feb 2016 09:18:38 +0100 [thread overview]
Message-ID: <1455697119-31416-5-git-send-email-maarten.lankhorst@linux.intel.com> (raw)
In-Reply-To: <1455697119-31416-1-git-send-email-maarten.lankhorst@linux.intel.com>
With the conversion to atomic only on/off are still supported.
The rest is mapped to one of those, and when enable is called
DPMS_ON should be true.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
drivers/gpu/drm/i915/intel_crt.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_crt.c b/drivers/gpu/drm/i915/intel_crt.c
index 1e23e073dee9..ad825427e613 100644
--- a/drivers/gpu/drm/i915/intel_crt.c
+++ b/drivers/gpu/drm/i915/intel_crt.c
@@ -206,9 +206,7 @@ static void pch_post_disable_crt(struct intel_encoder *encoder)
static void intel_enable_crt(struct intel_encoder *encoder)
{
- struct intel_crt *crt = intel_encoder_to_crt(encoder);
-
- intel_crt_set_dpms(encoder, crt->connector->base.dpms);
+ intel_crt_set_dpms(encoder, DRM_MODE_DPMS_ON);
}
static enum drm_mode_status
--
2.1.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2016-02-17 8:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-17 8:18 [RESEND PATCH 0/5] Use more atomic state in i915 Maarten Lankhorst
2016-02-17 8:18 ` [RESEND PATCH 1/5] drm/i915: Use atomic state to obtain load detection crtc, v3 Maarten Lankhorst
2016-02-17 8:18 ` [RESEND PATCH 2/5] drm/i915: Use atomic state for load detect in crt Maarten Lankhorst
2016-02-17 8:18 ` [RESEND PATCH 3/5] drm/i915: Use atomic state in tv load detection Maarten Lankhorst
2016-02-17 8:18 ` Maarten Lankhorst [this message]
2016-02-17 8:18 ` [RESEND PATCH 5/5] drm/i915: Use atomic state in intel_fb_initial_config Maarten Lankhorst
2016-02-17 10:16 ` ✗ Fi.CI.BAT: warning for Use more atomic state in i915 Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1455697119-31416-5-git-send-email-maarten.lankhorst@linux.intel.com \
--to=maarten.lankhorst@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).