Rev 4389 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4389 | Rev 4392 | ||
---|---|---|---|
Line 118... | Line 118... | ||
118 | if (!obj) { |
118 | if (!obj) { |
119 | DRM_ERROR("failed to allocate framebuffer\n"); |
119 | DRM_ERROR("failed to allocate framebuffer\n"); |
120 | ret = -ENOMEM; |
120 | ret = -ENOMEM; |
121 | goto out; |
121 | goto out; |
122 | } |
122 | } |
123 | - | ||
- | 123 | obj->has_global_gtt_mapping = 0; |
|
124 | obj->stride = mode_cmd.pitches[0]; |
124 | obj->stride = mode_cmd.pitches[0]; |
Line 125... | Line 125... | ||
125 | 125 | ||
Line 126... | Line 126... | ||
126 | mutex_lock(&dev->struct_mutex); |
126 | mutex_lock(&dev->struct_mutex); |