/src/sys/external/bsd/drm2/dist/drm/ |
Makefile | 3 # Makefile for the drm device driver. This driver provides support for the 6 drm-y := drm_auth.o drm_cache.o \ 22 drm-$(CONFIG_DRM_LEGACY) += drm_legacy_misc.o drm_bufs.o drm_context.o drm_dma.o drm_scatter.o drm_lock.o 23 drm-$(CONFIG_DRM_LIB_RANDOM) += lib/drm_random.o 24 drm-$(CONFIG_DRM_VM) += drm_vm.o 25 drm-$(CONFIG_COMPAT) += drm_ioc32.o 26 drm-$(CONFIG_DRM_GEM_CMA_HELPER) += drm_gem_cma_helper.o 27 drm-$(CONFIG_DRM_GEM_SHMEM_HELPER) += drm_gem_shmem_helper.o 28 drm-$(CONFIG_DRM_PANEL) += drm_panel.o 29 drm-$(CONFIG_OF) += drm_of. [all...] |
Makefile | 3 # Makefile for the drm device driver. This driver provides support for the 6 drm-y := drm_auth.o drm_cache.o \ 22 drm-$(CONFIG_DRM_LEGACY) += drm_legacy_misc.o drm_bufs.o drm_context.o drm_dma.o drm_scatter.o drm_lock.o 23 drm-$(CONFIG_DRM_LIB_RANDOM) += lib/drm_random.o 24 drm-$(CONFIG_DRM_VM) += drm_vm.o 25 drm-$(CONFIG_COMPAT) += drm_ioc32.o 26 drm-$(CONFIG_DRM_GEM_CMA_HELPER) += drm_gem_cma_helper.o 27 drm-$(CONFIG_DRM_GEM_SHMEM_HELPER) += drm_gem_shmem_helper.o 28 drm-$(CONFIG_DRM_PANEL) += drm_panel.o 29 drm-$(CONFIG_OF) += drm_of. [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/ |
nouveau_dispnv04_cursor.c | 7 #include <drm/drm_mode.h> 46 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nv04_cursor_set_offset 63 if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE)
|
nouveau_dispnv04_cursor.c | 7 #include <drm/drm_mode.h> 46 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nv04_cursor_set_offset 63 if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE)
|
nouveau_dispnv04_disp.c | 30 #include <drm/drm_crtc_helper.h> 83 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nv04_display_init 120 NV_ERROR(drm, "Could not pin framebuffer\n"); 132 NV_ERROR(drm, "Could not pin/map cursor.\n"); 171 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nv04_display_destroy 189 nvif_object_unmap(&drm->client.device.object); 195 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nv04_display_create 196 struct nvkm_i2c *i2c = nvxx_i2c(&drm->client.device); 197 struct dcb_table *dcb = &drm->vbios.dcb; 209 nvif_object_map(&drm->client.device.object, NULL, 0) [all...] |
nouveau_dispnv04_disp.c | 30 #include <drm/drm_crtc_helper.h> 83 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nv04_display_init 120 NV_ERROR(drm, "Could not pin framebuffer\n"); 132 NV_ERROR(drm, "Could not pin/map cursor.\n"); 171 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nv04_display_destroy 189 nvif_object_unmap(&drm->client.device.object); 195 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nv04_display_create 196 struct nvkm_i2c *i2c = nvxx_i2c(&drm->client.device); 197 struct dcb_table *dcb = &drm->vbios.dcb; 209 nvif_object_map(&drm->client.device.object, NULL, 0) [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/ |
nouveau_dp.c | 30 #include <drm/drm_dp_helper.h> 47 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nouveau_dp_probe_oui 54 NV_DEBUG(drm, "Sink OUI: %02"PRIx8"%02"PRIx8"%02"PRIx8"\n", 58 NV_DEBUG(drm, "Branch OUI: %02"PRIx8"%02"PRIx8"%02"PRIx8"\n", 67 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nouveau_dp_detect 83 NV_DEBUG(drm, "display: %dx%d dpcd 0x%02x\n", 85 NV_DEBUG(drm, "encoder: %dx%d\n", 94 NV_DEBUG(drm, "maximum: %dx%d\n",
|
nouveau_dp.c | 30 #include <drm/drm_dp_helper.h> 47 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nouveau_dp_probe_oui 54 NV_DEBUG(drm, "Sink OUI: %02"PRIx8"%02"PRIx8"%02"PRIx8"\n", 58 NV_DEBUG(drm, "Branch OUI: %02"PRIx8"%02"PRIx8"%02"PRIx8"\n", 67 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nouveau_dp_detect 83 NV_DEBUG(drm, "display: %dx%d dpcd 0x%02x\n", 85 NV_DEBUG(drm, "encoder: %dx%d\n", 94 NV_DEBUG(drm, "maximum: %dx%d\n",
|
nouveau_led.c | 45 struct nouveau_drm *drm = nouveau_drm(drm_dev); local in function:nouveau_led_get_brightness 46 struct nvif_object *device = &drm->client.device.object; 62 struct nouveau_drm *drm = nouveau_drm(drm_dev); local in function:nouveau_led_set_brightness 63 struct nvif_object *device = &drm->client.device.object; 85 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nouveau_led_init 86 struct nvkm_gpio *gpio = nvxx_gpio(&drm->client.device); 97 drm->led = kzalloc(sizeof(*drm->led), GFP_KERNEL); 98 if (!drm->led) 100 drm->led->dev = dev 120 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nouveau_led_suspend 129 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nouveau_led_resume 138 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nouveau_led_fini [all...] |
nouveau_nv50_fbcon.c | 39 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); local in function:nv50_fbcon_fillrect 40 struct nouveau_channel *chan = drm->channel; 74 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); local in function:nv50_fbcon_copyarea 75 struct nouveau_channel *chan = drm->channel; 102 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); local in function:nv50_fbcon_imageblit 103 struct nouveau_channel *chan = drm->channel; 159 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nv50_fbcon_accel_init 160 struct nouveau_channel *chan = drm->channel;
|
nouveau_nvc0_fbcon.c | 39 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); local in function:nvc0_fbcon_fillrect 40 struct nouveau_channel *chan = drm->channel; 74 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); local in function:nvc0_fbcon_copyarea 75 struct nouveau_channel *chan = drm->channel; 102 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); local in function:nvc0_fbcon_imageblit 103 struct nouveau_channel *chan = drm->channel; 159 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nvc0_fbcon_accel_init 160 struct nouveau_channel *chan = drm->channel;
|
nouveau_platform.c | 33 struct drm_device *drm; local in function:nouveau_platform_probe 38 drm = nouveau_platform_device_create(func, pdev, &device); 39 if (IS_ERR(drm)) 40 return PTR_ERR(drm); 42 ret = drm_dev_register(drm, 0); 44 drm_dev_put(drm);
|
nouveau_prime.c | 67 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nouveau_gem_prime_import_sg_table 79 nvbo = nouveau_bo_alloc(&drm->client, &size, &align, flags, 0, 0);
|
nouveau_sgdma.c | 92 struct nouveau_drm *drm = nouveau_bdev(bo->bdev); local in function:nouveau_sgdma_create_ttm 99 if (drm->client.device.info.family < NV_DEVICE_INFO_V0_TESLA)
|
nouveau_vga.c | 10 #include <drm/drm_crtc_helper.h> 11 #include <drm/drm_fb_helper.h> 21 struct nouveau_drm *drm = nouveau_drm(priv); local in function:nouveau_vga_set_decode 22 struct nvif_object *device = &drm->client.device.object; 24 if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE && 25 drm->client.device.info.chipset >= 0x4c) 28 if (drm->client.device.info.chipset >= 0x40) 91 nouveau_vga_init(struct nouveau_drm *drm) 93 struct drm_device *dev = drm->dev; 109 vga_switcheroo_init_domain_pm_ops(drm->dev->dev, &drm->vga_pm_domain) [all...] |
nouveau_led.c | 45 struct nouveau_drm *drm = nouveau_drm(drm_dev); local in function:nouveau_led_get_brightness 46 struct nvif_object *device = &drm->client.device.object; 62 struct nouveau_drm *drm = nouveau_drm(drm_dev); local in function:nouveau_led_set_brightness 63 struct nvif_object *device = &drm->client.device.object; 85 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nouveau_led_init 86 struct nvkm_gpio *gpio = nvxx_gpio(&drm->client.device); 97 drm->led = kzalloc(sizeof(*drm->led), GFP_KERNEL); 98 if (!drm->led) 100 drm->led->dev = dev 120 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nouveau_led_suspend 129 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nouveau_led_resume 138 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nouveau_led_fini [all...] |
nouveau_nv50_fbcon.c | 39 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); local in function:nv50_fbcon_fillrect 40 struct nouveau_channel *chan = drm->channel; 74 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); local in function:nv50_fbcon_copyarea 75 struct nouveau_channel *chan = drm->channel; 102 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); local in function:nv50_fbcon_imageblit 103 struct nouveau_channel *chan = drm->channel; 159 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nv50_fbcon_accel_init 160 struct nouveau_channel *chan = drm->channel;
|
nouveau_nvc0_fbcon.c | 39 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); local in function:nvc0_fbcon_fillrect 40 struct nouveau_channel *chan = drm->channel; 74 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); local in function:nvc0_fbcon_copyarea 75 struct nouveau_channel *chan = drm->channel; 102 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); local in function:nvc0_fbcon_imageblit 103 struct nouveau_channel *chan = drm->channel; 159 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nvc0_fbcon_accel_init 160 struct nouveau_channel *chan = drm->channel;
|
nouveau_platform.c | 33 struct drm_device *drm; local in function:nouveau_platform_probe 38 drm = nouveau_platform_device_create(func, pdev, &device); 39 if (IS_ERR(drm)) 40 return PTR_ERR(drm); 42 ret = drm_dev_register(drm, 0); 44 drm_dev_put(drm);
|
nouveau_prime.c | 67 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nouveau_gem_prime_import_sg_table 79 nvbo = nouveau_bo_alloc(&drm->client, &size, &align, flags, 0, 0);
|
nouveau_sgdma.c | 92 struct nouveau_drm *drm = nouveau_bdev(bo->bdev); local in function:nouveau_sgdma_create_ttm 99 if (drm->client.device.info.family < NV_DEVICE_INFO_V0_TESLA)
|
nouveau_vga.c | 10 #include <drm/drm_crtc_helper.h> 11 #include <drm/drm_fb_helper.h> 21 struct nouveau_drm *drm = nouveau_drm(priv); local in function:nouveau_vga_set_decode 22 struct nvif_object *device = &drm->client.device.object; 24 if (drm->client.device.info.family == NV_DEVICE_INFO_V0_CURIE && 25 drm->client.device.info.chipset >= 0x4c) 28 if (drm->client.device.info.chipset >= 0x40) 91 nouveau_vga_init(struct nouveau_drm *drm) 93 struct drm_device *dev = drm->dev; 109 vga_switcheroo_init_domain_pm_ops(drm->dev->dev, &drm->vga_pm_domain) [all...] |
nouveau_mem.c | 31 #include <drm/ttm/ttm_bo_driver.h> 94 nvif_vmm_put(&mem->cli->drm->client.vmm.vmm, &mem->vma[1]); 95 nvif_vmm_put(&mem->cli->drm->client.vmm.vmm, &mem->vma[0]); 96 mutex_lock(&mem->cli->drm->master.lock); 98 mutex_unlock(&mem->cli->drm->master.lock); 106 struct nouveau_drm *drm = cli->drm; local in function:nouveau_mem_host 113 if (!nouveau_drm_use_coherent_gpu_mapping(drm)) 114 type = drm->ttm.type_ncoh[!!mem->kind]; 116 type = drm->ttm.type_host[0] 148 struct nouveau_drm *drm = cli->drm; local in function:nouveau_mem_vram [all...] |
nouveau_nv04_fbcon.c | 38 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); local in function:nv04_fbcon_copyarea 39 struct nouveau_channel *chan = drm->channel; 58 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); local in function:nv04_fbcon_fillrect 59 struct nouveau_channel *chan = drm->channel; 85 struct nouveau_drm *drm = nouveau_drm(nfbdev->helper.dev); local in function:nv04_fbcon_imageblit 86 struct nouveau_channel *chan = drm->channel; 142 struct nouveau_drm *drm = nouveau_drm(dev); local in function:nv04_fbcon_accel_init 143 struct nouveau_channel *chan = drm->channel; 144 struct nvif_device *device = &drm->client.device;
|
nouveau_mem.c | 31 #include <drm/ttm/ttm_bo_driver.h> 94 nvif_vmm_put(&mem->cli->drm->client.vmm.vmm, &mem->vma[1]); 95 nvif_vmm_put(&mem->cli->drm->client.vmm.vmm, &mem->vma[0]); 96 mutex_lock(&mem->cli->drm->master.lock); 98 mutex_unlock(&mem->cli->drm->master.lock); 106 struct nouveau_drm *drm = cli->drm; local in function:nouveau_mem_host 113 if (!nouveau_drm_use_coherent_gpu_mapping(drm)) 114 type = drm->ttm.type_ncoh[!!mem->kind]; 116 type = drm->ttm.type_host[0] 148 struct nouveau_drm *drm = cli->drm; local in function:nouveau_mem_vram [all...] |