diff options
author | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2018-03-26 19:48:21 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-03-28 20:35:12 +0100 |
commit | f6a70b59705109edb935674d36a5065fe2a5b4ad (patch) | |
tree | 5612ec210ca009dd3b2293e070e5290d2cb9f03c /drivers/gpu/drm/i915/intel_guc.h | |
parent | drm/i915/guc: Prepare send() function to accept bigger response (diff) | |
download | linux-dev-f6a70b59705109edb935674d36a5065fe2a5b4ad.tar.xz linux-dev-f6a70b59705109edb935674d36a5065fe2a5b4ad.zip |
drm/i915/guc: Implement response handling in send_mmio()
We're using data encoded in the status MMIO as return value from send
function, but GuC may also write more data in remaining MMIO regs.
Let's copy content of these registers to the buffer provided by caller.
v2: new line (Michel)
v3: updated commit message
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Oscar Mateo <oscar.mateo@intel.com>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180326194829.58836-5-michal.wajdeczko@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_guc.h')
0 files changed, 0 insertions, 0 deletions