]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915/dsb: function to trigger workload execution of DSB.
authorAnimesh Manna <animesh.manna@intel.com>
Fri, 20 Sep 2019 11:59:27 +0000 (17:29 +0530)
committerJani Nikula <jani.nikula@intel.com>
Mon, 23 Sep 2019 07:12:26 +0000 (10:12 +0300)
commit1abf329a713d2772257470873d57794d2404018d
tree71acef85aa81a9c81125172717929f40fe7c2d7d
parentf7619c47983431fc5ddfa30d8f921a6a40e0223a
drm/i915/dsb: function to trigger workload execution of DSB.

Batch buffer will be created through dsb-reg-write function which can have
single/multiple request based on usecase and once the buffer is ready
commit function will trigger the execution of the batch buffer. All
the registers will be updated simultaneously.

v1: Initial version.
v2: Optimized code few places. (Chris)
v3: USed DRM_ERROR for dsb head/tail programming failure. (Shashank)
v4: reset ins_start_offset after commit. (Jani)

Cc: Imre Deak <imre.deak@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Shashank Sharma <shashank.sharma@intel.com>
Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Animesh Manna <animesh.manna@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190920115930.27829-8-animesh.manna@intel.com
drivers/gpu/drm/i915/display/intel_dsb.c
drivers/gpu/drm/i915/display/intel_dsb.h
drivers/gpu/drm/i915/i915_reg.h