]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Change gamma/degamma_lut_size data type to u32
authorShashank Sharma <shashank.sharma@intel.com>
Wed, 12 Jun 2019 06:44:57 +0000 (12:14 +0530)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 17 Jun 2019 08:26:47 +0000 (10:26 +0200)
commit89a72304f2f3d4baf14e71c570ea4d99a00dae07
tree684509a88d5991664cfba0b90df05713d533c690
parent83766cdef332b46a467b7fc97d6ffae7c1694d48
drm/i915: Change gamma/degamma_lut_size data type to u32

Currently, data type of gamma_lut_size & degamma_lut_size elements
in intel_device_info is u16, which means it can accommodate maximum
64k values. In case of ICL multisegmented gamma, the size of gamma
LUT is 256K.

This patch changes the data type of both of these elements to u32.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Uma Shankar <uma.shankar@intel.com>
V4: Added Uma's r-b.

Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1560321900-18318-2-git-send-email-uma.shankar@intel.com
drivers/gpu/drm/i915/intel_device_info.h