Re: [Intel-gfx] [PATCH] drm/i915: Add polish to VLV WM shift+mask operations

2015-03-12 Thread Jesse Barnes
On 03/10/2015 07:16 AM, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > 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 > _V

Re: [Intel-gfx] [PATCH] drm/i915: Add polish to VLV WM shift+mask operations

2015-03-11 Thread shuang . he
Tested-By: PRC QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 5926 -Summary- Platform Delta drm-intel-nightly Series Applied PNV -3 281/281

[Intel-gfx] [PATCH] drm/i915: Add polish to VLV WM shift+mask operations

2015-03-10 Thread ville . syrjala
From: Ville Syrjälä 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()