From: Stéphane Marchesin <marcheu@xxxxxxxxxxxx> intel_crtc_update_cursor takes a drm_crtc but we were passing an intel_crtc. Fix the warning by passing the base class. BUG=none TEST=compiles and runs on link Change-Id: I487ef1984f7957b47bcc6e3edada8911224d8771 Reviewed-on: https://gerrit.chromium.org/gerrit/51383 Tested-by: Stéphane Marchesin <marcheu@xxxxxxxxxxxx> Reviewed-by: Sonny Rao <sonnyrao@xxxxxxxxxxxx> Commit-Queue: Stéphane Marchesin <marcheu@xxxxxxxxxxxx> --- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 5dca437..64e4206 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -9370,7 +9370,7 @@ void intel_modeset_setup_hw_state(struct drm_device *dev, /* Force-cycle the cursor */ crtc->cursor_visible = false; - intel_crtc_update_cursor(crtc, true); + intel_crtc_update_cursor(&crtc->base, true); } i915_redisable_vga(dev); -- 1.8.3.2 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx