drm/i915: Move the TRANS_DDI_FUNC_CTL enable to a later point
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 17 Apr 2020 13:47:18 +0000 (16:47 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 20 Apr 2020 18:21:10 +0000 (21:21 +0300)
commitc38730987b4a3652ed2c350a2679ca228b0ab284
tree58d1a6b92939128d6dd0fd39ad836061dd583d58
parent02a715c371d2b411687fbbb1e57020bcbc41f6c4
drm/i915: Move the TRANS_DDI_FUNC_CTL enable to a later point

No reason that I can see why we should enable TRANS_DDI_FUNC_CTL
before we set up the watermarks of configure the mbus stuff.
In fact reordering these seems to match the bspec sequence better,
and crucially will allow us to push the TRANS_DDI_FUNC_CTL enable
into the encoder enable hook as a followup.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200417134720.16654-2-ville.syrjala@linux.intel.com
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_display.c