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
-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 | 110 +
drivers/gpu/drm/i915/intel_color_manager.h | 20 ++
3 files changed, 135 insertions(+)
diff --git a
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
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
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
-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
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
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
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
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
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
ds 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/drivers/gpu/dr
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
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
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
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: K
ation of this module, 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/i9
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
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
-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
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
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
-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
ds 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/drivers/gpu/dr
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
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
correction after CTM 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
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 Ma
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
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
30 matches
Mail list logo