File tree Expand file tree Collapse file tree 4 files changed +0
-71
lines changed Expand file tree Collapse file tree 4 files changed +0
-71
lines changed Original file line number Diff line number Diff line change 5
5
6
6
gma500_gfx-y += \
7
7
backlight.o \
8
- blitter.o \
9
8
cdv_device.o \
10
9
cdv_intel_crt.o \
11
10
cdv_intel_display.o \
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11
11
12
12
#include <asm/set_memory.h>
13
13
14
- #include "blitter.h"
15
14
#include "psb_drv.h"
16
15
17
16
@@ -229,18 +228,9 @@ void psb_gtt_unpin(struct gtt_range *gt)
229
228
struct drm_device * dev = gt -> gem .dev ;
230
229
struct drm_psb_private * dev_priv = dev -> dev_private ;
231
230
u32 gpu_base = dev_priv -> gtt .gatt_start ;
232
- int ret ;
233
231
234
- /* While holding the gtt_mutex no new blits can be initiated */
235
232
mutex_lock (& dev_priv -> gtt_mutex );
236
233
237
- /* Wait for any possible usage of the memory to be finished */
238
- ret = gma_blt_wait_idle (dev_priv );
239
- if (ret ) {
240
- DRM_ERROR ("Failed to idle the blitter, unpin failed!" );
241
- goto out ;
242
- }
243
-
244
234
WARN_ON (!gt -> in_gart );
245
235
246
236
gt -> in_gart -- ;
@@ -251,7 +241,6 @@ void psb_gtt_unpin(struct gtt_range *gt)
251
241
psb_gtt_detach_pages (gt );
252
242
}
253
243
254
- out :
255
244
mutex_unlock (& dev_priv -> gtt_mutex );
256
245
}
257
246
You can’t perform that action at this time.
0 commit comments