diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-08-19 18:54:24 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-08-19 18:59:36 +0300 |
commit | 12ecf4b979ec79b72e7aff35b172cada85e128a5 (patch) | |
tree | f239396429de417fc54ed7c716d118221b4065b7 /include/linux/io-mapping.h | |
parent | 4fc788f5ee3dba89c3269dcfafcc36136a1ffd0e (diff) | |
download | linux-12ecf4b979ec79b72e7aff35b172cada85e128a5.tar.xz |
drm/i915/fbc: Don't set an illegal fence if unfenced
If the frontbuffer doesn't have an associated fence, it will have a
fence reg of -1. If we attempt to OR in this register into the FBC
control register we end up setting all control bits, oops!
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Cc: "Zanoni, Paulo R" <paulo.r.zanoni@intel.com>
Reviwed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20160819155428.1670-2-chris@chris-wilson.co.uk
Diffstat (limited to 'include/linux/io-mapping.h')
0 files changed, 0 insertions, 0 deletions