diff options
Diffstat (limited to 'drivers/gpu/drm/gma500/psb_intel_display.c')
-rw-r--r-- | drivers/gpu/drm/gma500/psb_intel_display.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/gma500/psb_intel_display.c b/drivers/gpu/drm/gma500/psb_intel_display.c index f65bcc4f7bff..21aed85eb96e 100644 --- a/drivers/gpu/drm/gma500/psb_intel_display.c +++ b/drivers/gpu/drm/gma500/psb_intel_display.c | |||
@@ -469,7 +469,8 @@ static void psb_intel_cursor_init(struct drm_device *dev, | |||
469 | /* Allocate 4 pages of stolen mem for a hardware cursor. That | 469 | /* Allocate 4 pages of stolen mem for a hardware cursor. That |
470 | * is enough for the 64 x 64 ARGB cursors we support. | 470 | * is enough for the 64 x 64 ARGB cursors we support. |
471 | */ | 471 | */ |
472 | cursor_gt = psb_gtt_alloc_range(dev, 4 * PAGE_SIZE, "cursor", 1); | 472 | cursor_gt = psb_gtt_alloc_range(dev, 4 * PAGE_SIZE, "cursor", 1, |
473 | PAGE_SIZE); | ||
473 | if (!cursor_gt) { | 474 | if (!cursor_gt) { |
474 | gma_crtc->cursor_gt = NULL; | 475 | gma_crtc->cursor_gt = NULL; |
475 | goto out; | 476 | goto out; |