[Intel-gfx] [PATCH] drm/i915: Extend pcode mailbox interface

2014-11-13 Thread Tom . O'Rourke
From: Tom O'Rourke In sandybridge_pcode_read and sandybridge_pcode_write, extend the mbox parameter from u8 to u32. On Haswell and Sandybridge, bits 7:0 encode the mailbox command and bits 28:8 are used for address control for specific commands. Based on suggestion from Ville Syrjälä. Signed-o

Re: [Intel-gfx] [PATCH] drm/i915: Extend pcode mailbox interface

2014-11-19 Thread Daniel Vetter
On Tue, Nov 18, 2014 at 09:24:26PM +0200, Ville Syrjälä wrote: > On Thu, Nov 13, 2014 at 06:50:10PM -0800, Tom.O'rou...@intel.com wrote: > > From: Tom O'Rourke > > > > In sandybridge_pcode_read and sandybridge_pcode_write, > > extend the mbox parameter from u8 to u32. > > > > On Haswell and Sand

Re: [Intel-gfx] [PATCH] drm/i915: Extend pcode mailbox interface

2014-11-18 Thread Ville Syrjälä
On Thu, Nov 13, 2014 at 06:50:10PM -0800, Tom.O'rou...@intel.com wrote: > From: Tom O'Rourke > > In sandybridge_pcode_read and sandybridge_pcode_write, > extend the mbox parameter from u8 to u32. > > On Haswell and Sandybridge, bits 7:0 encode the mailbox > command and bits 28:8 are used for add