[PATCH 15/16] drm/i915: Add set_property handler for CSC correction on CHV/BSW

2015-07-15 Thread Kausal Malladi
This patch adds set_property handler for CSC color correction and enhancement capability at Pipe level on CHV/BSW platform. The set function just attaches the CSC blob to CRTC state, that later gets committed using atomic path. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi

[PATCH 14/16] drm: Add structure for set/get a CTM color property

2015-07-15 Thread Kausal Malladi
to configure CTM coefficients for color correction. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- include/uapi/drm/drm.h | 12 1 file changed, 12 insertions(+) diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index f72b916..9580772 100644 --- a/include

[PATCH 13/16] drm/i915: Add DeGamma correction for CHV/BSW

2015-07-15 Thread Kausal Malladi
macros/defines Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- drivers/gpu/drm/i915/i915_reg.h| 5 ++ drivers/gpu/drm/i915/intel_color_manager.c | 122 + drivers/gpu/drm/i915/intel_color_manager.h | 6 ++ 3 files changed, 133 insertions

[PATCH 12/16] drm/i915: Add set_property handler for pipe deGamma correction on CHV/BSW

2015-07-15 Thread Kausal Malladi
This patch adds set_property handler for deGamma color correction and enhancement capability at Pipe level on CHV/BSW platform. The set function just attaches the deGamma blob to CRTC state, that later gets committed using atomic path. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi

[PATCH 11/16] drm/i915: Add pipe level Gamma correction for CHV/BSW

2015-07-15 Thread Kausal Malladi
-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- drivers/gpu/drm/i915/i915_reg.h| 12 +++ drivers/gpu/drm/i915/intel_color_manager.c | 149 + drivers/gpu/drm/i915/intel_color_manager.h | 20 drivers/gpu/drm/i915/intel_display.c | 3

[PATCH 10/16] drm/i915: Add set_property handler for pipe Gamma correction on CHV/BSW

2015-07-15 Thread Kausal Malladi
This patch adds set_property handler for Gamma color correction and enhancement capability at Pipe level on CHV/BSW platform. The set function just attaches the Gamma blob to CRTC state, that later gets committed using atomic path. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi

[PATCH 09/16] drm: Add structures to set/get a palette color property

2015-07-15 Thread Kausal Malladi
This patch adds new structures in DRM layer for Palette color correction. These structures will be used by user space agents to configure appropriate number of samples and Palette LUT for a platform. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- include/uapi/drm/drm.h | 27

[PATCH 08/16] drm: Add blob properties to CRTC state for color properties

2015-07-15 Thread Kausal Malladi
This patch adds blob properties to CRTC state to hold the respective blobs for color properties. These will be required by set_property calls to attach blobs for atomic commit later. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- include/drm/drm_crtc.h | 5 + 1 file

[PATCH 07/16] drm/i915: Add atomic set property interface for CRTC

2015-07-15 Thread Kausal Malladi
This patch adds atomic set property interface for Intel CRTC. This interface will be used to set color correction DRM properties. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- drivers/gpu/drm/i915/intel_atomic.c | 11 +++ drivers/gpu/drm/i915/intel_display.c | 2

[PATCH 06/16] drm/i915: Load gamma color capabilities for CHV CRTC

2015-07-15 Thread Kausal Malladi
be accessible by user space to query capabilities via DRM property interface. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- drivers/gpu/drm/i915/intel_color_manager.c | 48 ++ drivers/gpu/drm/i915/intel_color_manager.h | 4 +++ 2 files changed, 52

[PATCH 05/16] drm: Export drm_property_replace_global_blob function

2015-07-15 Thread Kausal Malladi
makes the function drm_property_replace_global_blob() be accessible globally. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- drivers/gpu/drm/drm_crtc.c | 3 ++- include/drm/drm_crtc.h | 6 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm

[PATCH 04/16] drm: Add structure for querying palette color capabilities

2015-07-15 Thread Kausal Malladi
this property with its platform's palette color capabilities. This patch adds new structure in DRM layer for querying palette color capabilities. This structure will be used by all user space agents to configure appropriate color configurations. Signed-off-by: Shashank Sharma Signed-off-by: Kausal

[PATCH 03/16] drm/i915: Attach color properties to CRTC

2015-07-15 Thread Kausal Malladi
This patch does the following: 1. Adds new files intel_color_manager(.c/.h) 2. Attaches color properties to CRTC while initialization Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- drivers/gpu/drm/i915/Makefile | 3 +- drivers/gpu/drm/i915/intel_color_manager.c

[PATCH 02/16] drm: Create Color Management DRM properties

2015-07-15 Thread Kausal Malladi
CTM and Palette color correction properties. 2. Creating these DRM properties in DRM standard properties creation sequence. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- drivers/gpu/drm/drm_crtc.c | 26 ++ include/drm/drm_crtc.h | 6 ++ 2

[PATCH 01/16] drm/i915: Atomic commit path fix for CRTC properties

2015-07-15 Thread Kausal Malladi
patch adds a fix for it and makes sure CRTC properties also get through atomic commit path. Signed-off-by: Matt Roper Signed-off-by: Kausal Malladi --- drivers/gpu/drm/i915/intel_atomic.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_atomic.c b/driv

[PATCH 00/16] Color Manager Implementation

2015-07-15 Thread Kausal Malladi
, using DRM atomic CRTC commit path. Kausal Malladi (15): drm: Create Color Management DRM properties drm/i915: Attach color properties to CRTC drm: Add structure for querying palette color capabilities drm: Export drm_property_replace_global_blob function drm/i915: Load gamma color

[PATCH 12/12] drm/i915: Add CSC correction for CHV/BSW

2015-07-03 Thread Kausal Malladi
-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- drivers/gpu/drm/i915/i915_reg.h| 4 ++ drivers/gpu/drm/i915/intel_atomic.c| 2 + drivers/gpu/drm/i915/intel_color_manager.c | 110 + drivers/gpu/drm/i915/intel_color_manager.h | 9

[PATCH 11/12] drm: Add structure for set/get a CTM color property

2015-07-03 Thread Kausal Malladi
to configure CTM coefficients for color correction. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- include/uapi/drm/drm.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index 04a8f2a..974a147 100644 --- a/include/uapi/drm/drm.h

[PATCH 10/12] drm/i915: Add DeGamma correction for CHV/BSW

2015-07-03 Thread Kausal Malladi
macros/defines Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- drivers/gpu/drm/i915/i915_reg.h| 4 ++ drivers/gpu/drm/i915/intel_atomic.c| 2 + drivers/gpu/drm/i915/intel_color_manager.c | 110 + drivers/gpu/drm/i915

[PATCH 09/12] drm/i915: Add pipe level Gamma correction for CHV/BSW

2015-07-03 Thread Kausal Malladi
-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- drivers/gpu/drm/i915/i915_reg.h| 10 ++ drivers/gpu/drm/i915/intel_atomic.c| 6 ++ drivers/gpu/drm/i915/intel_color_manager.c | 154 + drivers/gpu/drm/i915/intel_color_manager.h | 12

[PATCH 08/12] drm: Export drm_property_replace_global_blob function

2015-07-03 Thread Kausal Malladi
makes the function drm_property_replace_global_blob() be accessible globally. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- drivers/gpu/drm/drm_crtc.c | 2 +- include/drm/drm_crtc.h | 6 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm

[PATCH 07/12] drm: Add structures to set/get a palette color property

2015-07-03 Thread Kausal Malladi
This patch adds new structures in DRM layer for Palette color correction. These structures will be used by user space agents to configure appropriate number of samples and Palette LUT for a platform. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- include/uapi/drm/drm.h | 12

[PATCH 06/12] drm/i915: Add atomic set property interface for CRTC

2015-07-03 Thread Kausal Malladi
This patch adds atomic set property interface for Intel CRTC. This interface will be used to set color correction DRM properties. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- drivers/gpu/drm/i915/intel_atomic.c | 11 +++ drivers/gpu/drm/i915/intel_display.c | 2

[PATCH 05/12] drm/i915: Load color capabilities for CHV CRTC

2015-07-03 Thread Kausal Malladi
by user space to query capabilities via DRM property interface. CRTC properties added in this patch for CHV are: 1. DeGamma (Palette correction before CTM) 2. Gamma (Palette correction after CTM) 3. CSC (CTM) Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- drivers/gpu/drm/i915

[PATCH 04/12] drm: Add structures for querying color capabilities

2015-07-03 Thread Kausal Malladi
this property with its platform's color capabilities. This patch adds new structures in DRM layer for querying color capabilities. These structures will be used by all user space agents to configure appropriate color configurations. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi

[PATCH 03/12] drm/i915: Attach color properties to CRTC

2015-07-03 Thread Kausal Malladi
This patch does the following: 1. Adds new files intel_color_manager(.c/.h) 2. Attaches color properties to CRTC while initialization Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- drivers/gpu/drm/i915/Makefile | 3 +- drivers/gpu/drm/i915/intel_color_manager.c

[PATCH 02/12] drm: Create Color Management DRM properties

2015-07-03 Thread Kausal Malladi
CTM and Palette color correction properties. 2. Creating these DRM properties in DRM standard properties creation sequence. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- drivers/gpu/drm/drm_crtc.c | 24 include/drm/drm_crtc.h | 6 ++ 2 files

[PATCH 01/12] drm/i915: Atomic commit path fix for CRTC properties

2015-07-03 Thread Kausal Malladi
patch adds a fix for it and makes sure CRTC properties also get through atomic commit path. Signed-off-by: Matt Roper Signed-off-by: Kausal Malladi --- drivers/gpu/drm/i915/intel_atomic.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_atomic.c b/driv

[PATCH 00/12] Color Manager Implementation

2015-07-03 Thread Kausal Malladi
for specific usecases like Gamma color correction In the subsequent patches, we are adding support for Gamma, DeGamma and CSC color properties for one of the Intel platforms, CHV, as an example. Kausal Malladi (11): drm: Create Color Management DRM properties drm/i915: Attach color properties

[PATCH 00/00] JUST_FOR_TEST: Sending patches to dri-devel

2015-07-03 Thread Kausal Malladi
I suspect some problem, because when I try sending patches to dri-devel, they are neither getting delivered nor are waiting in moderation queue. Testing, based on suggestions from #dri-devel IRC chat. My apologies for spamming. -- 2.4.5