projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d98066
)
modesetting: use surface width height for buffer allocs
author
Dave Airlie
<airlied@redhat.com>
Thu, 5 Jun 2008 01:24:57 +0000
(11:24 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 5 Jun 2008 01:24:57 +0000
(11:24 +1000)
linux-core/intel_fb.c
patch
|
blob
|
history
diff --git
a/linux-core/intel_fb.c
b/linux-core/intel_fb.c
index
a87672d
..
ae290f3
100644
(file)
--- a/
linux-core/intel_fb.c
+++ b/
linux-core/intel_fb.c
@@
-557,8
+557,8
@@
int intelfb_create(struct drm_device *dev, uint32_t fb_width, uint32_t fb_height
struct device *device = &dev->pdev->dev;
int ret;
- mode_cmd.width =
fb
_width;/* crtc->desired_mode->hdisplay; */
- mode_cmd.height =
fb
_height;/* crtc->desired_mode->vdisplay; */
+ mode_cmd.width =
surface
_width;/* crtc->desired_mode->hdisplay; */
+ mode_cmd.height =
surface
_height;/* crtc->desired_mode->vdisplay; */
mode_cmd.bpp = 32;
mode_cmd.pitch = mode_cmd.width * ((mode_cmd.bpp + 1) / 8);