diff options
author | Ander Conselvan de Oliveira | 2015-03-20 15:18:02 +0100 |
---|---|---|
committer | Daniel Vetter | 2015-03-26 15:12:26 +0100 |
commit | 49172fee6173d213cf711bfad751e1b38e8fdaaf (patch) | |
tree | 4942292c7516c45d8de9479896ad5e50413da8fa /drivers/gpu/drm/i915/intel_drv.h | |
parent | drm/i915: Add intel_atomic_get_crtc_state() helper function (diff) | |
download | kernel-qcow2-linux-49172fee6173d213cf711bfad751e1b38e8fdaaf.tar.gz kernel-qcow2-linux-49172fee6173d213cf711bfad751e1b38e8fdaaf.tar.xz kernel-qcow2-linux-49172fee6173d213cf711bfad751e1b38e8fdaaf.zip |
drm/i915: Pass acquire ctx also to intel_release_load_detect_pipe()
For now this is not necessary since intel_set_mode() doesn't acquire any
new locks. However, once that function is converted to atomic, that will
change, since we'll pass an atomic state to it, and that needs to have
the right acquire context set.
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_drv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h index 267bcfc32f13..cb57b9c446f3 100644 --- a/drivers/gpu/drm/i915/intel_drv.h +++ b/drivers/gpu/drm/i915/intel_drv.h @@ -959,7 +959,8 @@ bool intel_get_load_detect_pipe(struct drm_connector *connector, struct intel_load_detect_pipe *old, struct drm_modeset_acquire_ctx *ctx); void intel_release_load_detect_pipe(struct drm_connector *connector, - struct intel_load_detect_pipe *old); + struct intel_load_detect_pipe *old, + struct drm_modeset_acquire_ctx *ctx); int intel_pin_and_fence_fb_obj(struct drm_plane *plane, struct drm_framebuffer *fb, const struct drm_plane_state *plane_state, |