projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f77cef3
)
drm/vmwgfx: Report propper framebuffer_{max|min}_{width|height}
author
Jakob Bornecrantz
<jakob@vmware.com>
Tue, 9 Feb 2010 19:41:57 +0000
(19:41 +0000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 11 Feb 2010 01:58:33 +0000
(11:58 +1000)
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
index eeba6d1d06e437577b6401979183c8bdd6cc6771..31f9afed0a63210cb02e9c57daea04b1291bef3d 100644
(file)
--- a/
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
+++ b/
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
@@
-769,10
+769,10
@@
int vmw_kms_init(struct vmw_private *dev_priv)
drm_mode_config_init(dev);
dev->mode_config.funcs = &vmw_kms_funcs;
- dev->mode_config.min_width =
640
;
- dev->mode_config.min_height =
480
;
- dev->mode_config.max_width =
2048
;
- dev->mode_config.max_height =
2048
;
+ dev->mode_config.min_width =
1
;
+ dev->mode_config.min_height =
1
;
+ dev->mode_config.max_width =
dev_priv->fb_max_width
;
+ dev->mode_config.max_height =
dev_priv->fb_max_height
;
ret = vmw_kms_init_legacy_display_system(dev_priv);