diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-07-11 14:28:07 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-07-20 01:24:32 (GMT) |
commit | d3904754f2a67c503e262f938353cba491525320 (patch) | |
tree | 0d3c5d477a470ba801f244da9cf8d234ae08cb71 /drivers | |
parent | 343065a605646b4c1fee8b1ca07b715283813b11 (diff) | |
download | linux-fsl-qoriq-d3904754f2a67c503e262f938353cba491525320.tar.xz |
drm/fb helper: don't call drm_crtc_helper_set_config
Go through the interface vtable instead, because not everyone might be
using the crtc helper code.
Cc: dri-devel@lists.freedesktop.org
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/drm_fb_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index d3f15b9..f546d1e 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm/drm_fb_helper.c @@ -228,7 +228,7 @@ bool drm_fb_helper_restore_fbdev_mode(struct drm_fb_helper *fb_helper) int i, ret; for (i = 0; i < fb_helper->crtc_count; i++) { struct drm_mode_set *mode_set = &fb_helper->crtc_info[i].mode_set; - ret = drm_crtc_helper_set_config(mode_set); + ret = mode_set->crtc->funcs->set_config(mode_set); if (ret) error = true; } |