plateform stringclasses 1
value | repo_name stringclasses 2
values | name stringlengths 1 78 | ext stringclasses 2
values | path stringlengths 15 1.11k | size int64 1 8.55M | source_encoding stringclasses 11
values | md5 stringlengths 32 32 | text stringlengths 0 8.49M |
|---|---|---|---|---|---|---|---|---|
google | android | ast_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/ast/ast_main.c | 13,670 | utf_8 | aaacd88dc51594024db0a67e180590e4 | /*
*/
#include <drm/drmP.h>
#include "ast_drv.h"
#include <drm/drm_fb_helper.h>
#include <drm/drm_crtc_helper.h>
#include "ast_dram_tables.h"
void ast_set_index_reg_mask(struct ast_private *ast,
uint32_t base, uint8_t index,
uint8_t mask, uint8_t val)
{
u8 tmp;
ast_io_write8(ast, base, index);
tmp = (... |
google | android | ast_post | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/ast/ast_post.c | 44,121 | utf_8 | 122a699172dae7e14a851994f539fc1d | /*
*/
#include <drm/drmP.h>
#include "ast_drv.h"
#include "ast_dram_tables.h"
static void ast_init_dram_2300(struct drm_device *dev);
void ast_enable_vga(struct drm_device *dev)
{
struct ast_private *ast = dev->dev_private;
ast_io_write8(ast, AST_IO_VGA_ENABLE_PORT, 0x01);
ast_io_write8(ast, AST_IO_MISC_PORT_WRITE,... |
google | android | ast_fb | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/ast/ast_fb.c | 9,594 | utf_8 | 9074174f4406e95a2fcb5bbd3802393d | /*
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/tty.h>
#include <linux/sysrq.h>
#include <linux/delay.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <drm/drmP.h>
#include <drm/drm_crtc.h>
#include <drm/drm_fb_... |
google | android | ast_dp501 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/ast/ast_dp501.c | 9,774 | utf_8 | 799a835e2d41609611ce0a0a589b50bc |
#include <linux/firmware.h>
#include <drm/drmP.h>
#include "ast_drv.h"
MODULE_FIRMWARE("ast_dp501_fw.bin");
int ast_load_dp501_microcode(struct drm_device *dev)
{
struct ast_private *ast = dev->dev_private;
static char *fw_name = "ast_dp501_fw.bin";
int err;
err = request_firmware(&ast->dp501_fw, fw_name, dev->de... |
google | android | ast_ttm | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/ast/ast_ttm.c | 10,632 | utf_8 | 7607c4eb12615c263e46def30181f095 | /*
*/
#include <drm/drmP.h>
#include "ast_drv.h"
#include <ttm/ttm_page_alloc.h>
static inline struct ast_private *
ast_bdev(struct ttm_bo_device *bd)
{
return container_of(bd, struct ast_private, ttm.bdev);
}
static int
ast_ttm_mem_global_init(struct drm_global_reference *ref)
{
return ttm_mem_global_init(ref->obje... |
google | android | adv7511 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/i2c/adv7511.c | 27,628 | utf_8 | 854ca94e380c5373ff6cbecf413989c1 | /*
* Analog Devices ADV7511 HDMI transmitter driver
*
*/
#include <linux/device.h>
#include <linux/gpio/consumer.h>
#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/regmap.h>
#include <linux/slab.h>
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_edid.h>
#include <drm/drm_enc... |
google | android | sil164_drv | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/i2c/sil164_drv.c | 12,180 | utf_8 | 5994eed9171a54827ce12bcf6a7d435a | /*
*
*/
#include <linux/module.h>
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_encoder_slave.h>
#include <drm/i2c/sil164.h>
struct sil164_priv {
struct sil164_encoder_params config;
struct i2c_client *duallink_slave;
uint8_t saved_state[0x10];
uint8_t saved_slave_state[0x10];
};
#defin... |
google | android | tda998x_drv | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/i2c/tda998x_drv.c | 47,844 | utf_8 | 5ae32d6d076502a4315d71124cf872ce | /*
*/
#include <linux/component.h>
#include <linux/hdmi.h>
#include <linux/module.h>
#include <linux/irq.h>
#include <sound/asoundef.h>
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_edid.h>
#include <drm/drm_of.h>
#include <drm/i2c/tda998x.h>
#define DBG(fmt, ...) DRM_DEBUG(fmt"\n", ##__VA_A... |
google | android | ch7006_drv | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/i2c/ch7006_drv.c | 15,401 | utf_8 | 9ca998a843bb1fa868b9c78c24052ae0 | /*
*
*/
#include <linux/module.h>
#include "ch7006_priv.h"
/* DRM encoder functions */
static void ch7006_encoder_set_config(struct drm_encoder *encoder,
void *params)
{
struct ch7006_priv *priv = to_ch7006_priv(encoder);
priv->params = *(struct ch7006_encoder_params *)params;
}
static void ch7006_encoder... |
google | android | ch7006_mode | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/i2c/ch7006_mode.c | 15,947 | utf_8 | a62acaa801488b128f42476a010412e8 | /*
*
*/
#include "ch7006_priv.h"
const char * const ch7006_tv_norm_names[] = {
[TV_NORM_PAL] = "PAL",
[TV_NORM_PAL_M] = "PAL-M",
[TV_NORM_PAL_N] = "PAL-N",
[TV_NORM_PAL_NC] = "PAL-Nc",
[TV_NORM_PAL_60] = "PAL-60",
[TV_NORM_NTSC_M] = "NTSC-M",
[TV_NORM_NTSC_J] = "NTSC-J",
};
#define NTSC_LIKE_TIMINGS .vrefresh ... |
google | android | virtgpu_prime | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/virtio/virtgpu_prime.c | 2,206 | utf_8 | f454864cf7b3e77643eef29b2c362d12 | /*
*
* Authors: Andreas Pokorny
*/
#include "virtgpu_drv.h"
/* Empty Implementations as there should not be any other driver for a virtual
* device that might share buffers with virtgpu */
int virtgpu_gem_prime_pin(struct drm_gem_object *obj)
{
WARN_ONCE(1, "not implemented");
return -ENODEV;
}
void virtgpu_gem_p... |
google | android | virtgpu_ttm | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/virtio/virtgpu_ttm.c | 12,191 | utf_8 | b9df6552eeb407c8087065557b69cf61 | /*
*/
#include <ttm/ttm_bo_api.h>
#include <ttm/ttm_bo_driver.h>
#include <ttm/ttm_placement.h>
#include <ttm/ttm_page_alloc.h>
#include <ttm/ttm_module.h>
#include <drm/drmP.h>
#include <drm/drm.h>
#include <drm/virtgpu_drm.h>
#include "virtgpu_drv.h"
#include <linux/delay.h>
#define DRM_FILE_PAGE_OFFSET (0x100000000... |
google | android | virtgpu_fb | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/virtio/virtgpu_fb.c | 11,716 | utf_8 | 4af59bd55e20ea8f31df27f3b303e97e | /*
*/
#include <drm/drmP.h>
#include <drm/drm_fb_helper.h>
#include "virtgpu_drv.h"
#define VIRTIO_GPU_FBCON_POLL_PERIOD (HZ / 60)
struct virtio_gpu_fbdev {
struct drm_fb_helper helper;
struct virtio_gpu_framebuffer vgfb;
struct list_head fbdev_list;
struct virtio_gpu_device *vgdev;
struct... |
google | android | virtgpu_display | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/virtio/virtgpu_display.c | 15,332 | utf_8 | 581e06dfbf86d59520da7394709ada1b | /*
*/
#include "virtgpu_drv.h"
#include <drm/drm_crtc_helper.h>
#include <drm/drm_atomic_helper.h>
#define XRES_MIN 320
#define YRES_MIN 200
#define XRES_DEF 1024
#define YRES_DEF 768
#define XRES_MAX 8192
#define YRES_MAX 8192
static void virtio_gpu_crtc_gamma_set(struct drm_crtc *crtc,
u16 *red, u... |
google | android | virtgpu_kms | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/virtio/virtgpu_kms.c | 8,717 | utf_8 | 433e202a80b1b24691b7332c8ad1e5b8 | /*
*/
#include <linux/virtio.h>
#include <linux/virtio_config.h>
#include <drm/drmP.h>
#include "virtgpu_drv.h"
static int virtio_gpu_fbdev = 1;
MODULE_PARM_DESC(fbdev, "Disable/Enable framebuffer device & console");
module_param_named(fbdev, virtio_gpu_fbdev, int, 0400);
static void virtio_gpu_config_changed_work_fun... |
google | android | virtgpu_fence | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/virtio/virtgpu_fence.c | 3,749 | utf_8 | c9485801e037c06c400ab6f49d482cbe | /*
*/
#include <drm/drmP.h>
#include "virtgpu_drv.h"
static const char *virtio_get_driver_name(struct fence *f)
{
return "virtio_gpu";
}
static const char *virtio_get_timeline_name(struct fence *f)
{
return "controlq";
}
static bool virtio_enable_signaling(struct fence *f)
{
return true;
}
static bool virtio_signal... |
google | android | virtgpu_plane | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/virtio/virtgpu_plane.c | 3,767 | utf_8 | 26c3fb740fa7d6deac8952dc5a9a93b9 | /*
*/
#include "virtgpu_drv.h"
#include <drm/drm_plane_helper.h>
#include <drm/drm_atomic_helper.h>
static const uint32_t virtio_gpu_formats[] = {
DRM_FORMAT_XRGB8888,
DRM_FORMAT_ARGB8888,
DRM_FORMAT_BGRX8888,
DRM_FORMAT_BGRA8888,
DRM_FORMAT_RGBX8888,
DRM_FORMAT_RGBA8888,
DRM_FORMAT_XBGR8888,
DRM_FORMAT_ABGR88... |
google | android | virtgpu_debugfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/virtio/virtgpu_debugfs.c | 2,142 | utf_8 | d3760c5e3281c2f8340058dc43967c06 | /*
*/
#include <linux/debugfs.h>
#include "drmP.h"
#include "virtgpu_drv.h"
static int
virtio_gpu_debugfs_irq_info(struct seq_file *m, void *data)
{
struct drm_info_node *node = (struct drm_info_node *) m->private;
struct virtio_gpu_device *vgdev = node->minor->dev->dev_private;
seq_printf(m, "fence %llu %lld\n",
... |
google | android | virtgpu_gem | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/virtio/virtgpu_gem.c | 4,941 | utf_8 | 6a874772024b57aec9391cf2c3928828 | /*
*/
#include <drm/drmP.h>
#include "virtgpu_drv.h"
void virtio_gpu_gem_free_object(struct drm_gem_object *gem_obj)
{
struct virtio_gpu_object *obj = gem_to_virtio_gpu_obj(gem_obj);
if (obj)
virtio_gpu_object_unref(&obj);
}
struct virtio_gpu_object *virtio_gpu_alloc_object(struct drm_device *dev,
size_t s... |
google | android | virtgpu_drm_bus | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/virtio/virtgpu_drm_bus.c | 2,686 | utf_8 | f8c484682405aba144dc74d50df7f29c | /*
*/
#include <linux/pci.h>
#include "virtgpu_drv.h"
int drm_virtio_set_busid(struct drm_device *dev, struct drm_master *master)
{
struct pci_dev *pdev = dev->pdev;
if (pdev) {
return drm_pci_set_busid(dev, master);
}
return 0;
}
static void virtio_pci_kick_out_firmware_fb(struct pci_dev *pci_dev)
{
struct ape... |
google | android | virtgpu_vq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/virtio/virtgpu_vq.c | 26,639 | utf_8 | 5ef03b04a851fa333cfc94830c7c823f | /*
*/
#include <drm/drmP.h>
#include "virtgpu_drv.h"
#include <linux/virtio.h>
#include <linux/virtio_config.h>
#include <linux/virtio_ring.h>
#define MAX_INLINE_CMD_SIZE 96
#define MAX_INLINE_RESP_SIZE 24
#define VBUFFER_SIZE (sizeof(struct virtio_gpu_vbuffer) \
+ MAX_INLINE_CMD_SIZE \
... |
google | android | virtgpu_object | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/virtio/virtgpu_object.c | 4,534 | utf_8 | 272eef9eb27de5ee4f77713a6bdfdf75 | /*
*/
#include "virtgpu_drv.h"
static void virtio_gpu_ttm_bo_destroy(struct ttm_buffer_object *tbo)
{
struct virtio_gpu_object *bo;
struct virtio_gpu_device *vgdev;
bo = container_of(tbo, struct virtio_gpu_object, tbo);
vgdev = (struct virtio_gpu_device *)bo->gem_base.dev->dev_private;
if (bo->hw_res_handle)
vi... |
google | android | virtgpu_ioctl | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/virtio/virtgpu_ioctl.c | 15,643 | utf_8 | a1b3baf2ce6e13871f5e02eb9011c111 | /*
*/
#include <drm/drmP.h>
#include "virtgpu_drv.h"
#include <drm/virtgpu_drm.h>
#include "ttm/ttm_execbuf_util.h"
static void convert_to_hw_box(struct virtio_gpu_box *dst,
const struct drm_virtgpu_3d_box *src)
{
dst->x = cpu_to_le32(src->x);
dst->y = cpu_to_le32(src->y);
dst->z = cpu_to_le32(src->z);
ds... |
google | android | virtgpu_drv | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/virtio/virtgpu_drv.c | 4,959 | utf_8 | c7196d58f5ab145bde9876f38eb0a081 | /*
*/
#include <linux/module.h>
#include <linux/console.h>
#include <linux/pci.h>
#include "drmP.h"
#include "drm/drm.h"
#include "virtgpu_drv.h"
static struct drm_driver driver;
static int virtio_gpu_modeset = -1;
MODULE_PARM_DESC(modeset, "Disable/Enable modesetting");
module_param_named(modeset, virtio_gpu_modeset,... |
google | android | sis_drv | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/sis/sis_drv.c | 3,778 | utf_8 | 45518f53531a154d94e9b947c6e21121 | /* sis.c -- sis driver -*- linux-c -*-
*
*
*/
#include <linux/module.h>
#include <drm/drmP.h>
#include <drm/sis_drm.h>
#include "sis_drv.h"
#include <drm/drm_pciids.h>
static struct pci_device_id pciidlist[] = {
sisdrv_PCI_IDS
};
static int sis_driver_load(struct drm_device *dev, unsigned long chipset)
{
drm_sis_p... |
google | android | sis_mm | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/sis/sis_mm.c | 9,322 | iso_8859_1 | 959c28f9a95c07e52b0a60ec0e19d827 | /**************************************************************************
*
*
*
**************************************************************************/
/*
* Authors:
* Thomas Hellström <thomas-at-tungstengraphics-dot-com>
*/
#include <drm/drmP.h>
#include <drm/sis_drm.h>
#include "sis_drv.h"
#include <v... |
google | android | rcar_du_group | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/rcar-du/rcar_du_group.c | 6,486 | utf_8 | 0cfbd4502d2931d4e930be6cad69b830 | /*
* rcar_du_group.c -- R-Car Display Unit Channels Pair
*
* (at your option) any later version.
*/
/*
* The R8A7779 DU is split in per-CRTC resources (scan-out engine, blending
* unit, timings generator, ...) and device-global resources (start/stop
* control, planes, ...) shared between the two CRTCs.
*
* T... |
google | android | rcar_du_hdmienc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/rcar-du/rcar_du_hdmienc.c | 4,638 | utf_8 | 34c00109d1e7fff2c69d1cc8aaf56751 | /*
* R-Car Display Unit HDMI Encoder
*
* (at your option) any later version.
*/
#include <linux/slab.h>
#include <drm/drmP.h>
#include <drm/drm_crtc.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_encoder_slave.h>
#include "rcar_du_drv.h"
#include "rcar_du_encoder.h"
#include "rcar_du_hdmienc.h"
#include "rca... |
google | android | rcar_du_kms | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/rcar-du/rcar_du_kms.c | 22,373 | utf_8 | c3c8d7eb1e528f64a7f532fd9f168627 | /*
* rcar_du_kms.c -- R-Car Display Unit Mode Setting
*
* (at your option) any later version.
*/
#include <drm/drmP.h>
#include <drm/drm_atomic.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_crtc.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_fb_cma_helper.h>
#include <drm/drm_gem_cma_helper.h>
#i... |
google | android | rcar_du_hdmicon | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/rcar-du/rcar_du_hdmicon.c | 3,868 | utf_8 | 7416023472104617584dc3581912e4f2 | /*
* R-Car Display Unit HDMI Connector
*
* (at your option) any later version.
*/
#include <drm/drmP.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_crtc.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_encoder_slave.h>
#include "rcar_du_drv.h"
#include "rcar_du_encoder.h"
#include "rcar_du_hdmicon.h"
... |
google | android | rcar_du_vgacon | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/rcar-du/rcar_du_vgacon.c | 2,705 | utf_8 | 1939f1c65200aaceaeb4ad5d8d38c769 | /*
* rcar_du_vgacon.c -- R-Car Display Unit VGA Connector
*
* (at your option) any later version.
*/
#include <drm/drmP.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_crtc.h>
#include <drm/drm_crtc_helper.h>
#include "rcar_du_drv.h"
#include "rcar_du_encoder.h"
#include "rcar_du_kms.h"
#include "rcar_du_... |
google | android | rcar_du_plane | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/rcar-du/rcar_du_plane.c | 12,497 | utf_8 | c1cd6e18f32f1a61e819796a53c40aee | /*
* rcar_du_plane.c -- R-Car Display Unit Planes
*
* (at your option) any later version.
*/
#include <drm/drmP.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_crtc.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_fb_cma_helper.h>
#include <drm/drm_gem_cma_helper.h>
#include <drm/drm_plane_helper.h>
... |
google | android | rcar_du_drv | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/rcar-du/rcar_du_drv.c | 9,375 | utf_8 | 8d5cfbb87b33bb6ee13b4481da1aa17c | /*
* rcar_du_drv.c -- R-Car Display Unit DRM driver
*
* (at your option) any later version.
*/
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/of_device.h>
#include <linux/platform_device.h>
#include <linux/pm.h>
#include <linux/slab.h>
#include <linux/... |
google | android | rcar_du_encoder | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/rcar-du/rcar_du_encoder.c | 5,372 | utf_8 | 21998865b3c1b75b43e180a4e9094f24 | /*
* rcar_du_encoder.c -- R-Car Display Unit Encoder
*
* (at your option) any later version.
*/
#include <linux/export.h>
#include <drm/drmP.h>
#include <drm/drm_crtc.h>
#include <drm/drm_crtc_helper.h>
#include "rcar_du_drv.h"
#include "rcar_du_encoder.h"
#include "rcar_du_hdmicon.h"
#include "rcar_du_hdmienc.h"... |
google | android | rcar_du_lvdsenc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.c | 4,729 | utf_8 | fbb640bb598d468e399fde7b96ba2c31 | /*
* rcar_du_lvdsenc.c -- R-Car Display Unit LVDS Encoder
*
* (at your option) any later version.
*/
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include "rcar_du_drv.h"
#include "rcar_du_encoder.h"
#include "rcar_du_lvdsenc.h"
#... |
google | android | rcar_du_lvdscon | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/rcar-du/rcar_du_lvdscon.c | 3,892 | utf_8 | 895089e2e9f17b541505b95145cbe6a6 | /*
* rcar_du_lvdscon.c -- R-Car Display Unit LVDS Connector
*
* (at your option) any later version.
*/
#include <drm/drmP.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_crtc.h>
#include <drm/drm_crtc_helper.h>
#include <video/display_timing.h>
#include <video/of_display_timing.h>
#include <video/videomod... |
google | android | rcar_du_crtc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 17,735 | utf_8 | 53459601690853bd2cba138ad608fa87 | /*
* rcar_du_crtc.c -- R-Car Display Unit CRTCs
*
* (at your option) any later version.
*/
#include <linux/clk.h>
#include <linux/mutex.h>
#include <drm/drmP.h>
#include <drm/drm_atomic.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_crtc.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_fb_cma_helper... |
google | android | tdfx_drv | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/tdfx/tdfx_drv.c | 2,686 | utf_8 | 9fbadc20e97b7b8838540cc83c3e2862 | /* tdfx_drv.c -- tdfx driver -*- linux-c -*-
*/
#include <linux/module.h>
#include <drm/drmP.h>
#include "tdfx_drv.h"
#include <drm/drm_pciids.h>
#include <drm/drm_legacy.h>
static struct pci_device_id pciidlist[] = {
tdfx_PCI_IDS
};
static const struct file_operations tdfx_driver_fops = {
.owner = THIS_MODULE,
.op... |
google | android | vgem_drv | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/vgem/vgem_drv.c | 6,929 | utf_8 | 43820af41f1d3ca1ac8f92ce9567cae9 | /*
*/
#include <linux/module.h>
#include <linux/ramfs.h>
#include <linux/shmem_fs.h>
#include <linux/dma-buf.h>
#include "vgem_drv.h"
#define DRIVER_NAME "vgem"
#define DRIVER_DESC "Virtual GEM provider"
#define DRIVER_DATE "20120112"
#define DRIVER_MAJOR 1
#define DRIVER_MINOR 0
void vgem_gem_put_pages(struct drm_vge... |
google | android | tilcdc_tfp410 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/tilcdc/tilcdc_tfp410.c | 10,408 | utf_8 | 66f332c91cb3abaaf7f9d521bf33f047 | /*
*/
#include <linux/i2c.h>
#include <linux/gpio.h>
#include <linux/of_gpio.h>
#include <linux/pinctrl/pinmux.h>
#include <linux/pinctrl/consumer.h>
#include "tilcdc_drv.h"
struct tfp410_module {
struct tilcdc_module base;
struct i2c_adapter *i2c;
int gpio;
};
#define to_tfp410_module(x) container_of(x, struct tfp... |
google | android | tilcdc_crtc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 19,416 | utf_8 | 3e95b1d8238e773015c0c9fc69403895 | /*
*/
#include "drm_flip_work.h"
#include <drm/drm_plane_helper.h>
#include "tilcdc_drv.h"
#include "tilcdc_regs.h"
struct tilcdc_crtc {
struct drm_crtc base;
const struct tilcdc_panel_info *info;
uint32_t dirty;
dma_addr_t start, end;
struct drm_pending_vblank_event *event;
int dpms;
wait_queue_head_t frame_do... |
google | android | tilcdc_drv | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/tilcdc/tilcdc_drv.c | 18,185 | utf_8 | b6929707c4a15c1f2512836d01db32b3 | /*
*/
/* LCDC DRM driver, based on da8xx-fb */
#include <linux/component.h>
#include "tilcdc_drv.h"
#include "tilcdc_regs.h"
#include "tilcdc_tfp410.h"
#include "tilcdc_panel.h"
#include "tilcdc_external.h"
#include "drm_fb_helper.h"
static LIST_HEAD(module_list);
void tilcdc_module_init(struct tilcdc_module *mod, con... |
google | android | tilcdc_panel | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/tilcdc/tilcdc_panel.c | 12,125 | utf_8 | a60dce5b97c9817fcc93c85885ec591d | /*
*/
#include <linux/pinctrl/pinmux.h>
#include <linux/pinctrl/consumer.h>
#include <linux/backlight.h>
#include <linux/gpio/consumer.h>
#include <video/display_timing.h>
#include <video/of_display_timing.h>
#include <video/videomode.h>
#include "tilcdc_drv.h"
struct panel_module {
struct tilcdc_module base;
struct... |
google | android | tilcdc_slave_compat | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c | 6,096 | utf_8 | 674f1b092dd3f6a7378ae1b3b59f0b6e | /*
*
*/
/*
* To support the old "ti,tilcdc,slave" binding the binding has to be
* transformed to the new external encoder binding.
*/
#include <linux/kernel.h>
#include <linux/of.h>
#include <linux/of_graph.h>
#include <linux/of_fdt.h>
#include <linux/slab.h>
#include <linux/list.h>
#include "tilcdc_slave_compat.h... |
google | android | tilcdc_external | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/tilcdc/tilcdc_external.c | 4,641 | utf_8 | b624077d77dcc0126e8567d07554c8bc | /*
*
*/
#include <linux/component.h>
#include <linux/of_graph.h>
#include "tilcdc_drv.h"
#include "tilcdc_external.h"
static const struct tilcdc_panel_info panel_info_tda998x = {
.ac_bias = 255,
.ac_bias_intrpt = 0,
.dma_burst_sz = 16,
.bpp = 16,
.fdd ... |
google | android | exynos_drm_core | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_drm_core.c | 2,570 | utf_8 | 61dd9e3e7a2da89968a2619205ca26fe | /* exynos_drm_core.c
*
* option) any later version.
*/
#include <drm/drmP.h>
#include "exynos_drm_drv.h"
#include "exynos_drm_crtc.h"
#include "exynos_drm_fbdev.h"
static LIST_HEAD(exynos_drm_subdrv_list);
int exynos_drm_subdrv_register(struct exynos_drm_subdrv *subdrv)
{
if (!subdrv)
return -EINVAL;
list_add_ta... |
google | android | exynos_drm_plane | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_drm_plane.c | 6,680 | utf_8 | 96a972331aca78fd4232b6f0681c8ead | /*
* option) any later version.
*
*/
#include <drm/drmP.h>
#include <drm/exynos_drm.h>
#include <drm/drm_plane_helper.h>
#include <drm/drm_atomic_helper.h>
#include "exynos_drm_drv.h"
#include "exynos_drm_crtc.h"
#include "exynos_drm_fb.h"
#include "exynos_drm_gem.h"
#include "exynos_drm_plane.h"
/*
* This function... |
google | android | exynos_drm_mic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_drm_mic.c | 11,124 | utf_8 | ddaeaee6fbf5e9e20903827456b38c75 | /*
*/
#include <linux/platform_device.h>
#include <video/of_videomode.h>
#include <linux/of_address.h>
#include <video/videomode.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/mutex.h>
#include <linux/of.h>
#include <linux/of_graph.h>
#include <linux/clk.h>
#include <drm/drmP.h>
#include <linux/... |
google | android | exynos_hdmi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_hdmi.c | 56,344 | utf_8 | 96133025a5c3378482fb36ddc42ceaa7 | /*
* option) any later version.
*
*/
#include <drm/drmP.h>
#include <drm/drm_edid.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_atomic_helper.h>
#include "regs-hdmi.h"
#include <linux/kernel.h>
#include <linux/wait.h>
#include <linux/i2c.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#inc... |
google | android | exynos_drm_crtc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_drm_crtc.c | 6,980 | utf_8 | 3f9a5ed58454536eab1f75186a849870 | /* exynos_drm_crtc.c
*
* option) any later version.
*/
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_atomic.h>
#include <drm/drm_atomic_helper.h>
#include "exynos_drm_crtc.h"
#include "exynos_drm_drv.h"
#include "exynos_drm_plane.h"
static void exynos_drm_crtc_enable(struct drm_crtc *crtc)... |
google | android | exynos_drm_fimc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_drm_fimc.c | 46,331 | utf_8 | a91ae4680a07def7b1acb9c00618a4da | /*
* option) any later version.
*
*/
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/mfd/syscon.h>
#include <linux/regmap.h>
#include <linux/clk.h>
#include <linux/pm_runtime.h>
#include <linux/of.h>
#include <linux/spinlock.h>
#include <drm/drmP.h>
#include <drm/exynos_drm.h>
#include "... |
google | android | exynos_drm_ipp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_drm_ipp.c | 44,339 | utf_8 | fd41bf1b2c16463f674eb2fbc2da5104 | /*
* option) any later version.
*
*/
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/types.h>
#include <linux/clk.h>
#include <linux/pm_runtime.h>
#include <drm/drmP.h>
#include <drm/exynos_drm.h>
#include "exynos_drm_drv.h"
#include "exynos_drm_gem.h"
#include "exynos_drm_ipp.h"
#includ... |
google | android | exynos_drm_iommu | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_drm_iommu.c | 3,518 | utf_8 | 4523d2820362209905fecf5f7f6bcb17 | /* exynos_drm_iommu.c
*
* option) any later version.
*/
#include <drmP.h>
#include <drm/exynos_drm.h>
#include <linux/dma-mapping.h>
#include <linux/iommu.h>
#include <linux/kref.h>
#include <asm/dma-iommu.h>
#include "exynos_drm_drv.h"
#include "exynos_drm_iommu.h"
/*
* drm_create_iommu_mapping - create a mapping ... |
google | android | exynos7_drm_decon | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos7_drm_decon.c | 20,856 | utf_8 | 0e5ee69563bc8acb6c2e99c135a5d1d1 | /* drivers/gpu/drm/exynos/exynos7_drm_decon.c
*
* option) any later version.
*
*/
#include <drm/drmP.h>
#include <drm/exynos_drm.h>
#include <linux/clk.h>
#include <linux/component.h>
#include <linux/kernel.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_device.h>
#include <linux/platform_... |
google | android | exynos_dp_reg | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_dp_reg.c | 32,506 | utf_8 | f1cb411d67476be4fe40fc6dc082b1d6 | /*
* Samsung DP (Display port) register interface driver.
*
* option) any later version.
*/
#include <linux/device.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/gpio.h>
#include "exynos_dp_core.h"
#include "exynos_dp_reg.h"
#define COMMON_INT_MASK_1 0
#define COMMON_INT_MASK_2 0
#define COMMON_I... |
google | android | exynos_drm_fb | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_drm_fb.c | 5,849 | utf_8 | 0cdb56a84c1d0e28b8496a93f1916ef6 | /* exynos_drm_fb.c
*
* option) any later version.
*/
#include <drm/drmP.h>
#include <drm/drm_crtc.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_fb_helper.h>
#include <drm/drm_atomic.h>
#include <drm/drm_atomic_helper.h>
#include <uapi/drm/exynos_drm.h>
#include "exynos_drm_drv.h"
#include "exynos_drm_fb.h"
#... |
google | android | exynos_dp_core | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_dp_core.c | 34,555 | utf_8 | 2c151bdcbcd22e3b3e73e605812776cf | /*
* Samsung SoC DP (Display Port) interface driver.
*
* option) any later version.
*/
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/err.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/of.h>
#include <linux/of_gpio.h>
#include <linux/of_gra... |
google | android | exynos5433_drm_decon | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 17,258 | utf_8 | e5cb0cb05df2331b8abb6109a0803f9c | /* drivers/gpu/drm/exynos5433_drm_decon.c
*
*/
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/component.h>
#include <linux/of_device.h>
#include <linux/of_gpio.h>
#include <linux/pm_runtime.h>
#include <video/exynos5433_decon.h>
#include "exynos_drm_drv.h"
#include "exynos_drm_crtc.h"
#incl... |
google | android | exynos_drm_gsc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_drm_gsc.c | 45,605 | utf_8 | fabbe27cc3a9335a189a696f19d28a28 | /*
* option) any later version.
*
*/
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/pm_runtime.h>
#include <plat/map-base.h>
#include <drm/drmP.h>
#include <drm/exynos_drm.h>
#include "regs-gsc.h"
#include "exynos_drm_drv.h"
#include "exynos_drm_ipp.h"
#include "e... |
google | android | exynos_drm_dpi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_drm_dpi.c | 8,067 | utf_8 | 2dde1e342620616d464098b56027607c | /*
* Exynos DRM Parallel output support.
*
*/
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_panel.h>
#include <drm/drm_atomic_helper.h>
#include <linux/regulator/consumer.h>
#include <video/of_videomode.h>
#include <video/videomode.h>
#include "exynos_drm_crtc.h"
struct exynos_dpi {
struct... |
google | android | exynos_drm_drv | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_drm_drv.c | 18,902 | utf_8 | d478a59c81127dece5a57e74822dc8c6 | /*
* option) any later version.
*/
#include <linux/pm_runtime.h>
#include <drm/drmP.h>
#include <drm/drm_atomic.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_crtc_helper.h>
#include <linux/component.h>
#include <drm/exynos_drm.h>
#include "exynos_drm_drv.h"
#include "exynos_drm_crtc.h"
#include "exynos_drm_... |
google | android | exynos_drm_rotator | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_drm_rotator.c | 19,308 | utf_8 | 996dc748d95215c7f18b105f0028decd | /*
*/
#include <linux/kernel.h>
#include <linux/err.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/pm_runtime.h>
#include <drm/drmP.h>
#include <drm/exynos_drm.h>
#include "regs-rotator.h"
#include "exynos_drm.h"
#include "exynos_drm_drv.... |
google | android | exynos_drm_dsi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_drm_dsi.c | 51,010 | utf_8 | d69feff7916d07443c8468b92c69f37e | /*
* Samsung SoC MIPI DSI Master driver.
*
*/
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_mipi_dsi.h>
#include <drm/drm_panel.h>
#include <drm/drm_atomic_helper.h>
#include <linux/clk.h>
#include <linux/gpio/consumer.h>
#include <linux/irq.h>
#include <linux/of_device.h>
#include <linux/o... |
google | android | exynos_drm_fimd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_drm_fimd.c | 29,384 | utf_8 | 8fde435a3fe5a4744244bbe1edcdadf4 | /* exynos_drm_fimd.c
*
* option) any later version.
*
*/
#include <drm/drmP.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/pm_runtime.h>
#include <linux/component.h>
#include <linux/mfd/syscon.h>
#include <lin... |
google | android | exynos_drm_g2d | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_drm_g2d.c | 38,101 | utf_8 | 06b2c09aa02636e34ee3b22e76d8b95f | /*
*/
#include <linux/kernel.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <linux/dma-mapping.h>
#include <linux/dma-attrs.h>
#include <li... |
google | android | exynos_drm_fbdev | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 8,377 | utf_8 | 53a2e0b17c300b9c548744acacd7f14b | /* exynos_drm_fbdev.c
*
* option) any later version.
*/
#include <drm/drmP.h>
#include <drm/drm_crtc.h>
#include <drm/drm_fb_helper.h>
#include <drm/drm_crtc_helper.h>
#include <drm/exynos_drm.h>
#include "exynos_drm_drv.h"
#include "exynos_drm_fb.h"
#include "exynos_drm_fbdev.h"
#include "exynos_drm_iommu.h"
#defin... |
google | android | exynos_mixer | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_mixer.c | 33,361 | utf_8 | fe0f7ac38f8b1980bbfed0d6a4555199 | /*
* option) any later version.
*
*/
#include <drm/drmP.h>
#include "regs-mixer.h"
#include "regs-vp.h"
#include <linux/kernel.h>
#include <linux/spinlock.h>
#include <linux/wait.h>
#include <linux/i2c.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/delay.h>
... |
google | android | exynos_drm_vidi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_drm_vidi.c | 13,942 | utf_8 | 8564e11bf38753a319d9834a42302556 | /* exynos_drm_vidi.c
*
* option) any later version.
*
*/
#include <drm/drmP.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/component.h>
#include <drm/exynos_drm.h>
#include <drm/drm_edid.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_atomic_helper.h>
#include "exynos_drm_drv.... |
google | android | exynos_drm_gem | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/exynos/exynos_drm_gem.c | 14,599 | utf_8 | e9aa38087bc8165175fc1707de381da7 | /* exynos_drm_gem.c
*
* option) any later version.
*/
#include <drm/drmP.h>
#include <drm/drm_vma_manager.h>
#include <linux/shmem_fs.h>
#include <linux/dma-buf.h>
#include <drm/exynos_drm.h>
#include "exynos_drm_drv.h"
#include "exynos_drm_gem.h"
#include "exynos_drm_iommu.h"
static int exynos_drm_alloc_buf(struct ... |
google | android | parade-ps8622 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/bridge/parade-ps8622.c | 16,425 | utf_8 | ae6dbea6db2120f1f54a5aece19e7e6b | /*
* Parade PS8622 eDP/LVDS bridge driver
*
*/
#include <linux/backlight.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/fb.h>
#include <linux/gpio.h>
#include <linux/gpio/consumer.h>
#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linu... |
google | android | nxp-ptn3460 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/bridge/nxp-ptn3460.c | 10,212 | utf_8 | bef90ee53b574b34174fce0bc278fc3a | /*
* NXP PTN3460 DP/LVDS bridge driver
*
*/
#include <linux/delay.h>
#include <linux/gpio.h>
#include <linux/gpio/consumer.h>
#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_gpio.h>
#include <linux/of_graph.h>
#include <drm/drm_panel.h>
#include "drm_crtc.h"
#include "drm_cr... |
google | android | dw_hdmi-ahb-audio | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/bridge/dw_hdmi-ahb-audio.c | 17,073 | utf_8 | e1d55bcf8eeac10ef8de29b6ad552d6f | /*
* DesignWare HDMI audio driver
*
*
* Written and tested against the Designware HDMI Tx found in iMX6.
*/
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <drm/bridge/dw_hdmi.h>
#include <drm/drm_edid.h>
#include <sound/asoundef.h>
#include ... |
google | android | dw_hdmi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/bridge/dw_hdmi.c | 52,001 | utf_8 | b3307a209c17aeea584bbf0a7e730ba4 | /*
*/
#include <linux/module.h>
#include <linux/irq.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/clk.h>
#include <linux/hdmi.h>
#include <linux/mutex.h>
#include <linux/of_device.h>
#include <linux/spinlock.h>
#include <drm/drm_of.h>
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include... |
google | android | armada_crtc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/armada/armada_crtc.c | 37,966 | utf_8 | 1a6e457bfc5058470c26ca5a8cacc50b | /*
*/
#include <linux/clk.h>
#include <linux/component.h>
#include <linux/of_device.h>
#include <linux/platform_device.h>
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_plane_helper.h>
#include "armada_crtc.h"
#include "armada_drm.h"
#include "armada_fb.h"
#include "armada_gem.h"
#include "ar... |
google | android | armada_510 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/armada/armada_510.c | 2,087 | utf_8 | a4e9239c689c0e98ae2591e5e8144366 | /*
*
* Armada 510 (aka Dove) variant support
*/
#include <linux/clk.h>
#include <linux/io.h>
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include "armada_crtc.h"
#include "armada_drm.h"
#include "armada_hw.h"
static int armada510_crtc_init(struct armada_crtc *dcrtc, struct device *dev)
{
struct clk *clk;... |
google | android | armada_debugfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/armada/armada_debugfs.c | 4,348 | utf_8 | f30bd98339bf20638d6f30e2a9e45213 | /*
*/
#include <linux/ctype.h>
#include <linux/debugfs.h>
#include <linux/module.h>
#include <linux/seq_file.h>
#include <drm/drmP.h>
#include "armada_crtc.h"
#include "armada_drm.h"
static int armada_debugfs_gem_linear_show(struct seq_file *m, void *data)
{
struct drm_info_node *node = m->private;
struct drm_device... |
google | android | armada_fbdev | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/armada/armada_fbdev.c | 4,821 | utf_8 | 676490e0d6ae1580ca77f8dd6f6d0030 | /*
*/
#include <linux/errno.h>
#include <linux/fb.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <drm/drmP.h>
#include <drm/drm_fb_helper.h>
#include "armada_crtc.h"
#include "armada_drm.h"
#include "armada_fb.h"
#include "armada_gem.h"
static /*const*/ struct fb_ops armada_fb_ops = {
.owner = THIS_... |
google | android | armada_drv | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/armada/armada_drv.c | 9,033 | utf_8 | aac0a6ab417f0a46020a33ec3b9e68c5 | /*
*/
#include <linux/clk.h>
#include <linux/component.h>
#include <linux/module.h>
#include <linux/of_graph.h>
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_of.h>
#include "armada_crtc.h"
#include "armada_drm.h"
#include "armada_gem.h"
#include "armada_hw.h"
#include <drm/armada_drm.h>
#inc... |
google | android | armada_overlay | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/armada/armada_overlay.c | 14,901 | utf_8 | ef4b0de2fc361a02b8b192bf4d99f7dd | /*
*/
#include <drm/drmP.h>
#include <drm/drm_plane_helper.h>
#include "armada_crtc.h"
#include "armada_drm.h"
#include "armada_fb.h"
#include "armada_gem.h"
#include "armada_hw.h"
#include <drm/armada_drm.h>
#include "armada_ioctlP.h"
struct armada_ovl_plane_properties {
uint32_t colorkey_yr;
uint32_t colorkey_ug;
... |
google | android | armada_gem | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/armada/armada_gem.c | 14,935 | utf_8 | 68a09a9e7ca5d2c006a5398c1ded2037 | /*
*/
#include <linux/dma-buf.h>
#include <linux/dma-mapping.h>
#include <linux/shmem_fs.h>
#include <drm/drmP.h>
#include "armada_drm.h"
#include "armada_gem.h"
#include <drm/armada_drm.h>
#include "armada_ioctlP.h"
static int armada_gem_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
{
struct armada_gem_... |
google | android | armada_fb | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/armada/armada_fb.c | 4,428 | utf_8 | 01a604610f2c6012295ea472f93b8e16 | /*
*/
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_fb_helper.h>
#include "armada_drm.h"
#include "armada_fb.h"
#include "armada_gem.h"
#include "armada_hw.h"
static void armada_fb_destroy(struct drm_framebuffer *fb)
{
struct armada_framebuffer *dfb = drm_fb_to_armada_fb(fb);
drm_framebuff... |
google | android | gpu_scheduler | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 13,828 | utf_8 | 256e84a628a3c180277da96daef3fad7 | /*
*
*
*/
#include <linux/kthread.h>
#include <linux/wait.h>
#include <linux/sched.h>
#include <drm/drmP.h>
#include "gpu_scheduler.h"
#define CREATE_TRACE_POINTS
#include "gpu_sched_trace.h"
static bool amd_sched_entity_is_ready(struct amd_sched_entity *entity);
static void amd_sched_wakeup(struct amd_gpu_scheduler... |
google | android | sched_fence | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/amd/scheduler/sched_fence.c | 3,144 | utf_8 | d571c62342e105e3e1d4899f77a6697f | /*
*
*
*/
#include <linux/kthread.h>
#include <linux/wait.h>
#include <linux/sched.h>
#include <drm/drmP.h>
#include "gpu_scheduler.h"
struct amd_sched_fence *amd_sched_fence_create(struct amd_sched_entity *s_entity, void *owner)
{
struct amd_sched_fence *fence = NULL;
unsigned seq;
fence = kmem_cache_zalloc(sche... |
google | android | amdgpu_sched | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | 3,179 | utf_8 | 50287fe2acc21b6708dd68b564a68762 | /*
*
*
*/
#include <linux/kthread.h>
#include <linux/wait.h>
#include <linux/sched.h>
#include <drm/drmP.h>
#include "amdgpu.h"
#include "amdgpu_trace.h"
static struct fence *amdgpu_sched_dependency(struct amd_sched_job *sched_job)
{
struct amdgpu_job *job = to_amdgpu_job(sched_job);
return amdgpu_sync_get_fence(&... |
google | android | gfx_v7_0 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 169,309 | utf_8 | 49eb812ac5560771205a4c3493fd698b | /*
*
*/
#include <linux/firmware.h>
#include "drmP.h"
#include "amdgpu.h"
#include "amdgpu_ih.h"
#include "amdgpu_gfx.h"
#include "cikd.h"
#include "cik.h"
#include "atom.h"
#include "amdgpu_ucode.h"
#include "clearstate_ci.h"
#include "uvd/uvd_4_2_d.h"
#include "dce/dce_8_0_d.h"
#include "dce/dce_8_0_sh_mask.h"
#inc... |
google | android | iceland_dpm | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/amd/amdgpu/iceland_dpm.c | 4,820 | utf_8 | 47b2f3ea1cbc4e561261ec9880415a35 | /*
*
*/
#include <linux/firmware.h>
#include "drmP.h"
#include "amdgpu.h"
#include "iceland_smumgr.h"
MODULE_FIRMWARE("amdgpu/topaz_smc.bin");
static void iceland_dpm_set_funcs(struct amdgpu_device *adev);
static int iceland_dpm_early_init(void *handle)
{
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
... |
google | android | sdma_v3_0 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 45,300 | utf_8 | b120d0e403810e67765e82964f756222 | /*
*
* Authors: Alex Deucher
*/
#include <linux/firmware.h>
#include <drm/drmP.h>
#include "amdgpu.h"
#include "amdgpu_ucode.h"
#include "amdgpu_trace.h"
#include "vi.h"
#include "vid.h"
#include "oss/oss_3_0_d.h"
#include "oss/oss_3_0_sh_mask.h"
#include "gmc/gmc_8_1_d.h"
#include "gmc/gmc_8_1_sh_mask.h"
#include "... |
google | android | amdgpu_bo_list | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c | 7,057 | ibm852 | a3f7a7c474151d7fa2df44f59bc15820 | /*
*/
#include <drm/drmP.h>
#include "amdgpu.h"
#include "amdgpu_trace.h"
static int amdgpu_bo_list_create(struct amdgpu_fpriv *fpriv,
struct amdgpu_bo_list **result,
int *id)
{
int r;
*result = kzalloc(sizeof(struct amdgpu_bo_list), GFP_KERNEL);
if (!*result)
return -ENOMEM;
mutex_lock(&fpriv->bo_list... |
google | android | fiji_dpm | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/amd/amdgpu/fiji_dpm.c | 4,350 | utf_8 | ca62b99b93c329db42582c94e61f534c | /*
*
*/
#include <linux/firmware.h>
#include "drmP.h"
#include "amdgpu.h"
#include "fiji_smumgr.h"
MODULE_FIRMWARE("amdgpu/fiji_smc.bin");
static void fiji_dpm_set_funcs(struct amdgpu_device *adev);
static int fiji_dpm_early_init(void *handle)
{
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
fiji_dpm_... |
google | android | amdgpu_acpi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 21,691 | utf_8 | 90d473a1d96b6491605e183c21e4a5e9 | /*
*
*/
#include <linux/pci.h>
#include <linux/acpi.h>
#include <linux/slab.h>
#include <linux/power_supply.h>
#include <acpi/video.h>
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include "amdgpu.h"
#include "amdgpu_acpi.h"
#include "atom.h"
#define ACPI_AC_CLASS "ac_adapter"
extern void amdgpu_p... |
google | android | amdgpu_drv | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 22,152 | utf_8 | 8b3e2505137c70607857aadb5acd774e | /**
* \file amdgpu_drv.c
* AMD Amdgpu driver
*
*/
#include <drm/drmP.h>
#include <drm/amdgpu_drm.h>
#include <drm/drm_gem.h>
#include "amdgpu_drv.h"
#include <drm/drm_pciids.h>
#include <linux/console.h>
#include <linux/module.h>
#include <linux/pm_runtime.h>
#include <linux/vga_switcheroo.h>
#include "drm_crtc_hel... |
google | android | vi | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/amd/amdgpu/vi.c | 38,967 | utf_8 | b7024f2dfbd05602a7af3dd2dd4e776a | /*
*
*/
#include <linux/firmware.h>
#include <linux/slab.h>
#include <linux/module.h>
#include "drmP.h"
#include "amdgpu.h"
#include "amdgpu_atombios.h"
#include "amdgpu_ih.h"
#include "amdgpu_uvd.h"
#include "amdgpu_vce.h"
#include "amdgpu_ucode.h"
#include "atom.h"
#include "gmc/gmc_8_1_d.h"
#include "gmc/gmc_8_1_s... |
google | android | atombios_i2c | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/amd/amdgpu/atombios_i2c.c | 4,359 | utf_8 | 5ff5950c0bf7a5d323a57a1d314c0646 | /*
*
* Authors: Alex Deucher
*
*/
#include <drm/drmP.h>
#include <drm/amdgpu_drm.h>
#include "amdgpu.h"
#include "atom.h"
#include "amdgpu_atombios.h"
#define TARGET_HW_I2C_CLOCK 50
/* these are a limitation of ProcessI2cChannelTransaction not the hw */
#define ATOM_MAX_HW_I2C_WRITE 3
#define ATOM_MAX_HW_I2C_READ ... |
google | android | atombios_crtc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/amd/amdgpu/atombios_crtc.c | 26,194 | utf_8 | b39301532abe59c0383206ad70bd7ced | /*
*
* Authors: Dave Airlie
* Alex Deucher
*/
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include <drm/amdgpu_drm.h>
#include <drm/drm_fixed.h>
#include "amdgpu.h"
#include "atom.h"
#include "atom-bits.h"
#include "atombios_encoders.h"
#include "amdgpu_atombios.h"
#include "amdgpu_pll.h"
#inclu... |
google | android | tonga_smc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/amd/amdgpu/tonga_smc.c | 22,414 | utf_8 | 6700a4150731ae23fe03518954f0121a | /*
*
*/
#include <linux/firmware.h>
#include "drmP.h"
#include "amdgpu.h"
#include "tonga_ppsmc.h"
#include "tonga_smumgr.h"
#include "smu_ucode_xfer_vi.h"
#include "amdgpu_ucode.h"
#include "smu/smu_7_1_2_d.h"
#include "smu/smu_7_1_2_sh_mask.h"
#define TONGA_SMC_SIZE 0x20000
static int tonga_set_smc_sram_address(str... |
google | android | amdgpu_afmt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.c | 3,876 | utf_8 | 923c701a9bb1c107845769e4c170c873 | /*
*
* Authors: Christian König
*/
#include <linux/hdmi.h>
#include <linux/gcd.h>
#include <drm/drmP.h>
#include <drm/amdgpu_drm.h>
#include "amdgpu.h"
static const struct amdgpu_afmt_acr amdgpu_afmt_predefined_acr[] = {
/* 32kHz 44.1kHz 48kHz */
/* Clock N CTS N CTS N CT... |
google | android | uvd_v5_0 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c | 23,468 | ibm852 | b8379ff3ec53c4ad7d1f07de68ed94f4 | /*
*/
#include <linux/firmware.h>
#include <drm/drmP.h>
#include "amdgpu.h"
#include "amdgpu_uvd.h"
#include "vid.h"
#include "uvd/uvd_5_0_d.h"
#include "uvd/uvd_5_0_sh_mask.h"
#include "oss/oss_2_0_d.h"
#include "oss/oss_2_0_sh_mask.h"
static void uvd_v5_0_set_ring_funcs(struct amdgpu_device *adev);
static void uvd_v... |
google | android | kv_smc | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/amd/amdgpu/kv_smc.c | 5,134 | utf_8 | 5af5b3d94810a7335323f18034c1d708 | /*
*
* Authors: Alex Deucher
*/
#include "drmP.h"
#include "amdgpu.h"
#include "cikd.h"
#include "kv_dpm.h"
#include "smu/smu_7_0_0_d.h"
#include "smu/smu_7_0_0_sh_mask.h"
int amdgpu_kv_notify_message_to_smu(struct amdgpu_device *adev, u32 id)
{
u32 i;
u32 tmp = 0;
WREG32(mmSMC_MESSAGE_0, id & SMC_MESSAGE_0__SMC_... |
google | android | gfx_v8_0 | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 172,662 | utf_8 | f1b07f9203670d469e46cc888198e800 | /*
*
*/
#include <linux/firmware.h>
#include "drmP.h"
#include "amdgpu.h"
#include "amdgpu_gfx.h"
#include "vi.h"
#include "vid.h"
#include "amdgpu_ucode.h"
#include "clearstate_vi.h"
#include "gmc/gmc_8_2_d.h"
#include "gmc/gmc_8_2_sh_mask.h"
#include "oss/oss_3_0_d.h"
#include "oss/oss_3_0_sh_mask.h"
#include "bif/... |
google | android | amdgpu_gfx | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 2,273 | utf_8 | b114c5357bbfe52899b411b7abb665dc | /*
*
*/
#include <drm/drmP.h>
#include "amdgpu.h"
/*
* GPU scratch registers helpers function.
*/
/**
* amdgpu_gfx_scratch_get - Allocate a scratch register
*
*
* Allocate a CP scratch register for use by the driver (all asics).
* Returns 0 on success or -EINVAL on failure.
*/
int amdgpu_gfx_scratch_get(struc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.