]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: introduce struct intel_set_config
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 4 Jul 2012 20:16:09 +0000 (22:16 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Sep 2012 06:00:32 +0000 (08:00 +0200)
commit864c0907d11d92c1dc391e327b544e9f475b751b
tree8aad9c4cde0891167ee7a249de484540c337818e
parentb4f1efa4c50bb21d3d8e7d540fc9b9cfd74f62c8
drm/i915: introduce struct intel_set_config

intel_crtc_set_config is an unwidly beast and is in serious need of
some function extraction. To facilitate that, introduce a struct to
keep track of all the state involved. Atm it doesn't do much more than
keep track of all the allocated memory.

v2: Apply some bikeshed to intel_set_config_free, as suggested by
Jesse Barnes.

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h