mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
drm/i915: simplify intel_encoder_commit
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
60c5ea2dd9
commit
d47d7cb824
1 changed files with 1 additions and 2 deletions
|
@ -3125,8 +3125,7 @@ void intel_encoder_commit(struct drm_encoder *encoder)
|
||||||
{
|
{
|
||||||
struct drm_encoder_helper_funcs *encoder_funcs = encoder->helper_private;
|
struct drm_encoder_helper_funcs *encoder_funcs = encoder->helper_private;
|
||||||
struct drm_device *dev = encoder->dev;
|
struct drm_device *dev = encoder->dev;
|
||||||
struct intel_encoder *intel_encoder = to_intel_encoder(encoder);
|
struct intel_crtc *intel_crtc = to_intel_crtc(encoder->crtc);
|
||||||
struct intel_crtc *intel_crtc = to_intel_crtc(intel_encoder->base.crtc);
|
|
||||||
|
|
||||||
/* lvds has its own version of commit see intel_lvds_commit */
|
/* lvds has its own version of commit see intel_lvds_commit */
|
||||||
encoder_funcs->dpms(encoder, DRM_MODE_DPMS_ON);
|
encoder_funcs->dpms(encoder, DRM_MODE_DPMS_ON);
|
||||||
|
|
Loading…
Add table
Reference in a new issue