mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
drm/rockchip: add DRM_RENDER_ALLOW
This is required by android hwc. Change-Id: Ia0159b877f7d8b2bb5cecf3b352b67d9c76c7c97 Signed-off-by: Mark Yao <mark.yao@rock-chips.com> Signed-off-by: Sandy Huang <hjc@rock-chips.com>
This commit is contained in:
@@ -228,7 +228,8 @@ static const struct file_operations rockchip_drm_driver_fops = {
|
||||
|
||||
static struct drm_driver rockchip_drm_driver = {
|
||||
.driver_features = DRIVER_MODESET | DRIVER_GEM |
|
||||
DRIVER_PRIME | DRIVER_ATOMIC,
|
||||
DRIVER_PRIME | DRIVER_ATOMIC |
|
||||
DRIVER_RENDER,
|
||||
.lastclose = drm_fb_helper_lastclose,
|
||||
.gem_vm_ops = &drm_gem_cma_vm_ops,
|
||||
.gem_free_object_unlocked = rockchip_gem_free_object,
|
||||
|
||||
Reference in New Issue
Block a user