From: Ville Syrjälä Date: Tue, 10 Mar 2015 14:16:28 +0000 (+0200) Subject: drm/i915: Add polish to VLV WM shift+mask operations X-Git-Tag: omap-for-v4.1/fixes-rc1~82^2~24^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15665979ca601f483cd5caca851620d2c2845125;p=pandora-kernel.git drm/i915: Add polish to VLV WM shift+mask operations Wrap the FW register value shift+mask operations into a macro to hide the ugliness a bit. Also might avoid bugs due to typos. Also rename all the primary/sprite plane low order bit masks to have the _VLV suffix, so that we can use the FW_WM_VLV() macro instead of the FW_WM() macro for them in a consistent manner. Cursor and all the high order bits are left to use the FW_WM() macro as there's no real confusion with them. Cc: Daniel Vetter Signed-off-by: Ville Syrjälä Reviewed-by: Jesse Barnes Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed