]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Make encoder->mode_set callbacks optional
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 24 Apr 2014 21:54:37 +0000 (23:54 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 May 2014 08:56:55 +0000 (10:56 +0200)
commitf22358ef47d5d0d05d3b6c969a747b7a9b36761a
treee90dfb3b55642c9b44dfe8684f68ed45641307d7
parent258cfb39cb36f5142c937721dfde341a8b2874f6
drm/i915: Make encoder->mode_set callbacks optional

For a bunch of reasons we want to move away from the ->mode_set
callbacks: All hw state setup needs to move into ->enable hooks (so
that DOMS can do runtime pm) and all the configuration setup needs to
move into the compute_config functions.

To start with this make the enocer->mode_set callback optional.

Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c