1
commit 0659711dfa9c9fc52adeaba766049887d5b6f040
2
Author: Chris Wilson <chris@chris-wilson.co.uk>
3
Date: Sat Sep 8 20:01:32 2012 +0100
7
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
9
commit 2c8e48f8149499040342836491333402fd05b762
10
Author: Chris Wilson <chris@chris-wilson.co.uk>
11
Date: Fri Sep 7 23:00:47 2012 +0100
13
sna: Remember that LineDoubleDash involves updating the GC between segments
15
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
17
commit ed7b8db24921dc0bb6ea59dacf35ea41a61d59bf
18
Author: Chris Wilson <chris@chris-wilson.co.uk>
19
Date: Fri Sep 7 22:12:17 2012 +0100
21
sna: Pass the hints down to the PolyPoint fallback
23
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
25
commit 6c9df48fa8f1ac93103ce771ae28f47faa321619
26
Author: Chris Wilson <chris@chris-wilson.co.uk>
27
Date: Fri Sep 7 22:05:19 2012 +0100
29
sna: Fix PolyPoint fallback through a complex clip
31
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
33
commit 7d76eb155ed78343abfa15b7c8af87fc3d4211e4
34
Author: Chris Wilson <chris@chris-wilson.co.uk>
35
Date: Fri Sep 7 18:06:25 2012 +0100
37
sna: First scan for a backlight associated with the device
39
The goal is to find the right interface in a multi-GPU system.
41
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
43
commit 2de7d2d8150d648815feb74a3ae2239b908b971e
44
Author: Chris Wilson <chris@chris-wilson.co.uk>
45
Date: Fri Sep 7 16:56:33 2012 +0100
47
sna/prime: Fixup attaching the randr14 scanout pixmap
49
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
51
commit 448808d8a4e78afa7fe90e318d6d7afdbff66190
52
Author: Chris Wilson <chris@chris-wilson.co.uk>
53
Date: Fri Sep 7 14:31:52 2012 +0100
55
prime: Allocate a GPU_SCREEN when not primary to fulfil the output sink role
57
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
59
commit 3dce661ef3df5558fe9c9d85324ab3395a37b7ea
60
Author: Chris Wilson <chris@chris-wilson.co.uk>
61
Date: Fri Sep 7 13:48:12 2012 +0100
63
sna: And remember to update the ScreenPixmap after resize
65
Fixes the regression from the previous commit
67
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
69
commit 0c39c363d7235d03f27337c731c0ffe3369bf713
70
Author: Chris Wilson <chris@chris-wilson.co.uk>
71
Date: Fri Sep 7 13:07:52 2012 +0100
73
sna: Protect sna_crtc_resize() against early invocation with no RootWindow
75
If the outputs are resized very early on, in CreateScreenResources, then
76
we will not yet have created a RootWindow and so trying to change its
77
pixmap is a futile effort.
79
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
81
commit d7879a5939cabcd8b804e19fc422d2022ab7e3a4
82
Author: Chris Wilson <chris@chris-wilson.co.uk>
83
Date: Fri Sep 7 12:18:08 2012 +0100
85
sna/dri: Fix the double-buffer pageflipping path
87
Notably, we need to remember to exchange the front/back buffers after
90
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
92
commit 2630c81937115602faa352fca369d89fbb926b33
93
Author: Chris Wilson <chris@chris-wilson.co.uk>
94
Date: Fri Sep 7 11:23:02 2012 +0100
96
sna/dri: Make sure we set the SCANOUT flag when creating bo for pageflips
98
In case we should be creating an untiled framebuffer, we need to make
99
sure we honour the scanout alignment.
101
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
103
commit aeef03520f1b2a4b8638ff1ed4fbf19c9b35e7c8
104
Author: Chris Wilson <chris@chris-wilson.co.uk>
105
Date: Thu Sep 6 11:46:53 2012 +0100
107
sna/prime: Correct the pinning flag when importing the prime bo
109
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
111
commit 9bdf46d6c1a29b7b9e3d35e39a2e789334c0e1be
112
Author: Chris Wilson <chris@chris-wilson.co.uk>
113
Date: Thu Sep 6 11:38:08 2012 +0100
115
sna/prime: Distinguish forms of pinned pixmap
117
So that we can allow prime to replace the backing bo of currently
118
exported pixmaps through DRI2.
120
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
122
commit 39c4be2b0be66ed83bf059d3007f4143325e340d
123
Author: Chris Wilson <chris@chris-wilson.co.uk>
124
Date: Thu Sep 6 11:28:49 2012 +0100
126
uxa: Distinguish forms of pinning
128
This allows us to replace the prime bo to meet sharing requirements, but
129
still maintain the integrity with other users.
131
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
133
commit 031fa1c1c1129e486a02ffb5b3b9071f03b60048
134
Author: Chris Wilson <chris@chris-wilson.co.uk>
135
Date: Thu Sep 6 11:08:23 2012 +0100
137
uxa/prime: Mark the pixmap as pinned once exported (similar to flink)
139
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
141
commit e5d3f3818660cb875ce2ef4721c51bc95317b78d
142
Author: Chris Wilson <chris@chris-wilson.co.uk>
143
Date: Thu Sep 6 10:54:57 2012 +0100
145
sna: Add is-pinned checks to changing the pitch on an existing bo
147
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
149
commit f2affe403baea78b9c94e3d726d1b9d8a0004f35
150
Author: Chris Wilson <chris@chris-wilson.co.uk>
151
Date: Thu Sep 6 10:24:04 2012 +0100
153
sna: Apply the minimum 256 pitch to CREATE_USAGE_SHARED pixmaps as well
155
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
157
commit fbe4080816191ee97347128444f56bcc34858481
158
Author: Chris Wilson <chris@chris-wilson.co.uk>
159
Date: Thu Sep 6 08:57:34 2012 +0100
161
prime: Align pitch of shared untiled buffers to 256 bytes
163
In order for nvidia to handle the buffers we are currently generating,
164
they need to have a pitch alignment of 256 bytes. Make it so.
166
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
168
commit c5fb025267bf1019907dfcc60f0efef2691be436
169
Author: Chris Wilson <chris@chris-wilson.co.uk>
170
Date: Thu Sep 6 08:55:46 2012 +0100
172
sna: Correct assertions for adding damage that bypasses the region
174
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
176
commit 1f5d5a37e57e63fa6e5b336a4847ce4422b89044
177
Author: Chris Wilson <chris@chris-wilson.co.uk>
178
Date: Wed Sep 5 17:17:58 2012 +0100
180
Add PlatformProbe to handle sharing of device entities
182
Reported-by: Nick Bowler <nbowler@draconx.ca>
183
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54561
184
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
186
commit ddde40afc081f47a3b6b694aeb21682c240c9562
187
Author: Chris Wilson <chris@chris-wilson.co.uk>
188
Date: Wed Sep 5 16:48:01 2012 +0100
190
sna: Harden against initialisation failures
192
References: https://bugs.freedesktop.org/show_bug.cgi?id=54561
193
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
195
commit 4627dc36fa56ab971cd90088bd29a597dd12dc02
196
Author: Chris Wilson <chris@chris-wilson.co.uk>
197
Date: Wed Sep 5 16:17:17 2012 +0100
199
Revert "sna: Flush the batch before a render operation if the GPU is idle"
201
This reverts commit ad57ac07a273bf376b74884de47d8ee1e7129fb8.
203
These checks end up being too frequent and not allowing us to batch
204
sufficient commands to offset the overhead of batch submission. Hmm.
206
commit 886f3cef4101a674bb62656cf7f3046643cae4b1
207
Author: Chris Wilson <chris@chris-wilson.co.uk>
208
Date: Wed Sep 5 15:27:21 2012 +0100
210
uxa: Fix cut'n'paste error in Option "Backlight"
212
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
214
commit 6211d0914e2ed1cdd4cc2e170ee16129fc9f0d73
215
Author: Chris Wilson <chris@chris-wilson.co.uk>
216
Date: Wed Sep 5 12:33:08 2012 +0100
218
uxa: Flush batch immediately after queuing a WAIT_FOR_EVENT
220
We still encounter hangs with kernel-3.5 with the culprit being a wait
221
on a disabled pipe. As we thoroughly check before that the pipe is still
222
disabled and flush before a modeset, the only possibility that remains
223
is that DPMS is disabling the pipe before we submit. Close that race by
224
always submitting the batch immediately after a WAIT_FOR_EVENT.
226
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
228
commit 6a1423547769c24d15f6475628981d14a76a4bb2
229
Author: Chris Wilson <chris@chris-wilson.co.uk>
230
Date: Wed Sep 5 12:15:52 2012 +0100
232
sna: Initialise the empty boxes field of the region before subtracting it
234
Fixes regression from commit 38fb77af757318e5fb6f605b37306ce4585b11a5
235
Author: Chris Wilson <chris@chris-wilson.co.uk>
236
Date: Wed Sep 5 08:23:34 2012 +0100
238
sna: Don't upload ignored cpu damage
240
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
242
commit dff25e5ec4071a0404f82760e8deec3f99f4a0a9
243
Author: Chris Wilson <chris@chris-wilson.co.uk>
244
Date: Wed Sep 5 11:05:28 2012 +0100
246
sna: Drop master after discarding framebuffers
248
As Imre Deak pointed out in the previous patch, drmModeRmFB only works
249
when we hold the DRM master, therefore to prevent a leak of the
250
framebuffer across server reset we need to defer dropping master until
251
after we release our scanouts and modes.
253
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
255
commit 46981d01700c1159bfb6bc0aebc938ff1d447a0f
256
Author: Imre Deak <imre.deak@intel.com>
257
Date: Fri Aug 31 14:31:51 2012 +0300
259
uxa: fix leakage of FB when closing the screen
261
Calling drmModeRmFB is only allowed in DRM master mode. Since leaving
262
the VT also drops master mode we need to remove the FB before calling
265
This is only a real leak in case of a server reset, otherwise the server
266
process will exit anyway and the kernel will clean up the FB.
268
Signed-off-by: Imre Deak <imre.deak@intel.com>
269
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
271
commit 55cef974a5dad3fda1922648fa27bcf5bb32ea03
272
Author: Chris Wilson <chris@chris-wilson.co.uk>
273
Date: Wed Sep 5 09:38:47 2012 +0100
275
sna: Review validity of damage when discarding CPU bo
277
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
279
commit 587499bbf55b7eb0e1848822a792d535a8a3db1b
280
Author: Chris Wilson <chris@chris-wilson.co.uk>
281
Date: Wed Sep 5 10:56:18 2012 +0100
283
sna/video: Use the scanout flag and FB id for sprite framebuffers
285
So that we can use the same teardown path as normal scanouts.
287
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
289
commit 913adacc5400f94bc754f22375447e6f90ccd510
290
Author: Chris Wilson <chris@chris-wilson.co.uk>
291
Date: Wed Sep 5 09:20:55 2012 +0100
293
sna/gen7: Always emit a stall when flushing the texture cache
295
Reported-by: Reinhard Karcher <reinhard.karcher@gmx.net>
296
References: https://bugs.freedesktop.org/show_bug.cgi?id=54488
297
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
299
commit bdfedb46bd5bb3b96543a3ff553abd8ed0774fad
300
Author: Chris Wilson <chris@chris-wilson.co.uk>
301
Date: Wed Sep 5 09:15:12 2012 +0100
303
sna: Use async upload only if the last render was not CPU
305
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
307
commit 67b75ae6f66e2d8e97b0aaf70d66b6de30f9e67e
308
Author: Chris Wilson <chris@chris-wilson.co.uk>
309
Date: Wed Sep 5 08:46:39 2012 +0100
311
sna: Tweak upload path to remove redundant code
313
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
315
commit 38fb77af757318e5fb6f605b37306ce4585b11a5
316
Author: Chris Wilson <chris@chris-wilson.co.uk>
317
Date: Wed Sep 5 08:23:34 2012 +0100
319
sna: Don't upload ignored cpu damage
321
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
323
commit 2eb32f711ddd65a55c3c21f813b41aca49635a22
324
Author: Chris Wilson <chris@chris-wilson.co.uk>
325
Date: Wed Sep 5 00:22:04 2012 +0100
327
sna: Add DBG control to disable CPU bo
329
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
331
commit 19e170aa6fd3652cc2e983a291f82350dca27e52
332
Author: Chris Wilson <chris@chris-wilson.co.uk>
333
Date: Tue Sep 4 23:52:42 2012 +0100
335
sna: Fix comparison of memcpy overlap to include x-offsets
337
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
339
commit 7895416eabfc5bd361d0d0ff92c570e2f6af47e0
340
Author: Chris Wilson <chris@chris-wilson.co.uk>
341
Date: Tue Sep 4 20:30:53 2012 +0100
343
sna: Rearrange use_cpu() tests for composite ops to avoid syncing CPU bo
345
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
347
commit ad57ac07a273bf376b74884de47d8ee1e7129fb8
348
Author: Chris Wilson <chris@chris-wilson.co.uk>
349
Date: Tue Sep 4 20:06:49 2012 +0100
351
sna: Flush the batch before a render operation if the GPU is idle
353
Experiment with pushing those first commands earlier.
355
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
357
commit 6325d7e29a8bacede321362c20bf3acd33c48651
358
Author: Chris Wilson <chris@chris-wilson.co.uk>
359
Date: Tue Sep 4 14:51:54 2012 +0100
361
NEWS: fixup missing links to bugs referenced in 2.20.6 release notes
363
Reported-by: Adam Jackson <ajax@redhat.com>
364
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
366
commit bc309bad39035649ee377c1d5af9099491a8ea43
367
Author: Chris Wilson <chris@chris-wilson.co.uk>
368
Date: Tue Sep 4 14:22:15 2012 +0100
370
sna: And remember to flush the damage to the output slaves...
372
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
374
commit 68d207588a177afa4e999260bfddb4d6dba1029b
375
Author: Chris Wilson <chris@chris-wilson.co.uk>
376
Date: Tue Sep 4 13:20:21 2012 +0100
378
sna: Improve handling of output offloading
380
In particular, don't forget to flush when we only have offload slaves
381
and no native pixmaps.
383
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
385
commit 8cf7ac776b9b47dabd5ab141e5a5385c44d3f309
386
Author: Chris Wilson <chris@chris-wilson.co.uk>
387
Date: Tue Sep 4 13:55:34 2012 +0100
389
sna: Fix a typo in an error message
391
s/achieve/retrieve/ otherwise it is nonsense.
393
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
395
commit be83b98d299c74101357e7bf170b1451aec2e1f2
396
Author: Chris Wilson <chris@chris-wilson.co.uk>
397
Date: Tue Sep 4 11:23:58 2012 +0100
399
sna: Add some DBG to the prime paths
401
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
403
commit d0684d55e3a62c231c92a68403cf100c9e18351b
404
Author: Chris Wilson <chris@chris-wilson.co.uk>
405
Date: Tue Sep 4 11:05:43 2012 +0100
407
sna: Fixup CREATE_USAGE_SHARED
409
The DRI2 code tries to create pixmaps with non-zero width/height,
412
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
414
commit b6ced7a2267f9429ad38949dda39c843e2119e99
415
Author: Chris Wilson <chris@chris-wilson.co.uk>
416
Date: Tue Sep 4 10:05:46 2012 +0100
418
sna: Fix typo for detecting prime ioctls
420
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
422
commit df68723baae71498de95924c72d4f23fa7fc7fdf
423
Author: Chris Wilson <chris@chris-wilson.co.uk>
424
Date: Mon Sep 3 20:43:48 2012 +0100
426
sna: Port prime interfacing
428
Preliminary prime support.
430
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
432
commit e3ad18036b4dca29744ecfa4694006f01dd3fd18
433
Author: Chris Wilson <chris@chris-wilson.co.uk>
434
Date: Mon Sep 3 20:53:30 2012 +0100
436
sna: Enable platform probing
438
Completing commit 0768ac4d195214825137152893deb74a87fcd11e
439
Author: Dave Airlie <airlied@redhat.com>
440
Date: Wed Jul 25 16:11:23 2012 +1000
442
intel: add platform probing support.
444
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
446
commit 3dc644b2a959fc559e1138b332ed42d7235de42f
447
Author: Сковорода Никита Андреевич <chalkerx@gmail.com>
448
Date: Mon Sep 3 13:44:21 2012 +0400
450
uxa: Fix Backlight option support.
452
Signed-off-by: Сковорода Никита Андреевич <chalkerx@gmail.com>
454
commit a972affe0c78b23a119d5dd14bb4446c89122af1
455
Author: Chris Wilson <chris@chris-wilson.co.uk>
456
Date: Sun Sep 2 17:43:33 2012 +0100
458
sna/gen6+: Redirect fills if the destination is too large for 3D
460
Reported-by: Clemens Eisserer <linuxhippy@gmail.com>
461
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54134
462
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
464
commit 18d26076c778c20eb589b638fc47fa847793f149
465
Author: Dave Airlie <airlied@gmail.com>
466
Date: Tue Sep 4 07:19:12 2012 +1000
468
intel: fix return value for no pEnt
470
Probably never gets hit but shuold return FALSE,
472
pointed out on irc by Lekensteyn
474
Signed-off-by: Dave Airlie <airlied@redhat.com>
476
commit d14ff42f2a205542df2ef723c6151d18db2bea8b
477
Author: Dave Airlie <airlied@redhat.com>
478
Date: Thu Jul 26 10:43:29 2012 +1000
480
intel: query kernel for caps to setup scrn capabilities.
482
This queries the kernel for prime support before advertising
485
Signed-off-by: Dave Airlie <airlied@redhat.com>
487
commit 6705d8237aca90964449e4dbee97b4f62b87c28b
488
Author: Dave Airlie <airlied@redhat.com>
489
Date: Thu Jul 26 10:37:04 2012 +1000
491
intel: add pixmap tracking and scanout support. (v2)
493
This adds support for pixmap tracking and scanout of
496
v2: do dirty updates after uxa block handler, check if kernel
497
can flush vmap for us so we don't have to.
499
Signed-off-by: Dave Airlie <airlied@redhat.com>
501
commit 69827126abdfa289417b55fe7db8ae0535037185
502
Author: Dave Airlie <airlied@redhat.com>
503
Date: Wed Jul 25 16:22:57 2012 +1000
505
intel/uxa: add pixmap sharing support.
507
Signed-off-by: Dave Airlie <airlied@redhat.com>
509
commit 0768ac4d195214825137152893deb74a87fcd11e
510
Author: Dave Airlie <airlied@redhat.com>
511
Date: Wed Jul 25 16:11:23 2012 +1000
513
intel: add platform probing support.
515
This allows the driver to be loaded by the platform loading code.
517
Signed-off-by: Dave Airlie <airlied@redhat.com>
519
commit 164ae7a4f9fd3e538f1b506031d297088fc0c659
520
Author: Chris Wilson <chris@chris-wilson.co.uk>
521
Date: Sun Sep 2 17:19:12 2012 +0100
523
man: Malformed "Backlight" section
525
Reported-by: Matthew Monaco <dgbaley27@0x01b.net>
526
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54397
527
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
529
commit 67b44104168650473a24e69056707e0b35f1713e
530
Author: Chris Wilson <chris@chris-wilson.co.uk>
531
Date: Sun Sep 2 12:47:36 2012 +0100
533
sna: Cache the temporary upload buffer when copying boxes
535
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
537
commit 4b558281e04e4d4febfc361632a90f8a45080c49
538
Author: Chris Wilson <chris@chris-wilson.co.uk>
539
Date: Sun Sep 2 12:23:59 2012 +0100
541
sna: Don't retire when searching for a snoopable buffer without hw support
543
If the hw/kernel doesn't support snoopable buffers, then it makes little
544
sense to search for one, and force a retire in the certainty of not
547
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
1
549
commit d933f3a7965c9aa70f70477be3bfe94d5ded948b
2
550
Author: Chris Wilson <chris@chris-wilson.co.uk>
3
551
Date: Sun Sep 2 10:29:49 2012 +0100