drm/i915: Move num_plane to the intel_device_info structure
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 7 Feb 2014 19:12:49 +0000 (19:12 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 12 Feb 2014 17:52:51 +0000 (18:52 +0100)
commit22d3fd4600fcb3da3df63157234a241485b58157
treeeeca264628871f65564c93d75ae94c6431fb1903
parent5c969aa7e152e9eafd8cb3c2788649d168c2ebac
drm/i915: Move num_plane to the intel_device_info structure

And rename it to num_sprites as this value doesn't count the primary
plane.

This limit lives with num_pipes really, and now that dev_priv->info is
writable we can put it there instead.

While at it, introduce a intel_device_info_runtime_init() where we'll be
able to gather the device info fields at run-time.

v2: rename num_plane to num_sprites (Ville Syrjälä)
v3: rebase on top of latest drm-nightly

Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com> (for v2)
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> (for v2)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c
This page took 0.025717 seconds and 5 git commands to generate.