evdi:master

Last commit made on 2019-07-08
Get this branch:
git clone -b master https://git.launchpad.net/evdi

Branch merges

Branch information

Name:
master
Repository:
lp:evdi

Recent commits

2a1a9f5... by Dawid Kurek <email address hidden> on 2019-07-08

Merge pull request #167 from DisplayLink/devel

Merge branch 'devel' into master

a1e1135... by Aleksander Miera <email address hidden> on 2019-06-17

trigger mode change event when old framebuffer does not exist

This is a workaround for FourCC being sent only on mode change,
which causes colors to be swapped on Wayland while switching
from Xorg, as they use different color format.

ce107a0... by Lukasz Spintzyk <email address hidden> on 2019-03-18

Adjust evdi compatibility level to 1.5

bae2246... by Dawid Kurek <email address hidden> on 2019-06-12

Merge pull request #163 from ColinIanKing/devel

fix minor issues found with the static analysis tool Coverity

4a18c38... by Colin Ian King on 2019-06-12

Fix potiential null pointer dereference when initializing pointer fb

There is a sanity check at the end of evdi_painter_mode_changed_notify
to see if pointer 'painter' is null. This implies it is null at the
start of the function, in which case the assignment of fb using
fb = &painter->scanout_fb->base will be performing a null pointer
dereference. Fix this by sanity checking if pointer is null to start
with and bail out early if it is.

Addresses-Coverity: ("Dereference before null check")
Signed-off-by: Colin Ian King <email address hidden>

7e840df... by Colin Ian King on 2019-06-12

Free evdi->cursor before freeing evdi

Currently evdi is freed and then evdi->cursor is freed, fix
this by swapping the order to avoid dereferencing a freed pointer.

Addresses-Coverity: ("Use after free")
Signed-off-by: Colin Ian King <email address hidden>

41afcc5... by Colin Ian King on 2019-06-12

Don't dereference pointer state if it is null

An earlier check on the pointer 'state' implies it could be null
and the calls drm_atomic_state_put/drm_atomic_state_free can
dereference it causing a null pointer dereference if it is null.
Add a null check to state so that we avoid the null dereferences.

Issue found by static analysis checking with Coverity.

Addreses-Coverity: ("Dereference after null check")
Signed-off-by: Colin Ian King <email address hidden>

017f671... by Colin Ian King on 2019-06-06

Linux 5.2: use drm_fb_helper_fill_info

Linux commit 168b85e9b223 ("drm/fb-helper: Unexport fill_{var,info}")
unexported drm_fb_helper_fill_fix and drm_fb_helper_fill_var, so
now use the new helper drm_fb_helper_fill_info instead.

Signed-off-by: Colin Ian King <email address hidden>

dec9f2c... by Colin Ian King on 2019-06-06

Linux 5.2: use drm_fb_helper_fill_info

Linux commit 168b85e9b223 ("drm/fb-helper: Unexport fill_{var,info}")
unexported drm_fb_helper_fill_fix and drm_fb_helper_fill_var, so
now use the new helper drm_fb_helper_fill_info instead.

Signed-off-by: Colin Ian King <email address hidden>

0ba2ff8... by Dawid Kurek <email address hidden> on 2019-05-30

Add issue and PR templates