drm/rockchip: fb: allow big framebuffer

Change-Id: I2893ebbd616b79dfa6a1fcd1b98576097cbe4cb3
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
This commit is contained in:
Mark Yao
2016-12-09 15:07:54 +08:00
committed by Tao Huang
parent b8a9ec663c
commit e75a135522

View File

@@ -184,12 +184,12 @@ void rockchip_drm_mode_config_init(struct drm_device *dev)
dev->mode_config.min_height = 0;
/*
* set max width and height as default value(4096x4096).
* set max width and height as default value(16384x16384).
* this value would be used to check framebuffer size limitation
* at drm_mode_addfb().
*/
dev->mode_config.max_width = 4096;
dev->mode_config.max_height = 4096;
dev->mode_config.max_width = 16384;
dev->mode_config.max_height = 16384;
dev->mode_config.async_page_flip = true;
dev->mode_config.funcs = &rockchip_drm_mode_config_funcs;