]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: skl_update_scaler() wants a rotation bitmask instead of bit number
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 15 Oct 2015 14:01:58 +0000 (17:01 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 18 Jan 2016 14:08:14 +0000 (16:08 +0200)
commit7ff5b6c01dfbe071734511e200e92e6519611930
tree1c01518463dd666c63e92da52c33782fc931e74e
parentd031c98885fb88e1367525983b01d50d00f00903
drm/i915: skl_update_scaler() wants a rotation bitmask instead of bit number

Pass BIT(DRM_ROTATE_0) instead of DRM_ROTATE_0 to skl_update_scaler().
The former is a mask, the latter just the bit number.

Fortunately the only thing skl_update_scaler() does with the rotation
is check if it's 90/270 degrees or not, and so in this case it would
still do the right thing.

Cc: Chandra Konduru <chandra.konduru@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1444917718-28495-1-git-send-email-ville.syrjala@linux.intel.com
Fixes: f351c30ec6f8 ("drm/i915: skylake primary plane scaling using shared scalers")
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/i915/intel_display.c