Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329438
b: refs/heads/master
c: 8d3e375
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Vetter committed Sep 6, 2012
1 parent bdfaee8 commit e70d6ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 835c5873d6e38cb317091ace7c1f3c40cc0607ce
refs/heads/master: 8d3e375e77f09174038b9bfb02b8423cbb187959
15 changes: 3 additions & 12 deletions trunk/drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -5462,8 +5462,6 @@ static int intel_crtc_cursor_set(struct drm_crtc *crtc,
uint32_t addr;
int ret;

DRM_DEBUG_KMS("\n");

/* if we want to turn off the cursor ignore width and height */
if (!handle) {
DRM_DEBUG_KMS("cursor off\n");
Expand Down Expand Up @@ -6920,16 +6918,9 @@ static int intel_crtc_set_config(struct drm_mode_set *set)
int ret;
int i;

DRM_DEBUG_KMS("\n");

if (!set)
return -EINVAL;

if (!set->crtc)
return -EINVAL;

if (!set->crtc->helper_private)
return -EINVAL;
BUG_ON(!set);
BUG_ON(!set->crtc);
BUG_ON(!set->crtc->helper_private);

if (!set->mode)
set->fb = NULL;
Expand Down

0 comments on commit e70d6ea

Please sign in to comment.