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
ttm_page_alloc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/ttm/ttm_page_alloc.c
23,488
utf_8
19ff63808972127b8811a717b2172695
/* */ /* simple list based uncached page pool * - Pool collects resently freed pages for reuse * - Use page->lru to keep a free list * - doesn't track currently in use pages */ #define pr_fmt(fmt) "[TTM] " fmt #include <linux/list.h> #include <linux/spinlock.h> #include <linux/highmem.h> #include <linux/mm_types.h...
google
android
ttm_execbuf_util
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/ttm/ttm_execbuf_util.c
5,972
utf_8
2076cd0560a20b81316d68d467d47c24
/************************************************************************** * * **************************************************************************/ #include <drm/ttm/ttm_execbuf_util.h> #include <drm/ttm/ttm_bo_driver.h> #include <drm/ttm/ttm_placement.h> #include <linux/wait.h> #include <linux/sched.h> #inc...
google
android
ttm_bo_util
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/ttm/ttm_bo_util.c
16,961
utf_8
e80475e8268a5717c43366a35199be00
/************************************************************************** * * **************************************************************************/ /* * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com> */ #include <drm/ttm/ttm_bo_driver.h> #include <drm/ttm/ttm_placement.h> #include <drm/drm_vma_ma...
google
android
ttm_memory
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/ttm/ttm_memory.c
14,257
utf_8
5f4ac12d25afcdc43b4d42a48057b680
/************************************************************************** * * **************************************************************************/ #define pr_fmt(fmt) "[TTM] " fmt #include <drm/ttm/ttm_memory.h> #include <drm/ttm/ttm_module.h> #include <drm/ttm/ttm_page_alloc.h> #include <linux/spinlock.h> ...
google
android
ttm_agp_backend
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/ttm/ttm_agp_backend.c
4,197
utf_8
283a06c702a90940c3314c4a33203089
/************************************************************************** * * **************************************************************************/ /* * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com> * Keith Packard. */ #define pr_fmt(fmt) "[TTM] " fmt #include <drm/ttm/ttm_module.h> #i...
google
android
ttm_tt
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/ttm/ttm_tt.c
9,603
utf_8
3e967bd85b4fe7293dbe70b4941627ad
/************************************************************************** * * **************************************************************************/ /* * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com> */ #define pr_fmt(fmt) "[TTM] " fmt #include <linux/sched.h> #include <linux/highmem.h> #include ...
google
android
ttm_bo_manager
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/ttm/ttm_bo_manager.c
4,417
utf_8
7c200fe46048599ba660f97de457ec7d
/************************************************************************** * * **************************************************************************/ /* * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com> */ #include <drm/ttm/ttm_module.h> #include <drm/ttm/ttm_bo_driver.h> #include <drm/ttm/ttm_place...
google
android
ttm_bo_vm
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/ttm/ttm_bo_vm.c
9,510
utf_8
4595961918cfc5175989c64d22bcbaba
/************************************************************************** * * **************************************************************************/ /* * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com> */ #define pr_fmt(fmt) "[TTM] " fmt #include <ttm/ttm_module.h> #include <ttm/ttm_bo_driver.h> #i...
google
android
ttm_bo
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/ttm/ttm_bo.c
42,625
utf_8
f4e4d6cd2549ef4e7f066bf2093aa667
/************************************************************************** * * **************************************************************************/ /* * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com> */ #define pr_fmt(fmt) "[TTM] " fmt #include <drm/ttm/ttm_module.h> #include <drm/ttm/ttm_bo_driv...
google
android
ttm_module
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/ttm/ttm_module.c
2,989
utf_8
5696084d9ffb499b72741631b1082758
/************************************************************************** * * **************************************************************************/ /* * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com> * Jerome Glisse */ #include <linux/module.h> #include <linux/device.h> #include <linux/sche...
google
android
savage_bci
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/savage/savage_bci.c
30,723
utf_8
b639794c0000596ff8dbf86a51137f43
/* savage_bci.c -- BCI support for Savage * */ #include <drm/drmP.h> #include <drm/savage_drm.h> #include "savage_drv.h" /* Need a long timeout for shadow status updates can take a while * and so can waiting for events when the queue is full. */ #define SAVAGE_DEFAULT_USEC_TIMEOUT 1000000 /* 1s */ #define SAVAGE_EVE...
google
android
savage_drv
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/savage/savage_drv.c
2,777
utf_8
5c87184b5dc7fd40f2cf649bfbe8e5e7
/* savage_drv.c -- Savage driver for Linux * */ #include <linux/module.h> #include <drm/drmP.h> #include <drm/savage_drm.h> #include "savage_drv.h" #include <drm/drm_pciids.h> static struct pci_device_id pciidlist[] = { savage_PCI_IDS }; static const struct file_operations savage_driver_fops = { .owner = THIS_MODUL...
google
android
savage_state
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/savage/savage_state.c
30,877
utf_8
347ede77f8189a7feb57420c6b062f76
/* savage_state.c -- State and drawing support for Savage * */ #include <drm/drmP.h> #include <drm/savage_drm.h> #include "savage_drv.h" void savage_emit_clip_rect_s3d(drm_savage_private_t * dev_priv, const struct drm_clip_rect * pbox) { uint32_t scstart = dev_priv->state.s3d.new_scstart; uint32_t scend =...
google
android
atmel_hlcdc_output
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c
8,466
utf_8
477bf403e5b5cc58e400a8e72f48a872
/* */ #include <linux/of_graph.h> #include <drm/drmP.h> #include <drm/drm_panel.h> #include "atmel_hlcdc_dc.h" /** * Atmel HLCDC RGB output mode */ enum atmel_hlcdc_connector_rgb_mode { ATMEL_HLCDC_CONNECTOR_RGB444, ATMEL_HLCDC_CONNECTOR_RGB565, ATMEL_HLCDC_CONNECTOR_RGB666, ATMEL_HLCDC_CONNECTOR_RGB888, }; /** ...
google
android
atmel_hlcdc_plane
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c
27,139
utf_8
4e1cebf342c8e8ab1db03360dd8fc16f
/* */ #include "atmel_hlcdc_dc.h" /** * Atmel HLCDC Plane state structure. * */ struct atmel_hlcdc_plane_state { struct drm_plane_state base; int crtc_x; int crtc_y; unsigned int crtc_w; unsigned int crtc_h; uint32_t src_x; uint32_t src_y; uint32_t src_w; uint32_t src_h; u8 alpha; bool disc_updated; int...
google
android
atmel_hlcdc_crtc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c
9,995
utf_8
b2448813e9344ecfc64f30c8cab86665
/* */ #include <linux/clk.h> #include <linux/pm.h> #include <linux/pm_runtime.h> #include <linux/pinctrl/consumer.h> #include <drm/drm_crtc.h> #include <drm/drm_crtc_helper.h> #include <drm/drmP.h> #include <video/videomode.h> #include "atmel_hlcdc_dc.h" /** * Atmel HLCDC CRTC structure * */ struct atmel_hlcdc_crtc...
google
android
atmel_hlcdc_dc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
19,798
utf_8
cccd7955172a9de48461b3a0569692e0
/* */ #include <linux/clk.h> #include <linux/irq.h> #include <linux/irqchip.h> #include <linux/module.h> #include <linux/pm_runtime.h> #include "atmel_hlcdc_dc.h" #define ATMEL_HLCDC_LAYER_IRQS_OFFSET 8 static const struct atmel_hlcdc_layer_desc atmel_hlcdc_at91sam9n12_layers[] = { { .name = "base", .formats = &...
google
android
atmel_hlcdc_layer
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_layer.c
17,041
utf_8
a113ace272182a816235f2622cc50d43
/* */ #include <linux/dma-mapping.h> #include <linux/interrupt.h> #include "atmel_hlcdc_dc.h" static void atmel_hlcdc_layer_fb_flip_release(struct drm_flip_work *work, void *val) { struct atmel_hlcdc_layer_fb_flip *flip = val; if (flip->fb) drm_framebuffer_unreference(flip->fb); kfree(flip); } static void atmel_h...
google
android
tcm-sita
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/omapdrm/tcm-sita.c
18,703
utf_8
a4f22e34a84d806d3cadb7f15d15c79b
/* * tcm-sita.c * * SImple Tiler Allocator (SiTA): 2D and 1D allocation(reservation) algorithm * * */ #include <linux/slab.h> #include <linux/spinlock.h> #include "tcm-sita.h" #define ALIGN_DOWN(value, align) ((value) & ~((align) - 1)) /* Individual selection criteria for different scan areas */ static s32 CR_L2R...
google
android
omap_gem_dmabuf
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c
5,407
utf_8
66c94de3342a20b5d10f85367e33b2c4
/* * drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c * */ #include <linux/dma-buf.h> #include "omap_drv.h" static struct sg_table *omap_gem_map_dma_buf( struct dma_buf_attachment *attachment, enum dma_data_direction dir) { struct drm_gem_object *obj = attachment->dmabuf->priv; struct sg_table *sg; dma_addr_t paddr;...
google
android
omap_debugfs
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/omapdrm/omap_debugfs.c
3,311
utf_8
87fe18e3cff9081ad94230ead7affcde
/* * drivers/gpu/drm/omapdrm/omap_debugfs.c * */ #include <drm/drm_crtc.h> #include <drm/drm_fb_helper.h> #include "omap_drv.h" #include "omap_dmm_tiler.h" #ifdef CONFIG_DEBUG_FS static int gem_show(struct seq_file *m, void *arg) { struct drm_info_node *node = (struct drm_info_node *) m->private; struct drm_device...
google
android
omap_encoder
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/omapdrm/omap_encoder.c
5,106
utf_8
81d997013138195522964a6b6c13e30b
/* * drivers/gpu/drm/omapdrm/omap_encoder.c * */ #include <linux/list.h> #include <drm/drm_crtc.h> #include <drm/drm_crtc_helper.h> #include <drm/drm_edid.h> #include "omap_drv.h" /* * encoder funcs */ #define to_omap_encoder(x) container_of(x, struct omap_encoder, base) /* The encoder and connector both map to sa...
google
android
omap_fbdev
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/omapdrm/omap_fbdev.c
8,466
utf_8
b51fdf34deb2af257372a90ca72530b1
/* * drivers/gpu/drm/omapdrm/omap_fbdev.c * */ #include <drm/drm_crtc.h> #include <drm/drm_fb_helper.h> #include "omap_drv.h" MODULE_PARM_DESC(ywrap, "Enable ywrap scrolling (omap44xx and later, default 'y')"); static bool ywrap_enabled = true; module_param_named(ywrap, ywrap_enabled, bool, 0644); /* * fbdev funcs,...
google
android
omap_irq
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/omapdrm/omap_irq.c
7,181
utf_8
358e78947c5353a4645790e3dec0222a
/* * drivers/gpu/drm/omapdrm/omap_irq.c * */ #include "omap_drv.h" static DEFINE_SPINLOCK(list_lock); static void omap_irq_error_handler(struct omap_drm_irq *irq, uint32_t irqstatus) { DRM_ERROR("errors: %08x\n", irqstatus); } /* call with list_lock and dispc runtime held */ static void omap_irq_update(struct drm...
google
android
omap_gem
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/omapdrm/omap_gem.c
40,125
utf_8
d6317f4736d001a46553b1b73cee76fc
/* * drivers/gpu/drm/omapdrm/omap_gem.c * */ #include <linux/shmem_fs.h> #include <linux/spinlock.h> #include <drm/drm_vma_manager.h> #include "omap_drv.h" #include "omap_dmm_tiler.h" /* remove these once drm core helpers are merged */ struct page **_drm_gem_get_pages(struct drm_gem_object *obj, gfp_t gfpmask); void...
google
android
omap_fb
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/omapdrm/omap_fb.c
12,924
utf_8
187915775696397433898bdfe22c2864
/* * drivers/gpu/drm/omapdrm/omap_fb.c * */ #include <drm/drm_crtc.h> #include <drm/drm_crtc_helper.h> #include "omap_dmm_tiler.h" #include "omap_drv.h" /* * framebuffer funcs */ /* per-format info: */ struct format { enum omap_color_mode dss_format; uint32_t pixel_format; struct { int stride_bpp; /...
google
android
omap_dmm_tiler
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
26,096
utf_8
14897b3e4eab63bc6a3bd75e3148fcdf
/* * DMM IOMMU driver support functions for TI OMAP processors. * */ #include <linux/completion.h> #include <linux/delay.h> #include <linux/dma-mapping.h> #include <linux/errno.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/list.h> #include <linux/mm.h> #include <linux/module.h> #include <li...
google
android
omap_plane
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/omapdrm/omap_plane.c
10,341
utf_8
51fd39fe8d50efb600bcb124608c5481
/* * drivers/gpu/drm/omapdrm/omap_plane.c * */ #include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_plane_helper.h> #include "omap_dmm_tiler.h" #include "omap_drv.h" /* some hackery because omapdss has an 'enum omap_plane' (which would be * better named omap_plane_id).. and compiler seem...
google
android
omap_drv
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/omapdrm/omap_drv.c
23,368
utf_8
ad9c2082b48d7529f7de8d54e5ea8a33
/* * drivers/gpu/drm/omapdrm/omap_drv.c * */ #include <linux/wait.h> #include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_crtc_helper.h> #include <drm/drm_fb_helper.h> #include "omap_dmm_tiler.h" #include "omap_drv.h" #define DRIVER_NAME MODULE_NAME #define DRIVER_DESC "OMAP DRM" #defin...
google
android
omap_connector
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/omapdrm/omap_connector.c
9,310
utf_8
5d177b59ecce5e04c594315f0a1cdbe5
/* * drivers/gpu/drm/omapdrm/omap_connector.c * */ #include <drm/drm_atomic_helper.h> #include <drm/drm_crtc.h> #include <drm/drm_crtc_helper.h> #include "omap_drv.h" /* * connector funcs */ #define to_omap_connector(x) container_of(x, struct omap_connector, base) struct omap_connector { struct drm_connector base...
google
android
omap_crtc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/omapdrm/omap_crtc.c
14,143
utf_8
7de0fd72b54937f6e5b13166fa92d708
/* * drivers/gpu/drm/omapdrm/omap_crtc.c * */ #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_mode.h> #include <drm/drm_plane_helper.h> #include "omap_drv.h" #define to_omap_crtc(x) container_of(x, struct omap_crtc, base) str...
google
android
bochs_fbdev
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/bochs/bochs_fbdev.c
5,281
utf_8
bc4da04c3ca7dea05adc9a01e77cd0ac
/* * (at your option) any later version. */ #include "bochs.h" /* ---------------------------------------------------------------------- */ static int bochsfb_mmap(struct fb_info *info, struct vm_area_struct *vma) { struct drm_fb_helper *fb_helper = info->par; struct bochs_device *bochs = container_of(fb_helpe...
google
android
bochs_mm
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/bochs/bochs_mm.c
12,993
utf_8
debe7cba2a60c43a485e27e405b61390
/* * (at your option) any later version. */ #include "bochs.h" static void bochs_ttm_placement(struct bochs_bo *bo, int domain); /* ---------------------------------------------------------------------- */ static inline struct bochs_device *bochs_bdev(struct ttm_bo_device *bd) { return container_of(bd, struct bochs_...
google
android
bochs_drv
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/bochs/bochs_drv.c
5,226
utf_8
d0f466ac266d234f03190a77a7054b00
/* * (at your option) any later version. */ #include <linux/mm.h> #include <linux/module.h> #include <linux/slab.h> #include "bochs.h" static bool enable_fbdev = true; module_param_named(fbdev, enable_fbdev, bool, 0444); MODULE_PARM_DESC(fbdev, "register fbdev device"); /* --------------------------------------------...
google
android
bochs_hw
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/bochs/bochs_hw.c
5,375
utf_8
b533082ef3ed461de0ad8afc946dcd66
/* * (at your option) any later version. */ #include "bochs.h" /* ---------------------------------------------------------------------- */ static void bochs_vga_writeb(struct bochs_device *bochs, u16 ioport, u8 val) { if (WARN_ON(ioport < 0x3c0 || ioport > 0x3df)) return; if (bochs->mmio) { int offset = ioport...
google
android
bochs_kms
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/bochs/bochs_kms.c
8,035
utf_8
0c927f5152ebb61ded4753fa2c98dc30
/* * (at your option) any later version. */ #include "bochs.h" #include <drm/drm_plane_helper.h> static int defx = 1024; static int defy = 768; module_param(defx, int, 0444); module_param(defy, int, 0444); MODULE_PARM_DESC(defx, "default x resolution"); MODULE_PARM_DESC(defy, "default y resolution"); /* -------------...
google
android
shmob_drm_backlight
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/shmobile/shmob_drm_backlight.c
2,795
utf_8
ed918b035b5c50189643139e2b83f9f9
/* * shmob_drm_backlight.c -- SH Mobile DRM Backlight * * (at your option) any later version. */ #include <linux/backlight.h> #include "shmob_drm_backlight.h" #include "shmob_drm_crtc.h" #include "shmob_drm_drv.h" static int shmob_drm_backlight_update(struct backlight_device *bdev) { struct shmob_drm_connector *...
google
android
shmob_drm_plane
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/shmobile/shmob_drm_plane.c
7,200
utf_8
49f9ac230f9369638f59784ed2438f88
/* * shmob_drm_plane.c -- SH Mobile DRM Planes * * (at your option) any later version. */ #include <drm/drmP.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 <video/sh_mobile_meram.h> #include "shmob_drm_drv.h" #include "...
google
android
shmob_drm_crtc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/shmobile/shmob_drm_crtc.c
20,627
utf_8
269a3155ccb198f953eccbdd69b69a99
/* * shmob_drm_crtc.c -- SH Mobile DRM CRTCs * * (at your option) any later version. */ #include <linux/backlight.h> #include <linux/clk.h> #include <drm/drmP.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_plan...
google
android
shmob_drm_kms
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/shmobile/shmob_drm_kms.c
3,992
utf_8
e2da3bbda653d8b19166a3016416e892
/* * shmob_drm_kms.c -- SH Mobile DRM Mode Setting * * (at your option) any later version. */ #include <drm/drmP.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 <video/sh_mobile_meram.h> #include "shmob_drm_crtc.h" #incl...
google
android
shmob_drm_drv
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/shmobile/shmob_drm_drv.c
9,488
utf_8
e207fa65a1114e944651969b3ab5e3d6
/* * shmob_drm_drv.c -- SH Mobile 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/platform_device.h> #include <linux/pm.h> #include <linux/slab.h> #include <drm/drmP.h> #include <drm/drm_crtc_helper....
google
android
udl_encoder
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/udl/udl_encoder.c
1,945
utf_8
3ef947c238731ac92ba98b21abefe1e9
/* * more details. */ #include <drm/drmP.h> #include <drm/drm_crtc.h> #include <drm/drm_crtc_helper.h> #include "udl_drv.h" /* dummy encoder */ static void udl_enc_destroy(struct drm_encoder *encoder) { drm_encoder_cleanup(encoder); kfree(encoder); } static void udl_encoder_disable(struct drm_encoder *encoder) { } ...
google
android
udl_drv
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/udl/udl_drv.c
3,470
utf_8
97a915fa216c25aeda02cd5a3deb6824
/* * more details. */ #include <linux/module.h> #include <drm/drmP.h> #include <drm/drm_crtc_helper.h> #include "udl_drv.h" static int udl_driver_set_busid(struct drm_device *d, struct drm_master *m) { return 0; } static const struct vm_operations_struct udl_gem_vm_ops = { .fault = udl_gem_fault, .open = drm_gem_v...
google
android
udl_gem
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/udl/udl_gem.c
5,016
utf_8
67dcc6773f5a4574b209915e951027b8
/* * more details. */ #include <drm/drmP.h> #include "udl_drv.h" #include <linux/shmem_fs.h> #include <linux/dma-buf.h> struct udl_gem_object *udl_gem_alloc_object(struct drm_device *dev, size_t size) { struct udl_gem_object *obj; obj = kzalloc(sizeof(*obj), GFP_KERNEL); if (obj == NULL) return NULL; i...
google
android
udl_dmabuf
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/udl/udl_dmabuf.c
6,601
utf_8
33c2e76a15f6e85bcc715b436ccf7606
/* * udl_dmabuf.c * */ #include <drm/drmP.h> #include "udl_drv.h" #include <linux/shmem_fs.h> #include <linux/dma-buf.h> struct udl_drm_dmabuf_attachment { struct sg_table sgt; enum dma_data_direction dir; bool is_mapped; }; static int udl_attach_dma_buf(struct dma_buf *dmabuf, struct device *dev, ...
google
android
udl_connector
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/udl/udl_connector.c
3,927
utf_8
b3969c4ab90b6f7deabb2edaa459fe22
/* * more details. */ #include <drm/drmP.h> #include <drm/drm_crtc.h> #include <drm/drm_edid.h> #include <drm/drm_crtc_helper.h> #include "udl_drv.h" /* dummy connector to just get EDID, all UDL appear to have a DVI-D */ static u8 *udl_get_edid(struct udl_device *udl) { u8 *block; char *rbuf; int ret, i; block...
google
android
udl_modeset
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/udl/udl_modeset.c
12,178
utf_8
b5eb7290bf306390230f1e2e2648db30
/* * more details. */ #include <drm/drmP.h> #include <drm/drm_crtc.h> #include <drm/drm_crtc_helper.h> #include <drm/drm_plane_helper.h> #include "udl_drv.h" /* * All DisplayLink bulk operations start with 0xAF, followed by specific code * All operations are written to buffers which then later get sent to device *...
google
android
udl_transfer
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/udl/udl_transfer.c
7,827
utf_8
dc00ce7587c8996614b227b1d4fd261c
/* * more details. */ #include <linux/module.h> #include <linux/slab.h> #include <linux/fb.h> #include <linux/prefetch.h> #include <drm/drmP.h> #include "udl_drv.h" #define MAX_CMD_PIXELS 255 #define RLX_HEADER_BYTES 7 #define MIN_RLX_PIX_BYTES 4 #define MIN_RLX_CMD_BYTES (RLX_HEADER_BYTES + MIN_RLX_PIX_BYTES)...
google
android
udl_main
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/udl/udl_main.c
8,081
utf_8
3b096934f48caae9e94c0e30d8163540
/* * more details. */ #include <drm/drmP.h> #include "udl_drv.h" /* -BULK_SIZE as per usb-skeleton. Can we get full page and avoid overhead? */ #define BULK_SIZE 512 #define MAX_TRANSFER (PAGE_SIZE*16 - BULK_SIZE) #define WRITES_IN_FLIGHT (4) #define MAX_VENDOR_DESCRIPTOR_SIZE 256 #define GET_URB_TIMEOUT HZ #define F...
google
android
udl_fb
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/udl/udl_fb.c
16,464
utf_8
8bac1925564fffd13da9f978a759c8fa
/* * more details. */ #include <linux/module.h> #include <linux/slab.h> #include <linux/fb.h> #include <linux/dma-buf.h> #include <drm/drmP.h> #include <drm/drm_crtc.h> #include <drm/drm_crtc_helper.h> #include "udl_drv.h" #include <drm/drm_fb_helper.h> #define DL_DEFIO_WRITE_DELAY (HZ/20) /* fb_deferred_io.delay ...
google
android
vce_v1_0
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/vce_v1_0.c
9,087
ibm852
92d024cd9f2c864d3a67fc7a8fefb9ae
/* */ #include <linux/firmware.h> #include <drm/drmP.h> #include "radeon.h" #include "radeon_asic.h" #include "sid.h" #define VCE_V1_0_FW_SIZE (256 * 1024) #define VCE_V1_0_STACK_SIZE (64 * 1024) #define VCE_V1_0_DATA_SIZE (7808 * (RADEON_MAX_VCE_HANDLES + 1)) struct vce_v1_0_fw_signature { int32_t off; uint32_t len...
google
android
sumo_dpm
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/sumo_dpm.c
55,369
utf_8
d562aeccec9a5159bbf9ce6f7c2ec0da
/* * */ #include "drmP.h" #include "radeon.h" #include "radeon_asic.h" #include "sumod.h" #include "r600_dpm.h" #include "cypress_dpm.h" #include "sumo_dpm.h" #include <linux/seq_file.h> #define SUMO_MAX_DEEPSLEEP_DIVIDER_ID 5 #define SUMO_MINIMUM_ENGINE_CLOCK 800 #define BOOST_DPM_LEVEL 7 static const u32 sumo_utc[S...
google
android
radeon_clocks
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_clocks.c
26,841
utf_8
93e557549e7d98e20139198442a453ec
/* * * Authors: Dave Airlie * Alex Deucher * Jerome Glisse */ #include <drm/drmP.h> #include <drm/radeon_drm.h> #include "radeon_reg.h" #include "radeon.h" #include "atom.h" /* 10 khz */ uint32_t radeon_legacy_get_engine_clock(struct radeon_device *rdev) { struct radeon_pll *spll = &rdev->clock....
google
android
radeon_cs
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_cs.c
23,307
utf_8
63ab80038fc5ca7aeae8fe803d48d013
/* */ #include <linux/list_sort.h> #include <drm/drmP.h> #include <drm/radeon_drm.h> #include "radeon_reg.h" #include "radeon.h" #include "radeon_trace.h" #define RADEON_CS_MAX_PRIORITY 32u #define RADEON_CS_NUM_BUCKETS (RADEON_CS_MAX_PRIORITY + 1) /* This is based on the bucket sort with O(n) time complexity. * An...
google
android
radeon_ring
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_ring.c
16,314
ibm852
6ba5bf57f62bb71484be23c2830b4827
/* * * Authors: Dave Airlie * Alex Deucher * Jerome Glisse * Christian König */ #include <drm/drmP.h> #include "radeon.h" /* * Rings * Most engines on the GPU are fed via ring buffers. Ring * buffers are areas of GPU accessible memory that the host * writes commands into and the GP...
google
android
radeon_atombios
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_atombios.c
146,633
utf_8
8c40329ef0aaf631c01a2653a1e909e5
/* * * Authors: Dave Airlie * Alex Deucher */ #include <drm/drmP.h> #include <drm/radeon_drm.h> #include "radeon.h" #include "atom.h" #include "atom-bits.h" extern void radeon_add_atom_encoder(struct drm_device *dev, uint32_t encoder_enum, uint32_t supported_device, u16 caps); /* from radeon_legacy_enco...
google
android
radeon_mn
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_mn.c
8,026
ibm852
4f6f086a169b986ec6bc7fd77656b327
/* */ #include <linux/firmware.h> #include <linux/module.h> #include <linux/mmu_notifier.h> #include <drm/drmP.h> #include <drm/drm.h> #include "radeon.h" struct radeon_mn { /* constant after initialisation */ struct radeon_device *rdev; struct mm_struct *mm; struct mmu_notifier mn; /* only used on destruction */...
google
android
rv770_dpm
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/rv770_dpm.c
72,041
utf_8
536d2042a6e33065ee5c2241684820e0
/* * * Authors: Alex Deucher */ #include "drmP.h" #include "radeon.h" #include "radeon_asic.h" #include "rv770d.h" #include "r600_dpm.h" #include "rv770_dpm.h" #include "cypress_dpm.h" #include "atom.h" #include <linux/seq_file.h> #define MC_CG_ARB_FREQ_F0 0x0a #define MC_CG_ARB_FREQ_F1 0x0b #def...
google
android
rv515
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/rv515.c
40,824
utf_8
6e02efd2119f32206e0e70395d14e69a
/* * * Authors: Dave Airlie * Alex Deucher * Jerome Glisse */ #include <linux/seq_file.h> #include <linux/slab.h> #include <drm/drmP.h> #include "rv515d.h" #include "radeon.h" #include "radeon_asic.h" #include "atom.h" #include "rv515_reg_safe.h" /* This files gather functions specifics to: rv515...
google
android
radeon_cp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_cp.c
66,417
utf_8
2eb76075d0729bdd31a6479c372a2102
/* radeon_cp.c -- CP support for Radeon -*- linux-c -*- */ /* * * ------------------------ This file is DEPRECATED! ------------------------- */ #include <linux/module.h> #include <drm/drmP.h> #include <drm/radeon_drm.h> #include "radeon_drv.h" #include "r300_reg.h" #define RADEON_FIFO_DEBUG 0 /* Firmware Names */ #...
google
android
si_dma
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/si_dma.c
8,731
utf_8
7f85517475dd261bc4f5830dd3b1dd3a
/* * * Authors: Alex Deucher */ #include <drm/drmP.h> #include "radeon.h" #include "radeon_asic.h" #include "radeon_trace.h" #include "sid.h" u32 si_gpu_check_soft_reset(struct radeon_device *rdev); /** * si_dma_is_lockup - Check if the DMA engine is locked up * * * Check if the async DMA engine is locked up. *...
google
android
atombios_i2c
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/atombios_i2c.c
4,406
utf_8
0e538524ae2c6fc7e1416cd413321d8b
/* * * Authors: Alex Deucher * */ #include <drm/drmP.h> #include <drm/radeon_drm.h> #include "radeon.h" #include "atom.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 255 static int radeon_process...
google
android
atombios_crtc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/atombios_crtc.c
72,885
utf_8
e4bdd767c583990a61961e384b4ab8f5
/* * * Authors: Dave Airlie * Alex Deucher */ #include <drm/drmP.h> #include <drm/drm_crtc_helper.h> #include <drm/radeon_drm.h> #include <drm/drm_fixed.h> #include "radeon.h" #include "atom.h" #include "atom-bits.h" static void atombios_overscan_setup(struct drm_crtc *crtc, struct drm_display_mode...
google
android
rs400
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/rs400.c
16,150
utf_8
cd896686a2afa5e22a6e4bb1c510a1e8
/* * * Authors: Dave Airlie * Alex Deucher * Jerome Glisse */ #include <linux/seq_file.h> #include <linux/slab.h> #include <drm/drmP.h> #include "radeon.h" #include "radeon_asic.h" #include "rs400d.h" /* This files gather functions specifics to : rs400,rs480 */ static int rs400_debugfs_pcie_gart_...
google
android
radeon_legacy_encoders
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_legacy_encoders.c
56,945
utf_8
935b361c0486629d3ae99875fede0361
/* * * Authors: Dave Airlie * Alex Deucher */ #include <drm/drmP.h> #include <drm/drm_crtc_helper.h> #include <drm/radeon_drm.h> #include "radeon.h" #include "atom.h" #include <linux/backlight.h> #ifdef CONFIG_PMAC_BACKLIGHT #include <asm/backlight.h> #endif static void radeon_legacy_encoder_disable(struct...
google
android
radeon_ib
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_ib.c
8,871
ibm852
8d207ad6234fae67913ceeba64641c9d
/* * * Authors: Dave Airlie * Alex Deucher * Jerome Glisse * Christian König */ #include <drm/drmP.h> #include "radeon.h" /* * IB * IBs (Indirect Buffers) and areas of GPU accessible memory where * commands are stored. You can put a pointer to the IB in the * command ring and the h...
google
android
r420
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/r420.c
14,347
utf_8
cf83cccda710407abe50e342efa17c95
/* * * Authors: Dave Airlie * Alex Deucher * Jerome Glisse */ #include <linux/seq_file.h> #include <linux/slab.h> #include <drm/drmP.h> #include "radeon_reg.h" #include "radeon.h" #include "radeon_asic.h" #include "atom.h" #include "r100d.h" #include "r420d.h" #include "r420_reg_safe.h" void r420...
google
android
kv_smc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/kv_smc.c
4,883
utf_8
8768611e51c0ff592ab8e8b398ff3880
/* * * Authors: Alex Deucher */ #include "drmP.h" #include "radeon.h" #include "cikd.h" #include "kv_dpm.h" int kv_notify_message_to_smu(struct radeon_device *rdev, u32 id) { u32 i; u32 tmp = 0; WREG32(SMC_MESSAGE_0, id & SMC_MSG_MASK); for (i = 0; i < rdev->usec_timeout; i++) { if ((RREG32(SMC_RESP_0) & SMC_R...
google
android
si_blit_shaders
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/si_blit_shaders.c
5,916
utf_8
ffffd7f1bebcb90e0e008bcb9aa3b93f
/* */ #include <linux/types.h> #include <linux/bug.h> #include <linux/kernel.h> const u32 si_default_state[] = { 0xc0066900, 0x00000000, 0x00000060, /* DB_RENDER_CONTROL */ 0x00000000, /* DB_COUNT_CONTROL */ 0x00000000, /* DB_DEPTH_VIEW */ 0x0000002a, /* DB_RENDER_OVERRIDE */ 0x00000000, /* DB_RENDER_OVERRIDE2 ...
google
android
rs600
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/rs600.c
33,961
utf_8
2ca8869bffa3f0c8bb32ae113464189a
/* * * Authors: Dave Airlie * Alex Deucher * Jerome Glisse */ /* RS600 / Radeon X1250/X1270 integrated GPU * * This file gather function specific to RS600 which is the IGP of * the X1250/X1270 family supporting intel CPU (while RS690/RS740 * is the X1250/X1270 supporting AMD CPU). The display...
google
android
rs690
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/rs690.c
30,143
utf_8
db8fe7e88dc05931f9ce49cfd8c635ad
/* * * Authors: Dave Airlie * Alex Deucher * Jerome Glisse */ #include <drm/drmP.h> #include "radeon.h" #include "radeon_asic.h" #include "radeon_audio.h" #include "atom.h" #include "rs690d.h" int rs690_mc_wait_for_idle(struct radeon_device *rdev) { unsigned i; uint32_t tmp; for (i = 0; i < rd...
google
android
radeon_dp_auxch
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_dp_auxch.c
5,571
utf_8
8d5b2e836844a12b3105ba5d8571ba7c
/* * * Authors: Dave Airlie */ #include <drm/drmP.h> #include <drm/radeon_drm.h> #include "radeon.h" #include "nid.h" #define AUX_RX_ERROR_FLAGS (AUX_SW_RX_OVERFLOW | \ AUX_SW_RX_HPD_DISCON | \ AUX_SW_RX_PARTIAL_BYTE | \ AUX_SW_NON_AUX_MODE | \ AUX_SW_RX_SYNC_INVALID_L...
google
android
trinity_dpm
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/trinity_dpm.c
61,070
utf_8
67973fef5440a897a580d00a9a32030a
/* * */ #include "drmP.h" #include "radeon.h" #include "radeon_asic.h" #include "trinityd.h" #include "r600_dpm.h" #include "trinity_dpm.h" #include <linux/seq_file.h> #define TRINITY_MAX_DEEPSLEEP_DIVIDER_ID 5 #define TRINITY_MINIMUM_ENGINE_CLOCK 800 #define SCLK_MIN_DIV_INTV_SHIFT 12 #define TRINITY_DISPCLK_BYP...
google
android
radeon_uvd
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_uvd.c
24,203
ibm852
6aca94c27287c3054f1807a9b9692294
/* */ #include <linux/firmware.h> #include <linux/module.h> #include <drm/drmP.h> #include <drm/drm.h> #include "radeon.h" #include "r600d.h" /* 1 second timeout */ #define UVD_IDLE_TIMEOUT_MS 1000 /* Firmware Names */ #define FIRMWARE_R600 "radeon/R600_uvd.bin" #define FIRMWARE_RS780 "radeon/RS780_uvd.bin" #define ...
google
android
radeon_gem
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_gem.c
20,879
utf_8
79046b7f6e6cd0ed4444c6b401570097
/* * * Authors: Dave Airlie * Alex Deucher * Jerome Glisse */ #include <drm/drmP.h> #include <drm/radeon_drm.h> #include "radeon.h" void radeon_gem_object_free(struct drm_gem_object *gobj) { struct radeon_bo *robj = gem_to_radeon_bo(gobj); if (robj) { if (robj->gem_base.import_attach) drm_...
google
android
radeon_kms
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_kms.c
28,633
utf_8
d80450b96794a48fb2b1d9258c73875b
/* * * Authors: Dave Airlie * Alex Deucher * Jerome Glisse */ #include <drm/drmP.h> #include "radeon.h" #include <drm/radeon_drm.h> #include "radeon_asic.h" #include <linux/vga_switcheroo.h> #include <linux/slab.h> #include <linux/pm_runtime.h> #include "radeon_kfd.h" #if defined(CONFIG_VGA_SWITC...
google
android
cik_sdma
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/cik_sdma.c
28,222
utf_8
465c5c15181c749ff884f0ecaf7803c9
/* * * Authors: Alex Deucher */ #include <linux/firmware.h> #include <drm/drmP.h> #include "radeon.h" #include "radeon_ucode.h" #include "radeon_asic.h" #include "radeon_trace.h" #include "cikd.h" /* sdma */ #define CIK_SDMA_UCODE_SIZE 1050 #define CIK_SDMA_UCODE_VERSION 64 u32 cik_gpu_check_soft_reset(struct radeon...
google
android
si_dpm
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/si_dpm.c
235,559
utf_8
6c47bcc5aeed28165693ff9c79532245
/* * */ #include "drmP.h" #include "radeon.h" #include "radeon_asic.h" #include "sid.h" #include "r600_dpm.h" #include "si_dpm.h" #include "atom.h" #include <linux/math64.h> #include <linux/seq_file.h> #define MC_CG_ARB_FREQ_F0 0x0a #define MC_CG_ARB_FREQ_F1 0x0b #define MC_CG_ARB_FREQ_F2 ...
google
android
radeon_ucode
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_ucode.c
6,218
utf_8
60c041d1e069db0abb937b1e1d67d28c
/* * */ #include <linux/firmware.h> #include <linux/slab.h> #include <linux/module.h> #include <drm/drmP.h> #include "radeon.h" #include "radeon_ucode.h" static void radeon_ucode_print_common_hdr(const struct common_firmware_header *hdr) { DRM_DEBUG("size_bytes: %u\n", le32_to_cpu(hdr->size_bytes)); DRM_DEBUG("head...
google
android
radeon_sa
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_sa.c
11,515
utf_8
5db540b13f39d9478e967c31630539f3
/* */ /* Algorithm: * * We store the last allocated bo in "hole", we always try to allocate * after the last allocated bo. Principle is that in a linear GPU ring * progression was is after last is the oldest bo we allocated and thus * the first one that should no longer be in use by the GPU. * * If it's not the...
google
android
atombios_encoders
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/atombios_encoders.c
91,271
utf_8
92e1f2b5d08bb06b10c61fe3c9d2943c
/* * * Authors: Dave Airlie * Alex Deucher */ #include <drm/drmP.h> #include <drm/drm_crtc_helper.h> #include <drm/radeon_drm.h> #include "radeon.h" #include "radeon_audio.h" #include "atom.h" #include <linux/backlight.h> extern int atom_debug; static u8 radeon_atom_get_backlight_level_from_reg(struct rade...
google
android
r100
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/r100.c
119,388
utf_8
ac02034c6f58cd92eff75fb92befd48c
/* * * Authors: Dave Airlie * Alex Deucher * Jerome Glisse */ #include <linux/seq_file.h> #include <linux/slab.h> #include <drm/drmP.h> #include <drm/radeon_drm.h> #include "radeon_reg.h" #include "radeon.h" #include "radeon_asic.h" #include "r100d.h" #include "rs100d.h" #include "rv200d.h" #incl...
google
android
evergreen_hdmi
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/evergreen_hdmi.c
15,988
utf_8
d901b273d2ea5b9fe9fd5dcad1bb1b84
/* * * Authors: Christian König * Rafał Miłecki */ #include <linux/hdmi.h> #include <drm/drmP.h> #include <drm/radeon_drm.h> #include "radeon.h" #include "radeon_asic.h" #include "radeon_audio.h" #include "evergreend.h" #include "atom.h" /* enable the audio stream */ void dce4_audio_enable(struct radeon_de...
google
android
uvd_v1_0
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/uvd_v1_0.c
13,305
ibm852
8a5f190ad0d4c4a50104d6aaae0db409
/* */ #include <linux/firmware.h> #include <drm/drmP.h> #include "radeon.h" #include "radeon_asic.h" #include "r600d.h" /** * uvd_v1_0_get_rptr - get read pointer * * * Returns the current hardware write pointer */ uint32_t uvd_v1_0_get_wptr(struct radeon_device *rdev, struct radeon_ring *ring) { return RR...
google
android
evergreen
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/evergreen.c
187,544
utf_8
06ecbbcb7d5834ac006de1d399fde697
/* * * Authors: Alex Deucher */ #include <linux/firmware.h> #include <linux/slab.h> #include <drm/drmP.h> #include "radeon.h" #include "radeon_asic.h" #include "radeon_audio.h" #include <drm/radeon_drm.h> #include "evergreend.h" #include "atom.h" #include "avivod.h" #include "evergreen_reg.h" #include "evergreen_bli...
google
android
radeon_object
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_object.c
23,028
utf_8
21400d8861696fb8f9707b831a5d918a
/* * Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> * Dave Airlie */ #include <linux/list.h> #include <linux/slab.h> #include <drm/drmP.h> #include <drm/radeon_drm.h> #include <drm/drm_cache.h> #include "radeon.h" #include "radeon_trace.h" int radeon_ttm_init(struct radeon_device *rdev); void radeon_ttm...
google
android
radeon_audio
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_audio.c
26,305
utf_8
8b1e63a9124766d65cfb164e0e613307
/* */ #include <linux/gcd.h> #include <drm/drmP.h> #include <drm/drm_crtc.h> #include "radeon.h" #include "atom.h" #include "radeon_audio.h" void r600_audio_enable(struct radeon_device *rdev, struct r600_audio_pin *pin, u8 enable_mask); void dce4_audio_enable(struct radeon_device *rdev, struct r600_audio_pin *pin, ...
google
android
radeon_fence
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_fence.c
31,028
utf_8
a47515857338e3c57e1f0b34ce74eb6c
/* * Dave Airlie */ #include <linux/seq_file.h> #include <linux/atomic.h> #include <linux/wait.h> #include <linux/kref.h> #include <linux/slab.h> #include <linux/firmware.h> #include <drm/drmP.h> #include "radeon_reg.h" #include "radeon.h" #include "radeon_trace.h" /* * Fences * Fences mark an event in the GPUs ...
google
android
radeon_state
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_state.c
95,118
iso_8859_1
55034f2d01a0fbdca10cd01bbf3fd33f
/* radeon_state.c -- State support for Radeon -*- linux-c -*- */ /* * * ------------------------ This file is DEPRECATED! ------------------------- */ #include <drm/drmP.h> #include <drm/radeon_drm.h> #include "radeon_drv.h" #include "drm_buffer.h" /* ================================================================ ...
google
android
radeon_bios
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_bios.c
20,299
utf_8
5e5c8c079bff36a3db284a8905c645c0
/* * * Authors: Dave Airlie * Alex Deucher * Jerome Glisse */ #include <drm/drmP.h> #include "radeon_reg.h" #include "radeon.h" #include "atom.h" #include <linux/slab.h> #include <linux/acpi.h> /* * BIOS. */ /* If you boot an IGP board with a discrete card as the primary, * the IGP rom is not ...
google
android
radeon_legacy_crtc
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_legacy_crtc.c
33,554
utf_8
7e1911b69320bb93832e5bb1bf28face
/* * * Authors: Dave Airlie * Alex Deucher */ #include <drm/drmP.h> #include <drm/drm_crtc_helper.h> #include <drm/radeon_drm.h> #include <drm/drm_fixed.h> #include "radeon.h" #include "atom.h" static void radeon_overscan_setup(struct drm_crtc *crtc, struct drm_display_mode *mode) { struct drm_devic...
google
android
si
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/si.c
226,548
utf_8
bee1f39f5d9922ef08802816b3aabc85
/* * * Authors: Alex Deucher */ #include <linux/firmware.h> #include <linux/slab.h> #include <linux/module.h> #include <drm/drmP.h> #include "radeon.h" #include "radeon_asic.h" #include "radeon_audio.h" #include <drm/radeon_drm.h> #include "sid.h" #include "atom.h" #include "si_blit_shaders.h" #include "clearstate_s...
google
android
radeon_agp
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_agp.c
10,257
utf_8
029e857938441e8fa9a8c2a51a1b7e36
/* */ #include <drm/drmP.h> #include "radeon.h" #include <drm/radeon_drm.h> #if IS_ENABLED(CONFIG_AGP) struct radeon_agpmode_quirk { u32 hostbridge_vendor; u32 hostbridge_device; u32 chip_vendor; u32 chip_device; u32 subsys_vendor; u32 subsys_device; u32 default_mode; }; static struct radeon_agpmode_quirk radeo...
google
android
r300
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/r300.c
43,362
utf_8
032d64285e28fcffb9ba81609021e600
/* * * Authors: Dave Airlie * Alex Deucher * Jerome Glisse */ #include <linux/seq_file.h> #include <linux/slab.h> #include <drm/drmP.h> #include <drm/drm.h> #include <drm/drm_crtc_helper.h> #include "radeon_reg.h" #include "radeon.h" #include "radeon_asic.h" #include <drm/radeon_drm.h> #include "...
google
android
radeon_prime
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_prime.c
3,587
utf_8
ed5435e9f73385d2134e6f8bf3f51e50
/* * * based on nouveau_prime.c * * Authors: Alex Deucher */ #include <drm/drmP.h> #include "radeon.h" #include <drm/radeon_drm.h> #include <linux/dma-buf.h> struct sg_table *radeon_gem_prime_get_sg_table(struct drm_gem_object *obj) { struct radeon_bo *bo = gem_to_radeon_bo(obj); int npages = bo->tbo.num_pages; ...
google
android
radeon_irq
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/radeon_irq.c
10,689
UNKNOWN
1670f25502941ec363373d4bd412fc27
/* radeon_irq.c -- IRQ handling for radeon -*- linux-c -*- */ /* * * ------------------------ This file is DEPRECATED! ------------------------- */ #include <drm/drmP.h> #include <drm/radeon_drm.h> #include "radeon_drv.h" void radeon_irq_set_state(struct drm_device *dev, u32 mask, int state) { drm_radeon_private_t ...
google
android
r300_cmdbuf
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/r300_cmdbuf.c
32,525
utf_8
d22bfcdc398266e134ba2763dc5ba10f
/* r300_cmdbuf.c -- Command buffer emission for R300 -*- linux-c -*- * * * ------------------------ This file is DEPRECATED! ------------------------- */ #include <drm/drmP.h> #include <drm/radeon_drm.h> #include "radeon_drv.h" #include "r300_reg.h" #include "drm_buffer.h" #include <asm/unaligned.h> #define R300_SI...
google
android
drm_buffer
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/drm_buffer.c
4,709
utf_8
6e84e886c023e46c5344550546a9836c
/************************************************************************** * * * **************************************************************************/ /* * Multipart buffer for coping data which is larger than the page size. * * Authors: * Pauli Nieminen <suokkos-at-gmail-dot-com> */ #include <linux/exp...
google
android
uvd_v3_1
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/uvd_v3_1.c
2,120
ibm852
3441cb26b6c3e0151a36dcf80d214009
/* */ #include <drm/drmP.h> #include "radeon.h" #include "radeon_asic.h" #include "nid.h" /** * uvd_v3_1_semaphore_emit - emit semaphore command * * * Emit a semaphore command (either wait or signal) to the UVD ring. */ bool uvd_v3_1_semaphore_emit(struct radeon_device *rdev, struct radeon_ring *ring, ...
google
android
cayman_blit_shaders
.c
platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/gpu/drm/radeon/cayman_blit_shaders.c
7,600
utf_8
630ec1d3e8720f4b61191d08c04e504c
/* */ #include <linux/bug.h> #include <linux/types.h> #include <linux/kernel.h> /* * evergreen cards need to use the 3D engine to blit data which requires * quite a bit of hw state setup. Rather than pull the whole 3D driver * (which normally generates the 3D state) into the DRM, we opt to use * statically genera...