diff options
author | Dave Airlie <airlied@redhat.com> | 2014-07-23 14:26:12 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-07-24 10:27:42 +1000 |
commit | e05444be705b5c7c7f85d7722b6f97f3a6732d54 (patch) | |
tree | 8ce893aee80c8ecb6652003afd8495a53cb550b7 /drivers/gpu/drm/i915/intel_fbdev.c | |
parent | 09b64267c1f72f2670fcde9f11e5453ce365ca23 (diff) | |
download | op-kernel-dev-e05444be705b5c7c7f85d7722b6f97f3a6732d54.zip op-kernel-dev-e05444be705b5c7c7f85d7722b6f97f3a6732d54.tar.gz |
drm/i915: fix initial fbdev setup warnings
This chunk was no longer required from what I can see, or
at least it is doing the wrong thing, as I confused
intel_connector->encoder and connector->encoder. Drop it
for now, to remove the warnings at bootup.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_fbdev.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_fbdev.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/i915/intel_fbdev.c b/drivers/gpu/drm/i915/intel_fbdev.c index 7cdb886..f475414 100644 --- a/drivers/gpu/drm/i915/intel_fbdev.c +++ b/drivers/gpu/drm/i915/intel_fbdev.c @@ -375,11 +375,6 @@ static bool intel_fb_initial_config(struct drm_fb_helper *fb_helper, } encoder = connector->encoder; - if (!encoder) { - struct drm_connector_helper_funcs *connector_funcs; - connector_funcs = connector->helper_private; - encoder = connector_funcs->best_encoder(connector); - } if (!encoder || WARN_ON(!encoder->crtc)) { DRM_DEBUG_KMS("connector %s has no encoder or crtc, skipping\n", connector->name); |