Repository navigation
Commit 7b0cdf3
committed
drm/vgem: Ditch attach trickery in the fence ioctl
It looks like this was done purely to get a consistent place to look
up the reservation object pointer. With the drm_prime.c helper code
now also setting gem_object->resv for imported objects we can just use
that pointer directly, instead of first ensuring a dma-buf exists.
v2: Note that I screwed up the patch ordering, hence why this needed
a Fixes: tag - CI spotted the broken intermediate state.
Fixes: 5eab998 ("drm/vgem: Drop drm_gem_prime_export")
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190614203615.12639-49-daniel.vetter@ffwll.ch1 parent 5f6ed98 commit 7b0cdf3
1 file changed
Lines changed: 1 addition & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | 103 | | |
120 | 104 | | |
121 | 105 | | |
| |||
157 | 141 | | |
158 | 142 | | |
159 | 143 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | 144 | | |
165 | 145 | | |
166 | 146 | | |
167 | 147 | | |
168 | 148 | | |
169 | 149 | | |
170 | 150 | | |
171 | | - | |
| 151 | + | |
172 | 152 | | |
173 | 153 | | |
174 | 154 | | |
| |||
0 commit comments