Re: [Intel-gfx] [PATCH 04/11] drm/i915/context: CXT_SIZE register offsets added

2012-02-15 Thread Ben Widawsky
On Wed, 15 Feb 2012 11:39:47 -0800 Eric Anholt wrote: > On Tue, 14 Feb 2012 22:09:11 +0100, Ben Widawsky wrote: > > From: Ben Widawsky > > > > The GPUs can have different default context layouts, and the sizes could > > vary based on platform or BIOS. In order to back the context object with >

Re: [Intel-gfx] [PATCH 04/11] drm/i915/context: CXT_SIZE register offsets added

2012-02-15 Thread Eric Anholt
On Tue, 14 Feb 2012 22:09:11 +0100, Ben Widawsky wrote: > From: Ben Widawsky > > The GPUs can have different default context layouts, and the sizes could > vary based on platform or BIOS. In order to back the context object with > a properly sized BO, we must read this register in order to find

[Intel-gfx] [PATCH 04/11] drm/i915/context: CXT_SIZE register offsets added

2012-02-14 Thread Ben Widawsky
From: Ben Widawsky The GPUs can have different default context layouts, and the sizes could vary based on platform or BIOS. In order to back the context object with a properly sized BO, we must read this register in order to find out a sufficient size. Thankfully (sarcarm!), the register moves a