on vlv, if ipvr is installed, it need be manually unloaded before
i915, otherwise user might run into use-after-free issue.
v2:
added this patch per Daniel's comment
v3:
no change
Signed-off-by: Yao Cheng
---
tests/drv_module_reload | 16
1 file changed, 16 inser
u32 family in ipvr_drm.h
- rip out explicit fence from libdrm_ipvr
- implemented PRIME support
- add relocation fixup implementation
Signed-off-by: Yao Cheng
---
Makefile.am|6 +-
Makefile.sources |1 +
configure.ac | 26 +-
include/drm/
- call drm_gem_get_pages to replace my own implementation
- code cleanup: remove unused code
Signed-off-by: Yao Cheng
---
Documentation/DocBook/drm.tmpl| 39 ++
drivers/gpu/drm/Kconfig |2 +
drivers/gpu/drm/Makefile |1 +
drivers/gpu/drm/ipvr/Kconfig |
mu_map_sg issue by set dma_mask to support VED PRIME.
Signed-off-by: Yao Cheng
---
Documentation/DocBook/drm.tmpl | 5 +
drivers/gpu/drm/i915/Makefile | 3 +
drivers/gpu/drm/i915/i915_dma.c | 11 ++
drivers/gpu/drm/i915/i915_drv.h | 12 ++
drivers/gpu/drm/i915/i915_irq.c | 2 +
dri
User mode drm helper "libdrm_ipvr.so" and simple ioctl/execute test is included.
one test script "drv_module_reload" in i-g-t also updated to support ipvr
loading and unloading. Due to restriction in Linux platform device model, we
have to manually unload ipvr before unloading i
on vlv, if ipvr is installed, it need be manually unloaded before
i915, otherwise user might run into use-after-free issue.
Signed-off-by: Yao Cheng
---
tests/drv_module_reload | 16
1 file changed, 16 insertions(+)
diff --git a/tests/drv_module_reload b/tests
new dri card on install.
Currently only supports VED on valleyview.
Kerneldoc is updated for i915_ved.c.
Signed-off-by: Yao Cheng
---
Documentation/DocBook/drm.tmpl | 5 +
drivers/gpu/drm/i915/Makefile | 3 +
drivers/gpu/drm/i915/i915_dma.c | 11 ++
drivers/gpu/drm/i915/i915_drv.h | 9
atform device model, we have to
manually unload ipvr before unloading i915.
Yao Cheng (4):
[1/4] drm/i915: add i915_ved.c to setup bridge for VED
[2/4] drm/ipvr: drm driver for VED
[3/4] libdrm/ipvr: user mode helper for ipvr drm driver
[4/4] i-g-t: tests/drv_module_reload: add ipvr support
--
1.9.1
usermode helper of ipvr drm driver.
test tools:
1. test_ioctl: test kernel driver by directly ioctl
2. test_decode: test decode functionality by calling libdrm_ipvr
Signed-off-by: Yao Cheng
---
Makefile.am|6 +-
Makefile.sources |1 +
configure.ac | 26
Probes vxd392 on Baytrail platform and create
a new drm device for hardware accelerated video
decoding.
Signed-off-by: Yao Cheng
---
drivers/gpu/drm/Kconfig|2 +
drivers/gpu/drm/Makefile |1 +
drivers/gpu/drm/ipvr/Kconfig | 16 +
drivers/gpu/drm/ipvr
Setup following resources during i915_driver_load:
1. create a child platform and resource
2. allocate a new IRQ line and irq chip
3. set up IRQ mask/unmask callbacks
vxd392 driver (if installed) will bind itself to the
platform device and create new drm device
Signed-off-by: Yao Cheng
wing two new Kconfig are
added:
CONFIG_DRM_IPVR: Build option for ipvr module
CONFIG_DRM_IPVR_EC: Experimental feature of error concealment
User mode drm helper "libdrm_ipvr.so" and simple test are also included.
Yao Cheng (3):
[1/3] drm/i915: add vxd392 bridge in i915 on baytrail
[
12 matches
Mail list logo