summaryrefslogtreecommitdiff
path: root/ifpps/Makefile
blob: 6f2666f861e030904c21d89b65c0782dc08b7423 (plain)
1
2
3
4
5
6
7
8
9
10
11
ifpps-libs =	$(shell pkg-config --libs ncurses)

ifpps-objs =	xmalloc.o \
		ioops.o \
		promisc.o \
		str.o \
		link.o \
		sock.o \
		dev.o \
		sig.o \
		ifpps.o
authorVille Syrjälä <ville.syrjala@linux.intel.com>2016-12-07 19:28:03 +0200 committerJani Nikula <jani.nikula@intel.com>2017-01-03 11:41:28 +0200 commit9169757ae67bc927750ae907624e65cc15b4fe5a (patch) tree90dad5b633e0ef847934665fa952cdafd6f9cbb9 parentb72eb5ffa6d8601d9ba72619d75fb5b27723743a (diff)
drm/i915: Fix oops in overlay due to frontbuffer tracking
The vma will be NULL if the overlay was previously off, so dereferencing it will oops. Check for NULL before doing that. Cc: stable@vger.kernel.org Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Fixes: 9b3b7841b86d ("drm/i915/overlay: Use VMA as the primary tracker for images") Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1481131693-27993-2-git-send-email-ville.syrjala@linux.intel.com Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> (cherry picked from commit 4a15cdbbc55463e55a7cdcf33f84ccc742ca9c29) Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat