OSDN Git Service

drm/i915: Use the new __drm_atomic_helper_crtc_reset() helper.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 1 Mar 2019 12:56:17 +0000 (13:56 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 25 Apr 2019 09:02:04 +0000 (11:02 +0200)
commit842a07a7d044d7cc5d5a2f2bf9c1098acdfb93f3
tree320e46b2742ca9bbbf7da8db2d270fcd6e682d6b
parente3a9d6c53195591303b7f165f3bb0226741f911e
drm/i915: Use the new __drm_atomic_helper_crtc_reset() helper.

i915 has its own hw readout and doesn't use the reset helpers directly.
Still it has 2 places where it initialises the crtc_state. Fix those
by calling __drm_atomic_helper_crtc_reset().

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Not-nacked-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Acked-by: Jani Nikula <jani.nikula@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190301125627.7285-8-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/i915/intel_display.c