Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217883
b: refs/heads/master
c: 24d0592
h: refs/heads/master
i:
  217881: 0b306f6
  217879: b160be0
v: v3
  • Loading branch information
Daniel Vetter authored and Chris Wilson committed Sep 8, 2010
1 parent 02dd2ef commit 1380e4b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b970be7c4114173e733309eec092a0269e1e6a61
refs/heads/master: 24d05927c37adf62fe8833eceba50585cb78f906
11 changes: 10 additions & 1 deletion trunk/drivers/gpu/drm/i915/intel_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1479,6 +1479,15 @@ intel_dp_destroy (struct drm_connector *connector)
kfree(connector);
}

static void intel_dp_encoder_destroy(struct drm_encoder *encoder)
{
struct intel_dp *intel_dp = enc_to_intel_dp(encoder);

i2c_del_adapter(&intel_dp->adapter);
drm_encoder_cleanup(encoder);
kfree(intel_dp);
}

static const struct drm_encoder_helper_funcs intel_dp_helper_funcs = {
.dpms = intel_dp_dpms,
.mode_fixup = intel_dp_mode_fixup,
Expand All @@ -1501,7 +1510,7 @@ static const struct drm_connector_helper_funcs intel_dp_connector_helper_funcs =
};

static const struct drm_encoder_funcs intel_dp_enc_funcs = {
.destroy = intel_encoder_destroy,
.destroy = intel_dp_encoder_destroy,
};

void
Expand Down

0 comments on commit 1380e4b

Please sign in to comment.