summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_crtc_helper.c
diff options
context:
space:
mode:
authorMichał Winiarski <michal.winiarski@intel.com>2018-03-19 10:53:37 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2018-03-19 12:23:01 +0000
commitb813d50e869aeda09ccf22e8d869e61b63389e4d (patch)
tree0b8f3f08e460930c9e425416860350fd38eace21 /drivers/gpu/drm/drm_crtc_helper.c
parenteacd8391f977d3800cc41a026f9f81fce210a78c (diff)
downloadlinux-b813d50e869aeda09ccf22e8d869e61b63389e4d.tar.bz2
drm/i915/guc: Log runtime should consist of both mapping and relay
Currently, we're treating relay and mapping of GuC log as a separate concepts. We're also using inconsistent locking, sometimes using relay_lock, sometimes using struct mutex. Let's correct that. Anything touching the runtime is now serialized using runtime.lock, while we're still using struct mutex as inner lock for mapping. We're still racy in setting the log level - but we'll take care of that in the following patches. v2: Tidy locking (Sagar) v3: Remove obsoleted comment (Sagar) Signed-off-by: Michał Winiarski <michal.winiarski@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: Sagar Arun Kamble <sagar.a.kamble@intel.com> Cc: Michal Wajdeczko <michal.wajdeczko@intel.com> Reviewed-by: Sagar Arun Kamble <sagar.a.kamble@intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20180319095348.9716-2-michal.winiarski@intel.com
Diffstat (limited to 'drivers/gpu/drm/drm_crtc_helper.c')
0 files changed, 0 insertions, 0 deletions