summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/recipes-kernel
AgeCommit message (Expand)AuthorFilesLines
2020-06-03agl-virt-guest-xen feature for qemuarm64Leonid Lazarev2-4/+34
2020-05-12linux: Enable kernel configs for SystemTapKenji Hosokawa2-0/+13
2020-05-04meta-agl-bsp: extend qemux86-64 hardware supportScott Murray6-0/+152
2020-04-27meta-agl-{bsp,distro}: update kernel configuration for dunfellScott Murray5-63/+6
2020-03-18linux-agl: add pfifo patchset for fixing CAN failuresMatt Ranostay4-0/+109
2020-02-17meta-agl-bsp: Add CONFIG_LSM workaround for 5.1+ kernelsScott Murray1-0/+3
2019-08-26linux: add netfilter.cfg fragmentMatt Ranostay2-0/+4
2019-08-15linux: add CONFIG_IIO_TRIGGERED_BUFFER=m to iiodevice.cfgMatt Ranostay1-1/+2
2019-08-15linux: update options in ath9k_htc.cfgMatt Ranostay1-1/+1
2019-08-06meta-agl-bsp: recipes-kernel: linux: Add USB host driverCorentin Labbe1-0/+3
2019-06-27linux-agl: change aloop to a module instead of built-inScott Murray2-4/+4
2019-04-04Upgrade to thudScott Murray2-40/+0
2019-03-15meta-agl-bsp: recipes-kernel: linux: Increase BLK_RAM sizeCorentin Labbe1-0/+1
2019-02-13meta-agl-bsp: recipes-kernel: linux: add CONFIG_CAN_MCBA_USB to can-bus.cfgMatt Ranostay1-0/+1
2019-02-05meta-agl-bsp: recipes-kernel: linux: add usbmodem.cfg fragmentMatt Ranostay2-0/+8
2019-02-05meta-agl-bsp: recipes-kernel: linux: remove execute bit from usbaudio.cfgMatt Ranostay1-0/+0
2018-12-20kernel/4a: support more than 8 audio cardsStephane Desneux1-0/+2
2018-12-20Support external RTCs for boards without itJan-Simon Möller2-1/+13
2018-12-18linux-agl-4.14: Backport of Smack patch for cgroup2José Bollo2-0/+41
2018-12-18linux-agl-4.14: Backport of Smack patch for keysJosé Bollo2-0/+118
2018-10-19meta-agl-bsp: kernel: fix can-bus.cfgKevin Hilman1-1/+0
2018-10-15Add dummy iiodevice support for testFrederic Marec2-0/+29
2018-07-18Activate missing kernel options for 4aRonan Le Martret1-0/+4
2018-07-11meta-agl-bsp: linux: add NFC configuration fragmentMatt Ranostay2-0/+37
2018-07-04Set CAN modulesKhouloud Touil1-0/+2
2018-07-02kernel: enable 4A-specific config option snd-aloopStephane Desneux2-0/+5
2018-06-06kern-tools-native: fix fragments merging scriptStephane Desneux2-0/+40
2018-05-30Fix kernel .config file configurationRonan Le Martret1-1/+1
2018-05-22Enable I2C-TINY-USB and LEDS-BLINKM drivers for AGL demonstratorYordan Dimitrov2-0/+6
2018-02-20Fixes for meta-agl-bsp for rockoJan-Simon Möller1-0/+6
2018-02-13Rename smack OVERRIDE to with-lsm-smackJosé Bollo2-2/+2
2018-02-13linux-yocto_4.4: Remove the bbappendChanghyeok Bae5-1223/+0
2017-12-14Add SCHED_DEBUG and PROC_EVENT config fragmentFrode Isaksen2-0/+3
2017-12-01meta-agl-bsp: move usbaudio.cfg to linux-agl.incMatt Porter2-0/+5
2017-11-30Fix Linux Kernel fragment for netbootKotaro Hashimoto1-1/+1
2017-11-22Rework Linux Kernel fragment applicationsTom Rini14-18/+157
2017-11-14Add Logicool G29 steering wheel kernel configYuichi Kusakabe1-0/+3
2017-10-28Add joystick.cfg for usb joystick and steering-wheel kernel configurezheng_wenlong2-0/+7
2017-10-11Support CANUSB deviceRomain Forlot1-0/+1
2017-10-11linux-intel: Pull in common configuration fragmentsScott Murray2-20/+21
2017-10-09enable vmware drm driversMartin Kelly1-3/+2
2017-09-28cleaning kernel config warnings under pyroDominig ar Foll (Intel Open Source)2-2/+3
2017-09-18Add uvc.cfg for usb video class kernel configurezheng_wenlong2-0/+5
2017-09-08Upgrade to pyroChanghyeok Bae3-907/+11
2017-08-30linux: kernel: add USB serial support and ACM classMatt Ranostay2-0/+4
2017-07-26Fix cve patch for kernel 4.4 on intel joule [master/dab]Jan-Simon Möller4-0/+1010
2017-07-21Only apply CVE-2017-1000364 to 4.8 kernel - 4.4 needs different patchsetJan-Simon Möller2-3/+4
2017-07-21Fix: can-bus not applied at kernel configurationRomain Forlot1-1/+1
2017-06-29Backport fix for CVE-2017-1000364 to linux-yocto-4.8Jan-Simon Möller2-0/+902
2017-06-28Add CAN drivers by default to AGL boardsRomain Forlot2-0/+44
lass="n">surface->obj); } } void waltham_pointer_motion(struct window *window, uint32_t time, wl_fixed_t sx, wl_fixed_t sy) { struct seat *seat = window->receiver_seat; struct pointer *pointer = seat->pointer; if (!pointer) { fprintf(stderr, "We do not have pointer device!\n"); return; } if (pointer && pointer->obj) { fprintf(stdout, "waltham_pointer_motion() sending motion\n"); wthp_pointer_send_motion(pointer->obj, time, sx, sy); } } void waltham_pointer_button(struct window *window, uint32_t serial, uint32_t time, uint32_t button, uint32_t state) { struct seat *seat = window->receiver_seat; struct pointer *pointer = seat->pointer; if (!pointer) { fprintf(stderr, "We do not have pointer device!\n"); return; } if (pointer && pointer->obj) { fprintf(stdout, "waltham_pointer_button() sending button\n"); wthp_pointer_send_button(pointer->obj, serial, time, button, state); } } void waltham_pointer_axis(struct window *window, uint32_t time, uint32_t axis, wl_fixed_t value) { struct seat *seat = window->receiver_seat; struct pointer *pointer = seat->pointer; if (!pointer) { fprintf(stderr, "We do not have pointer device!\n"); return; } if (pointer && pointer->obj) { fprintf(stdout, "waltham_pointer_axis() sending pointer_axis\n"); wthp_pointer_send_axis(pointer->obj, time, axis, value); } } /* * waltham seat implementation */ /* * waltham touch implementation */ static void touch_release(struct wthp_touch *wthp_touch) { struct touch *touch = wth_object_get_user_data((struct wth_object *)wthp_touch); fprintf(stdout, "touch_release %p touch %p\n", wthp_touch, touch); } static const struct wthp_touch_interface touch_implementation = { touch_release, }; /* * waltham pointer implementation */ static void pointer_set_cursor(struct wthp_pointer *wthp_pointer, uint32_t serial, struct wthp_surface *surface, int32_t hotspot_x, int32_t hotspot_y) { } static void pointer_release(struct wthp_pointer *wthp_pointer) { } static const struct wthp_pointer_interface pointer_implementation = { pointer_set_cursor, pointer_release }; static void seat_get_pointer(struct wthp_seat *wthp_seat, struct wthp_pointer *wthp_pointer) { fprintf(stdout, "wthp_seat %p get_pointer(%p)\n", wthp_seat, wthp_pointer); struct seat *seat = wth_object_get_user_data((struct wth_object *)wthp_seat); struct pointer *pointer; pointer = zalloc(sizeof *pointer); if (!pointer) { client_post_out_of_memory(seat->client); return; } pointer->obj = wthp_pointer; pointer->seat = seat; seat->pointer = pointer; wl_list_insert(&seat->client->pointer_list, &pointer->link); wthp_pointer_set_interface(wthp_pointer, &pointer_implementation, pointer); } static void seat_get_touch(struct wthp_seat *wthp_seat, struct wthp_touch *wthp_touch) { struct seat *seat = wth_object_get_user_data((struct wth_object *)wthp_seat); struct touch *touch; fprintf(stdout, "wthp_seat %p get_touch(%p)\n", wthp_seat, wthp_touch); touch = zalloc(sizeof(*touch)); if (!touch) { client_post_out_of_memory(seat->client); return; } touch->obj = wthp_touch; touch->seat = seat; seat->touch = touch; fprintf(stdout, "seat_get_touch() with obj %p\n", touch->obj); wl_list_insert(&seat->client->touch_list, &touch->link); wthp_touch_set_interface(wthp_touch, &touch_implementation, touch); } static void seat_get_keyboard(struct wthp_seat *wthp_seat, struct wthp_keyboard *kid) { (void) wthp_seat; (void) kid; } static void seat_release(struct wthp_seat *wthp_seat) { } static const struct wthp_seat_interface seat_implementation = { seat_get_pointer, seat_get_keyboard, seat_get_touch, seat_release, }; void seat_send_updated_caps(struct seat *seat) { enum wthp_seat_capability caps = 0; caps |= WTHP_SEAT_CAPABILITY_POINTER; fprintf(stdout, "WTHP_SEAT_CAPABILITY_POINTER %d\n", caps); caps |= WTHP_SEAT_CAPABILITY_TOUCH; fprintf(stdout, "WTHP_SEAT_CAPABILITY_TOUCH %d\n", caps); wthp_seat_send_capabilities(seat->obj, caps); } void client_bind_seat(struct client *c, struct wthp_seat *obj) { struct seat *seat; seat = zalloc(sizeof *seat); if (!seat) { client_post_out_of_memory(c); return; } seat->obj = obj; seat->client = c; wl_list_insert(&c->seat_list, &seat->link); wthp_seat_set_interface(obj, &seat_implementation, seat); seat_send_updated_caps(seat); }