cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

intel_fb_pin.h (659B)


      1/* SPDX-License-Identifier: MIT */
      2/*
      3 * Copyright © 2021 Intel Corporation
      4 */
      5
      6#ifndef __INTEL_FB_PIN_H__
      7#define __INTEL_FB_PIN_H__
      8
      9#include <linux/types.h>
     10
     11struct drm_framebuffer;
     12struct i915_vma;
     13struct intel_plane_state;
     14struct i915_ggtt_view;
     15
     16struct i915_vma *
     17intel_pin_and_fence_fb_obj(struct drm_framebuffer *fb,
     18			   bool phys_cursor,
     19			   const struct i915_ggtt_view *view,
     20			   bool uses_fence,
     21			   unsigned long *out_flags);
     22
     23void intel_unpin_fb_vma(struct i915_vma *vma, unsigned long flags);
     24
     25int intel_plane_pin_fb(struct intel_plane_state *plane_state);
     26void intel_plane_unpin_fb(struct intel_plane_state *old_plane_state);
     27
     28#endif