]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/fbc: add comments to the FBC auxiliary structs
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 14 Jul 2017 19:38:22 +0000 (16:38 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 27 Jul 2017 07:38:58 +0000 (09:38 +0200)
commit4d1edf998c018961cedbf35bb073e7848735fe30
tree6586e30268354621b4bbeb8d30d8703540eea167
parentaf5a2fe69eb823a9f902ce11ae6e7451de7091c0
drm/i915/fbc: add comments to the FBC auxiliary structs

I wrote this code an year and a half ago and I couldn't exactly
remember the main differences of these two structures when reviewing a
new FBC patch. Add some comments to help explain what's the purpose of
each struct.

For the record, the original commits are:
 15ccf782bddb ("drm/i915/fbc: introduce struct intel_fbc_reg_params")
 795e2973f2c2 ("drm/i915/fbc: introduce struct intel_fbc_state_cache")

Cc: Praveen Paneri <praveen.paneri@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20170714193822.12121-1-paulo.r.zanoni@intel.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h