]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Make sure i915_ggtt_view is inited when creating an FB
authorImre Deak <imre.deak@intel.com>
Thu, 25 Mar 2021 21:47:47 +0000 (23:47 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 29 Mar 2021 19:54:50 +0000 (22:54 +0300)
commit545ca72d5e0ae0d20c2634a7c939dd30223ec6b9
treec5fb6f45e757268accd62cd022aebdd761510c87
parent82ddfb5ee7679012d523e11abdc2331f90e0be10
drm/i915: Make sure i915_ggtt_view is inited when creating an FB

This probably doesn't cause an issue, since the code checks the view
type dependent size of the views before comparing them, but let's follow
the practice to bzero the whole struct when initializing it.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210325214808.2071517-5-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_display.c