mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
drm/rockchip: fb: allow big framebuffer
Change-Id: I2893ebbd616b79dfa6a1fcd1b98576097cbe4cb3 Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user