* [tegra-drm:drm/tegra/for-next 10/24] drivers/gpu/host1x/cdma.c:253:13: error: 'struct host1x_cdma' has no member named 'sem'
@ 2019-02-01 19:40 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-02-01 19:40 UTC (permalink / raw)
To: Thierry Reding; +Cc: linux-tegra, kbuild-all, dri-devel
[-- Attachment #1: Type: text/plain, Size: 3029 bytes --]
tree: git://anongit.freedesktop.org/tegra/linux.git drm/tegra/for-next
head: e01c78172871cc703e6228fe2b195a3876e1a0a9
commit: db5652be58a96bdde402cabebc0567ee08631276 [10/24] gpu: host1x: Introduce support for wide opcodes
config: arm-tegra_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 8.2.0-11) 8.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout db5652be58a96bdde402cabebc0567ee08631276
# save the attached .config to linux build tree
GCC_VERSION=8.2.0 make.cross ARCH=arm
All errors (new ones prefixed by >>):
drivers/gpu/host1x/cdma.c: In function 'host1x_cdma_wait_pushbuffer_space':
>> drivers/gpu/host1x/cdma.c:253:13: error: 'struct host1x_cdma' has no member named 'sem'
down(&cdma->sem);
^~
vim +253 drivers/gpu/host1x/cdma.c
219
220 /*
221 * Sleep (if necessary) until the push buffer has enough free space.
222 *
223 * Must be called with the cdma lock held.
224 */
225 int host1x_cdma_wait_pushbuffer_space(struct host1x *host1x,
226 struct host1x_cdma *cdma,
227 unsigned int needed)
228 {
229 while (true) {
230 struct push_buffer *pb = &cdma->push_buffer;
231 unsigned int space;
232
233 space = host1x_pushbuffer_space(pb);
234 if (space >= needed)
235 break;
236
237 trace_host1x_wait_cdma(dev_name(cdma_to_channel(cdma)->dev),
238 CDMA_EVENT_PUSH_BUFFER_SPACE);
239
240 host1x_hw_cdma_flush(host1x, cdma);
241
242 /* If somebody has managed to already start waiting, yield */
243 if (cdma->event != CDMA_EVENT_NONE) {
244 mutex_unlock(&cdma->lock);
245 schedule();
246 mutex_lock(&cdma->lock);
247 continue;
248 }
249
250 cdma->event = CDMA_EVENT_PUSH_BUFFER_SPACE;
251
252 mutex_unlock(&cdma->lock);
> 253 down(&cdma->sem);
254 mutex_lock(&cdma->lock);
255 }
256
257 return 0;
258 }
259 /*
260 * Start timer that tracks the time spent by the job.
261 * Must be called with the cdma lock held.
262 */
263 static void cdma_start_timer_locked(struct host1x_cdma *cdma,
264 struct host1x_job *job)
265 {
266 struct host1x *host = cdma_to_host1x(cdma);
267
268 if (cdma->timeout.client) {
269 /* timer already started */
270 return;
271 }
272
273 cdma->timeout.client = job->client;
274 cdma->timeout.syncpt = host1x_syncpt_get(host, job->syncpt_id);
275 cdma->timeout.syncpt_val = job->syncpt_end;
276 cdma->timeout.start_ktime = ktime_get();
277
278 schedule_delayed_work(&cdma->timeout.wq,
279 msecs_to_jiffies(job->timeout));
280 }
281
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31459 bytes --]
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-02-01 19:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-01 19:40 [tegra-drm:drm/tegra/for-next 10/24] drivers/gpu/host1x/cdma.c:253:13: error: 'struct host1x_cdma' has no member named 'sem' kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.