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

fsl_dcu_drm_output.h (722B)


      1/* SPDX-License-Identifier: GPL-2.0-or-later */
      2/*
      3 * Copyright 2015 Freescale Semiconductor, Inc.
      4 *
      5 * Freescale DCU drm device driver
      6 */
      7
      8#ifndef __FSL_DCU_DRM_CONNECTOR_H__
      9#define __FSL_DCU_DRM_CONNECTOR_H__
     10
     11struct fsl_dcu_drm_connector {
     12	struct drm_connector base;
     13	struct drm_encoder *encoder;
     14	struct drm_panel *panel;
     15};
     16
     17static inline struct fsl_dcu_drm_connector *
     18to_fsl_dcu_connector(struct drm_connector *con)
     19{
     20	return con ? container_of(con, struct fsl_dcu_drm_connector, base)
     21		     : NULL;
     22}
     23
     24int fsl_dcu_drm_encoder_create(struct fsl_dcu_drm_device *fsl_dev,
     25			       struct drm_crtc *crtc);
     26int fsl_dcu_create_outputs(struct fsl_dcu_drm_device *fsl_dev);
     27
     28#endif /* __FSL_DCU_DRM_CONNECTOR_H__ */