]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/display: Do not write in removed FBC fence registers
authorRadhakrishna Sripada <radhakrishna.sripada@intel.com>
Fri, 6 Mar 2020 18:58:33 +0000 (10:58 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Tue, 10 Mar 2020 20:43:18 +0000 (13:43 -0700)
commitcd11403dfa43f46f94b9754d670b716544ecf7bc
treef18fd8b628026cf12ba9e40cb39fe40c60a332a2
parent695e0aed038f82942dbbe0935edfcb11a6b5f61b
drm/i915/display: Do not write in removed FBC fence registers

Platforms without fences don't have FBC host tracking and those
registers are marked as reserved in those platforms.

v2: checking num_fences to write to FBC fence registers (Ville)

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200306185833.53984-2-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_fbc.c