drm/i915: setup sarea properly in master_priv
commit3a03ac1a0223f779a3de313523408ddb099e5679
authorDave Airlie <airlied@linux.ie>
Sat, 10 Jan 2009 23:03:49 +0000 (11 09:03 +1000)
committerDave Airlie <airlied@linux.ie>
Mon, 12 Jan 2009 12:01:34 +0000 (12 22:01 +1000)
tree5f07abaf710b39fbdd238524074c9ed41f76a8ff
parentdc1336ff4fe08ae7cfe8301bfd7f0b2cfd31d20a
drm/i915: setup sarea properly in master_priv

If we are running DRI1 userspace, we really need to set the sarea up properly.

thanks to Richard for finding/testing this.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_dma.c