All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] drm/i915: Change gamma/degamma_lut_size data type to u32
@ 2019-04-26 18:01 Shashank Sharma
  2019-04-26 18:01 ` [PATCH 2/3] drm/i915/icl: Add register definitions for Multi Segmented gamma Shashank Sharma
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Shashank Sharma @ 2019-04-26 18:01 UTC (permalink / raw)
  To: intel-gfx

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>

Signed-off-by: Shashank Sharma <shashank.sharma@intel.com>
---
 drivers/gpu/drm/i915/intel_device_info.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_device_info.h b/drivers/gpu/drm/i915/intel_device_info.h
index 5a2e17d6146b..67677c356716 100644
--- a/drivers/gpu/drm/i915/intel_device_info.h
+++ b/drivers/gpu/drm/i915/intel_device_info.h
@@ -179,8 +179,8 @@ struct intel_device_info {
 	int cursor_offsets[I915_MAX_PIPES];
 
 	struct color_luts {
-		u16 degamma_lut_size;
-		u16 gamma_lut_size;
+		u32 degamma_lut_size;
+		u32 gamma_lut_size;
 		u32 degamma_lut_tests;
 		u32 gamma_lut_tests;
 	} color;
-- 
2.17.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-04-30  8:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-26 18:01 [PATCH 1/3] drm/i915: Change gamma/degamma_lut_size data type to u32 Shashank Sharma
2019-04-26 18:01 ` [PATCH 2/3] drm/i915/icl: Add register definitions for Multi Segmented gamma Shashank Sharma
2019-04-26 18:16   ` Ville Syrjälä
2019-04-29  9:24     ` Sharma, Shashank
2019-04-29 14:12   ` Jani Nikula
2019-04-30  8:48     ` Sharma, Shashank
2019-04-26 18:01 ` [PATCH 3/3] drm/i915/icl: Add Multi-segmented gamma support Shashank Sharma
2019-04-26 18:29   ` Ville Syrjälä
2019-04-29 11:30     ` Sharma, Shashank
2019-04-29 11:49       ` Ville Syrjälä
2019-04-29 12:41         ` Sharma, Shashank
2019-04-26 19:03 ` ✓ Fi.CI.BAT: success for series starting with [1/3] drm/i915: Change gamma/degamma_lut_size data type to u32 Patchwork
2019-04-27  3:14 ` ✗ Fi.CI.IGT: failure " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.