]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix bits vs. bytes mixup in dbuf block size computation
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 21 Dec 2018 17:14:30 +0000 (19:14 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 30 Jan 2019 14:03:01 +0000 (16:03 +0200)
commit19473276040b3e1716442eea97b2dd0051265eb2
tree153dc9de0c230eddf170a3bc1b2681cf3397f8ae
parent11eeb58cb524095c872daf8195c42f6998490e73
drm/i915: Fix bits vs. bytes mixup in dbuf block size computation

The spec used to say "8bpp" which someone took to mean 8 bytes per
pixel when in fact it was supposed to be 8 bits per pixel. The
spec has been updated to make it more clear now. Fix the code
to match.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181221171436.8218-4-ville.syrjala@linux.intel.com
Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/i915/intel_pm.c