drm/i915: Fix crtc_y assignment in intel_find_initial_plane_obj()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 13 Nov 2015 17:16:13 +0000 (19:16 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 16 Nov 2015 12:38:12 +0000 (14:38 +0200)
commitf44e26593aea9b920e892fc490ffd2a1a0b9123f
tree84992f813dc67f075a22986d686471fc48a0b0e0
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
drm/i915: Fix crtc_y assignment in intel_find_initial_plane_obj()

Let's set crtc_y to 0 instead of setting src_y twice.

Multiple assignments in one statement is a good way to hide bugs.
Please don't do that.

Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fixes: be5651f2d581 ("drm/i915: Update missing properties in find_initial_plane_obj")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1447434973-12369-1-git-send-email-ville.syrjala@linux.intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_display.c