[Intel-gfx] [RFC] drm/i915: Reduce locking in command submission

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Tue Dec 16 05:34:30 PST 2014


On 12/15/2014 01:06 PM, Daniel Vetter wrote:
> On Thu, Dec 11, 2014 at 03:41:34PM +0000, Tvrtko Ursulin wrote:
>> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>>
>> Eliminate six needless spin lock/unlock pairs when writing ELSP.
>>
>> RFC for now with some #define copy and paste.
>>
>> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>> Cc: Dave Gordon <david.s.gordon at intel.com>
>
> Yeah makes sense. I'm on the fence whether we should do an all-uppercase
> conversion of the raw mmio macros, would be a nothc more consistent. And
> some perf data for this patch would be good, too.

I know perf data would be good but I had no time to set up a suitable 
platform for testing. This was more like a drive-by since it's not 
pretty so it annoyed me. Will see if I can get back to this in the near 
future.

Regards,

Tvrtko


More information about the Intel-gfx mailing list