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

tidss_plane.h (582B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
      4 * Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
      5 */
      6
      7#ifndef __TIDSS_PLANE_H__
      8#define __TIDSS_PLANE_H__
      9
     10#define to_tidss_plane(p) container_of((p), struct tidss_plane, plane)
     11
     12struct tidss_device;
     13
     14struct tidss_plane {
     15	struct drm_plane plane;
     16
     17	u32 hw_plane_id;
     18};
     19
     20struct tidss_plane *tidss_plane_create(struct tidss_device *tidss,
     21				       u32 hw_plane_id, u32 plane_type,
     22				       u32 crtc_mask, const u32 *formats,
     23				       u32 num_formats);
     24
     25#endif