]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: make encoder enable and disable hooks optional
authorJani Nikula <jani.nikula@intel.com>
Tue, 16 Oct 2018 12:41:34 +0000 (15:41 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 18 Oct 2018 12:10:29 +0000 (15:10 +0300)
commitc84c6fe30302721486dd703727a30c8eafee9a1e
treeb498429ef758ed86d8b4a7c48cf6a21315c01391
parent27a981b614d5fe5ec89657467b575c2a957ecd99
drm/i915: make encoder enable and disable hooks optional

Encoders are not alike, make enable and disable hooks optional like
other hooks. Utilize this in DSI code, and remove the silly nop hook.

v2: Add the check also to intel_sanitize_encoder() (Madhav)

Reviewed-by: Madhav Chauhan <madhav.chauhan@intel.com>
Acked-by: Ville Syrjala <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181016124134.10257-1-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/vlv_dsi.c