]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Precompute gamma_mode
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 5 Feb 2019 16:08:37 +0000 (18:08 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 7 Feb 2019 19:35:45 +0000 (21:35 +0200)
commit8b5e8d39996855806f9f06ebc79a74ad4073b545
tree77e92555e8d29e915e7278c47bb265dc570a9c05
parent8f6e5d0d1346310ed3ae73ea3ed6b40ac4d063f3
drm/i915: Precompute gamma_mode

We shouldn't be computing gamma mode during the commit phase.
Move it to the check phase.

v2: Reword comments a bit (Matt)
    Rebase

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190205160848.24662-3-ville.syrjala@linux.intel.com
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
drivers/gpu/drm/i915/intel_color.c