aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon_mode.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-09-13 11:52:08 -0400
committerAlex Deucher <alexander.deucher@amd.com>2012-09-20 13:10:44 -0400
commit5df3196bac972138fa62ea17ed036161ae710062 (patch)
tree970fbbcd1a8a1d0e1b9c4eb51e4278398ea6a270 /drivers/gpu/drm/radeon/radeon_mode.h
parent19eca43e5a52a8e47fdd40e940912b2417c7c055 (diff)
drm/radeon: store the encoder in the radeon_crtc
This saves lots of lookups later. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_mode.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon_mode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_mode.h b/drivers/gpu/drm/radeon/radeon_mode.h
index 9f45e4bf06e..2d78645576d 100644
--- a/drivers/gpu/drm/radeon/radeon_mode.h
+++ b/drivers/gpu/drm/radeon/radeon_mode.h
@@ -326,6 +326,7 @@ struct radeon_crtc {
u32 pll_reference_div;
u32 pll_post_div;
u32 pll_flags;
+ struct drm_encoder *encoder;
};
struct radeon_encoder_primary_dac {