Remove plane->pipe mapping from SAREA private after all
authorJesse Barnes <jesse.barnes@intel.com>
Wed, 12 Sep 2007 15:55:33 +0000 (08:55 -0700)
committerJesse Barnes <jesse.barnes@intel.com>
Wed, 12 Sep 2007 15:55:33 +0000 (08:55 -0700)
commit852232fb803bef92b12136be2766ddee3e3613b2
treee6cecb35a59a69ebf8c34673c373b017e7acb94c
parent7fdf98051a51a0117f415f7f7374f2b4d0b2e531
Remove plane->pipe mapping from SAREA private after all

We can figure out which pipe a given plane is mapped to by looking at the
display control registers instead of tracking it in a new SAREA private field.
If this becomes a performance problem, we could move to an ioctl based solution
by adding a new parameter for the DDX to set (defaulting to the old behavior if
the param was never set of course).
shared-core/i915_drm.h
shared-core/i915_drv.h
shared-core/i915_irq.c