易截截图软件、单文件、免安装、纯绿色、仅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 安装 Mysql

 一、引言
  想使用Linux已经很长时间了,由于没有硬性任务一直也没有系统学习,近日由于工作需要必须使用Linux下的MySQL。本以为有
Windows下使用SQL
Server的经验,觉得在Linux下安装MySql应该是易如反掌的事,可在真正安装和使用MySQL时走了很多弯路,遇见很多问题,毕竟Linux
和Windows本身就有很大区别。为了让 ......

Linux会比BSD更受到人们的欢迎的原因


Linux 是出现约在 BSD 官司缠身、以及 Internet 开始风行之际.Linux 的开发者及爱好者正好能透过 Internet实时得发布新闻、发表新点子、提问讨论、递送程序代码及进行错误回报,这种藉由 Internet 的分布式合作方式带给Linux惊人的活力和无限的生命力,而经由 Internet 所带来的这种活力和生命力正是 Linux 长久以来能和 BS ......

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网卡驱动程序编写
[摘自 LinuxAID]
工作需要写了我们公司一块网卡的Linux驱动程序。经历一个从无到有的过程,深感技术交流的重要。Linux作为挑战微软垄断的强有力武器,日益受到大家的喜爱。真希望她能在中国迅速成长。把程序文档贴出来,希望和大家探讨Linux技术和应用,促进Linux在中国的普及。
Linux操作系统网 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号