易截截图软件、单文件、免安装、纯绿色、仅160KB

Linux内核DRM实现分析——基于i915

1  接口
     我们先看看i915_drv.c里面申明的driver变量:
static struct drm_driver driver = {
 /* don't use mtrr's here, the Xserver or user space app should
  * deal with them for intel hardware.
  */
 .driver_features =
     DRIVER_USE_AGP | DRIVER_REQUIRE_AGP | /* DRIVER_USE_MTRR |*/
     DRIVER_HAVE_IRQ | DRIVER_IRQ_SHARED | DRIVER_GEM,
 .load = i915_driver_load,
 .unload = i915_driver_unload,
 .open = i915_driver_open,
 .lastclose = i915_driver_lastclose,
 .preclose = i915_driver_preclose,
 .postclose = i915_driver_postclose,
 .suspend = i915_suspend,
 .resume = i915_resume,
 .device_is_agp = i915_driver_device_is_agp,
 .enable_vblank = i915_enable_vblank,
 .disable_vblank = i915_disable_vblank,
 .irq_preinstall = i915_driver_irq_preinstall,
 .irq_postinstall = i915_driver_irq_postinstall,
 .irq_uninstall = i915_driver_irq_uninstall,
 .irq_handler = i915_driver_irq_handler,
 .reclaim_buffers = drm_core_reclaim_buffers,
 .get_map_ofs = drm_core_get_map_ofs,
 .get_reg_ofs = drm_core_get_reg_ofs,
 .master_create = i915_master_create,
 .master_destroy = i915_master_destroy,
#if defined(CONFIG_DEBUG_FS)
 .debugfs_init = i915_gem_debugfs_init,
 .debugfs_cleanup = i915_gem_debugfs_cleanup,
#endif
 .gem_init_object = i915_gem_init_object,
 .gem_free_object = i915_gem_free_object,
 .gem_vm_ops = &i915_gem_vm_ops,
 .ioctls = i915_ioctls,
 .fops = {
   .owner = THIS_MODULE,
   .open = drm_open,
   .release = drm_release,
   .ioctl = drm_ioctl,
   .mmap = drm_gem_mmap,
   .poll = drm_poll,
   .fasync = drm_fasync,
#ifdef CONFIG_COMPAT
   .compat_ioctl = i915_compat_ioctl,
#endif
 },
 .pci_driver = {
   .name


相关文档:

mysql在红旗linux下全程安装配置祥解

1、下载MySQL的安装文件
安装MySQL需要下面两个文件:
MySQL-server-5.0.46.i386.rpm   
MySQL-client-5.0.46.i386.rpm

2、安装MySQL
rpm文件是Red Hat公司开发的软件安装包,rpm可让Linux在安装软件包时免除许多复杂的手续。该命令在安装时常用的参数是
ivh
,其中i表示将安装指定的rmp软件包,V表 ......

Linux系统管理实践(3):GRUB系统引导配置

    安装ubuntu时,grub默认安装在第一个硬盘(hd0)的mbr中,其实就是把引导文件boot.img写入硬盘的mbr,当然,用户也可以选择不写入硬盘mbr 而是写入linux分区的引导扇区。grub以fd表示软盘,hd表示硬盘(包含IDE和SCSI硬盘)。以前版本的grub其设备是从0开始编号,分区也是从0开始,主分区从0-3,逻辑分区从4开始, ......

Linux Kernel in a Nutshel

Linux Kernel in a Nutshell
By Greg Kroah-Hartman
...............................................
Publisher: O'Reilly
Pub Date: December 01, 2006
ISBN-10: 0-596-10079-5
ISBN-13: 978-0-596-10079-7
Pages: 352
Written by a leading developer and maintainer of the Linux kernel,
Linux Kern ......

linux修改主机名的方法

linux修改主机名的方法
用hostname命令可以临时修改机器名,但机器重新启动之后就会恢复原来的值。
#hostname   //查看机器名
#hostname -i  //查看本机器名对应的ip地址
另外一种方法就是之久修改配置文件
修改/etc/sysconfig/network   修改这个文件,系统才有效
    /etc ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号