[PATCH v5 0/17] Add Analogix Core Display Port Driver

2015-10-10 Thread Yakir Yang
Hi Javier, On 10/08/2015 08:40 AM, Yakir Yang wrote: > On 10/07/2015 07:25 PM, Javier Martinez Canillas wrote: >> On 10/07/2015 01:05 PM, Yakir Yang wrote: >>> On 10/07/2015 05:26 PM, Javier Martinez Canillas wrote: On 10/07/2015 11:02 AM, Yakir Yang wrote: > On 10/07/2015 04:46 PM,

[Bug 91516] Hang on Dota 2 Reborn with Unsafe Math

2015-10-10 Thread bugzilla-dae...@freedesktop.org
this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151010/651c3853/attachment.html>

[PATCH] nouveau: fix OpenFirmware support

2015-10-10 Thread Laurent Vivier
Le 10/10/2015 20:41, Ilia Mirkin a écrit : > Hi Laurent, > > On Sat, Oct 10, 2015 at 9:27 AM, Laurent Vivier wrote: >> On PowerMac G5 (and I think on all OpenFirmware platforms), nvbios_pcirTp() >> returns NULL. But in fact the OpenFirmware has given us the size >> we can store in

[PATCH 05/10] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver

2015-10-10 Thread kbuild test robot
structureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation -- next part -- A non-text attachment was scrubbed... Name: .config.gz Type: application/octet-stream Size: 43215 bytes Desc: not available URL:

[Bug 91930] Program with GtkGLArea widget does not redraw

2015-10-10 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151010/52b46985/attachment.html>

[PATCH] nouveau: fix OpenFirmware support

2015-10-10 Thread Ilia Mirkin
On Sat, Oct 10, 2015 at 7:45 PM, Laurent Vivier wrote: > > > Le 10/10/2015 21:56, Ilia Mirkin a écrit : >> On Sat, Oct 10, 2015 at 3:29 PM, Laurent Vivier wrote: >>> >>> >>> Le 10/10/2015 20:41, Ilia Mirkin a écrit : Hi Laurent, On Sat, Oct 10, 2015 at 9:27 AM, Laurent Vivier

[PATCH 05/10] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver

2015-10-10 Thread kbuild test robot
: application/octet-stream Size: 49960 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151010/868ed410/attachment-0001.obj>

[PATCH 09/10] drm/panel: simple: Add support for BOE TV080WUM-NL0

2015-10-10 Thread Chris Zhong
This adds support for the BOE TV080WUM-NL0 1200x1920 mipi panel to the DRM simple panel driver. Signed-off-by: Chris Zhong --- drivers/gpu/drm/panel/panel-simple.c | 33 + 1 file changed, 33 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c

[PATCH 06/10] drm: rockchip: Support Synopsys DesignWare MIPI DSI host controller

2015-10-10 Thread Chris Zhong
Add support for Synopsys DesignWare MIPI DSI host controller which is embedded in the rk3288 SoCs. Signed-off-by: Chris Zhong --- drivers/gpu/drm/rockchip/Kconfig| 10 + drivers/gpu/drm/rockchip/Makefile | 1 + drivers/gpu/drm/rockchip/dw_mipi_dsi_rockchip.c |

[PATCH 05/10] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver

2015-10-10 Thread Chris Zhong
add Synopsys DesignWare MIPI DSI host controller driver support. Signed-off-by: Chris Zhong --- drivers/gpu/drm/bridge/Kconfig | 10 + drivers/gpu/drm/bridge/Makefile |1 + drivers/gpu/drm/bridge/dw_mipi_dsi.c | 1055 ++

[PATCH 03/10] drm/dsi: Add a helper to get bits per pixel of MIPI DSI pixel format

2015-10-10 Thread Chris Zhong
From: Liu Ying Signed-off-by: Liu Ying Acked-by: Thierry Reding Signed-off-by: Chris Zhong --- include/drm/drm_mipi_dsi.h | 14 ++ 1 file changed, 14 insertions(+) diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h index

[PATCH 02/10] drm/rockchip: return a true clock rate to adjusted_mode

2015-10-10 Thread Chris Zhong
Sometimes the clock driver can not set a accurate clock_rate for vop, get the true rate of vop_dclk and set it back to adjusted_mode, since the mipi dsi driver need to use the clock to make the calculation of Blanking. Signed-off-by: Chris Zhong --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c

[PATCH 00/10] Add mipi dsi support for rk3288

2015-10-10 Thread Chris Zhong
The rk3288 MIPI DSI is a Synopsys DesignWare MIPI DSI host controller IP. This series adds support for a Synopsys DesignWare MIPI DSI host controller DRM bridge driver and a rockchip MIPI DSI specific DRM driver. This series also includes a DRM panel driver for BOE TV080WUM-NL0 panel. This panel

[PATCH v2 2/2] drm/nouveau: increase max pixel clock to 225 MHZ for HDMI

2015-10-10 Thread Hauke Mehrtens
The Nvidia blob allows a pixel clock up to 225 MHz in version 346.59, but only allowed 165MHz in version 295 for HDMI connections. This was tested with a GF114 (Nvidia GTX 560 TI) and a HDMI monitor which used 225 MHz pixel clock and a signal link DVI monitor with a pixel clock of less than 165

[PATCH v2 1/2] drm/nouveau: activate dual link TMDS links only when possible

2015-10-10 Thread Hauke Mehrtens
Without this patch a pixel clock rate above 165 MHz on a TMDS link is assumed to be dual link. This is true for DVI, but not for HDMI. HDMI supports no dual link, but it supports pixel clock rates above 165 MHz. Only activate Dual Link mode when it is actual possible. Signed-off-by: Hauke

[PATCH v2 0/2] drm/nouveau: add support for 2560x1440@56 over HDMI

2015-10-10 Thread Hauke Mehrtens
These patches are adding support for outputting 2560x1440 at 56 over HDMI. This needs a pixel clock of 225 MHz which was not supported before. This was tested in a dual monitor setup with a GF114 (GTX 560 TI) and one HDMI monitor running with 2560x1440 at 56 and one DVI monitor running with

[PATCH] nouveau: fix OpenFirmware support

2015-10-10 Thread Ilia Mirkin
On Sat, Oct 10, 2015 at 3:29 PM, Laurent Vivier wrote: > > > Le 10/10/2015 20:41, Ilia Mirkin a écrit : >> Hi Laurent, >> >> On Sat, Oct 10, 2015 at 9:27 AM, Laurent Vivier wrote: >>> On PowerMac G5 (and I think on all OpenFirmware platforms), nvbios_pcirTp() >>> returns NULL. But in fact the

[PATCH] nouveau: fix OpenFirmware support

2015-10-10 Thread Laurent Vivier
On PowerMac G5 (and I think on all OpenFirmware platforms), nvbios_pcirTp() returns NULL. But in fact the OpenFirmware has given us the size we can store in image->size. This size is stored in bios->size by of_init() as there is no way to retrieve it otherwise. And as we know the size, copy all

[Bug 91733] [SKL/HSW] Ogles1conform pntszary.c fails

2015-10-10 Thread bugzilla-dae...@freedesktop.org
bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151010/68bcc0a4/attachment.html>

[PATCH] nouveau: fix OpenFirmware support

2015-10-10 Thread Ilia Mirkin
Hi Laurent, On Sat, Oct 10, 2015 at 9:27 AM, Laurent Vivier wrote: > On PowerMac G5 (and I think on all OpenFirmware platforms), nvbios_pcirTp() > returns NULL. But in fact the OpenFirmware has given us the size > we can store in image->size. > > This size is stored in bios->size by of_init() as

v4.3-rc4: i915: ThinkPad Yoga 12: *ERROR* The master control interrupt lied (SDE)!

2015-10-10 Thread Darren Hart
The Debian 3.16.0 kernel does not emit the error, but I have not attempted a bisection. The warning was added by: 38cc46d drm/i915/bdw: Ack interrupts before handling them (GEN8) 2014-06-18 (1 year, 4 months ago), Oscar Mateo Follows: v3.15-rc8 Preceedes: 3.17-rc1 This is not present in

4.2-rc4 kernel warnings on HSW laptop

2015-10-10 Thread Takashi Iwai
Hi, I noticed that a HSW laptop gets a few new warnings since 4.2-rc kernels. One error messages pops at each boot time: Console: switching to colour dummy device 80x25 [drm] Replacing VGA console driver [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [drm] Driver supports

[PATCH 22/22] drm/i915: BDW: Pipe level CSC correction

2015-10-10 Thread Sharma, Shashank
Regards Shashank On 10/10/2015 5:24 AM, Emil Velikov wrote: > Hi Shashank, > > On 9 October 2015 at 20:29, Shashank Sharma > wrote: >> BDW/SKL/BXT support Color Space Conversion (CSC) using a 3x3 matrix >> that needs to be programmed into respective CSC registers. >> >> This patch does the

[PATCH 21/22] drm/i915: BDW: Pipe level degamma correction

2015-10-10 Thread Sharma, Shashank
Regards Shashank On 10/10/2015 5:19 AM, Emil Velikov wrote: > Hi Shashank, > > On 9 October 2015 at 20:29, Shashank Sharma > wrote: >> BDW/SKL/BXT supports Degamma color correction feature, which >> linearizes the non-linearity due to gamma encoded color values. >> This will be applied before

[PATCH 17/22] drm/i915: Attach color properties to CRTC

2015-10-10 Thread Sharma, Shashank
Regards Shashank On 10/10/2015 5:15 AM, Emil Velikov wrote: > On 9 October 2015 at 20:29, Shashank Sharma > wrote: >> Function intel_attach_color_properties_to_crtc attaches a >> color property to its CRTC object. This patch calls this >> function from crtc initialization sequence. >> >>

[PATCH 15/22] drm/i915: CHV: Pipe level CSC correction

2015-10-10 Thread Sharma, Shashank
Regards Shashank On 10/10/2015 5:13 AM, Emil Velikov wrote: > On 9 October 2015 at 20:29, Shashank Sharma > wrote: >> CHV/BSW supports Color Space Conversion (CSC) using a 3x3 matrix >> that needs to be programmed into CGM (Color Gamut Mapping) registers. >> >> This patch does the following: >>

[PATCH 19/22] drm/i915: BDW: Pipe level Gamma correction

2015-10-10 Thread Sharma, Shashank
Regards Shashank On 10/10/2015 5:09 AM, Emil Velikov wrote: > Hi Shashank, > > On 9 October 2015 at 20:29, Shashank Sharma > wrote: > [snip] >> diff --git a/drivers/gpu/drm/i915/intel_color_manager.c >> b/drivers/gpu/drm/i915/intel_color_manager.c >> index d5315b2..74f8fc3 100644 >> ---

[PATCH 16/22] drm/i915: Commit color correction to CRTC

2015-10-10 Thread Sharma, Shashank
Regards Shashank On 10/10/2015 4:54 AM, Emil Velikov wrote: > Hi Shashank, > > On 9 October 2015 at 20:29, Shashank Sharma > wrote: >> The color correction blob values are loaded during set_property >> calls. This patch adds a function to find the blob and apply the >> correction values to the

[PATCH 14/22] drm/i915: CHV: Pipe level degamma correction

2015-10-10 Thread Sharma, Shashank
Regards Shashank On 10/10/2015 4:41 AM, Emil Velikov wrote: > Hi Shashank, > > On 9 October 2015 at 20:29, Shashank Sharma > wrote: >> CHV/BSW supports Degamma color correction, which linearizes all >> the non-linear color values. This will be applied before Color >> Transformation. >> >> This

[PATCH 13/22] drm/i915: CHV: Pipe level Gamma correction

2015-10-10 Thread Sharma, Shashank
Regards Shashank On 10/10/2015 4:37 AM, Emil Velikov wrote: > Hi Shashank, > > On 9 October 2015 at 20:29, Shashank Sharma > wrote: >> CHV/BSW platform supports two different pipe level gamma >> correction modes, which are: >> 1. Legacy 8-bit mode >> 2. 10-bit CGM (Color Gamut Mapping) mode >>

[Bug 91278] Tonga GPU lock/reset fail with Unigine Valley

2015-10-10 Thread bugzilla-dae...@freedesktop.org
looks like there's something in the scheduler that either makes it not happen as often, or not at all (will need to confirm this). -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://list

[PATCH 10/22] drm/i915: Register color correction capabilities

2015-10-10 Thread Sharma, Shashank
Regards Shashank On 10/10/2015 3:51 AM, Emil Velikov wrote: > Hi Shashank, > > On 9 October 2015 at 20:29, Shashank Sharma > wrote: >> From DRM color management: >> >> DRM color manager supports these color properties: >> 1. "ctm": Color transformation matrix

[PATCH 09/22] drm/i915: Create color management files

2015-10-10 Thread Sharma, Shashank
Regards Shashank On 10/10/2015 4:17 AM, Emil Velikov wrote: > Hi Shashank, > > On 9 October 2015 at 20:28, Shashank Sharma > wrote: > [snip] >> + >> +/* Color management bit utilities */ >> +#define GET_BIT_MASK(n) ((1 << n) - 1) >> + >> +/* Read bits of a word from bit no. 'start'(lsb) till

[PATCH RFC 1/5] drm/doc: Remove TODO about drm_vblank_pre/post_modeset()

2015-10-10 Thread Lukas Wunner
Necessary for Daniel's rename commit to apply cleanly. Signed-off-by: Lukas Wunner --- Documentation/DocBook/drm.tmpl | 2 -- 1 file changed, 2 deletions(-) diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl index 308b141..da1060c 100644 ---

[PATCH 04/22] drm: Add set property support for color manager

2015-10-10 Thread Sharma, Shashank
Regards Shashank On 10/10/2015 3:55 AM, Emil Velikov wrote: > Hi Shashank, > > On 9 October 2015 at 20:28, Shashank Sharma > wrote: >> As per DRM color manager design, if a userspace wants to set a correction >> blob, it prepares it and sends the blob_id to kernel via set_property >> call. DRM

[PATCH 03/22] drm: Add color correction blobs in CRTC state

2015-10-10 Thread Sharma, Shashank
Thanks for the review comments, Emil. Regards Shashank On 10/10/2015 3:53 AM, Emil Velikov wrote: > Hi Shashank, > > On 9 October 2015 at 20:28, Shashank Sharma > wrote: >> This patch adds new variables in CRTC state, to hold respective color >> correction blobs. These blobs will be required

[Bug 91278] Tonga GPU lock/reset fail with Unigine Valley

2015-10-10 Thread bugzilla-dae...@freedesktop.org
time. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151010/b2591511/attachment.html>

[Intel-gfx] [PATCH v5 1/2] drm/dp: Add a drm_aux-dev module for reading/writing dpcd registers.

2015-10-10 Thread kbuild test robot
nology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation -- next part -- A non-text attachment was scrubbed... Name: .config.gz Type: application/octet-stream Size: 36227 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151010/8a5d919a/attachment-0001.obj>

[Bug 91278] Tonga GPU lock/reset fail with Unigine Valley

2015-10-10 Thread bugzilla-dae...@freedesktop.org
ttp://lists.freedesktop.org/archives/dri-devel/attachments/20151010/171d9412/attachment.html>

[Intel-gfx] [PATCH 04/22] drm: Add set property support for color manager

2015-10-10 Thread kbuild test robot
ration -- next part -- A non-text attachment was scrubbed... Name: .config.gz Type: application/octet-stream Size: 6144 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151010/7bcd19eb/attachment-0001.obj>

[Intel-gfx] [PATCH 03/22] drm: Add color correction blobs in CRTC state

2015-10-10 Thread kbuild test robot
bbed... Name: .config.gz Type: application/octet-stream Size: 6144 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151010/28c25e4b/attachment.obj>

[Intel-gfx] [PATCH 02/22] drm: Create Color Management query properties

2015-10-10 Thread kbuild test robot
6144 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151010/d716a370/attachment-0001.obj>

[Intel-gfx] [PATCH 01/22] drm: Create Color Management DRM properties

2015-10-10 Thread kbuild test robot
Intel Corporation -- next part -- A non-text attachment was scrubbed... Name: .config.gz Type: application/octet-stream Size: 6144 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151010/0cb74201/attachment-0001.obj>

[PATCH v3 1/7] drm/vc4: Add devicetree bindings for VC4.

2015-10-10 Thread Sebastian Reichel
re Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151010/151bf951/attachment-0001.sig>

[PATCH 22/22] drm/i915: BDW: Pipe level CSC correction

2015-10-10 Thread Shashank Sharma
BDW/SKL/BXT support Color Space Conversion (CSC) using a 3x3 matrix that needs to be programmed into respective CSC registers. This patch does the following: 1. Adds the core function to program CSC correction values for BDW/SKL/BXT platform 2. Adds CSC correction macros/defines

[PATCH 21/22] drm/i915: BDW: Pipe level degamma correction

2015-10-10 Thread Shashank Sharma
BDW/SKL/BXT supports Degamma color correction feature, which linearizes the non-linearity due to gamma encoded color values. This will be applied before Color Transformation. This patch does the following: 1. Adds the core function to program DeGamma correction values for BDW/SKL/BXT platform

[PATCH 20/22] drm/i915: BDW: Load degamma correction values

2015-10-10 Thread Shashank Sharma
I915 color manager registers pipe degamma correction as palette correction before CTM, DRM property. This patch adds the no of coefficients(65) for degamma correction as "num_samples_before_ctm" parameter in device info structures, for BDW and higher platforms. Signed-off-by: Shashank Sharma

[PATCH 19/22] drm/i915: BDW: Pipe level Gamma correction

2015-10-10 Thread Shashank Sharma
BDW/SKL/BXT platforms support various Gamma correction modes which are: 1. Legacy 8-bit mode 2. 10-bit Split Gamma mode 3. 12-bit mode This patch does the following: 1. Adds the core function to program Gamma correction values for BDW/SKL/BXT platforms 2. Adds Gamma correction macros/defines

[PATCH 18/22] drm/i915: BDW: Load gamma correction values

2015-10-10 Thread Shashank Sharma
I915 color manager registers pipe gamma correction as palette correction after CTM property. For BDW and higher platforms, split gamma correction is the best gamma correction. This patch adds the no of coefficients(512) for split gamma correction as "num_samples_after_ctm" parameter in device

[PATCH 17/22] drm/i915: Attach color properties to CRTC

2015-10-10 Thread Shashank Sharma
Function intel_attach_color_properties_to_crtc attaches a color property to its CRTC object. This patch calls this function from crtc initialization sequence. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- drivers/gpu/drm/i915/intel_display.c | 1 +

[PATCH 16/22] drm/i915: Commit color correction to CRTC

2015-10-10 Thread Shashank Sharma
The color correction blob values are loaded during set_property calls. This patch adds a function to find the blob and apply the correction values to the display registers, during the atomic commit call. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi ---

[PATCH 15/22] drm/i915: CHV: Pipe level CSC correction

2015-10-10 Thread Shashank Sharma
CHV/BSW supports Color Space Conversion (CSC) using a 3x3 matrix that needs to be programmed into CGM (Color Gamut Mapping) registers. This patch does the following: 1. Attaches CSC property to CRTC 2. Adds the core function to program CSC correction values 3. Adds CSC correction macros

[PATCH 14/22] drm/i915: CHV: Pipe level degamma correction

2015-10-10 Thread Shashank Sharma
CHV/BSW supports Degamma color correction, which linearizes all the non-linear color values. This will be applied before Color Transformation. This patch does the following: 1. Attach deGamma property to CRTC 2. Add the core function to program DeGamma correction values for CHV/BSW platform 2.

[PATCH 13/22] drm/i915: CHV: Pipe level Gamma correction

2015-10-10 Thread Shashank Sharma
CHV/BSW platform supports two different pipe level gamma correction modes, which are: 1. Legacy 8-bit mode 2. 10-bit CGM (Color Gamut Mapping) mode This patch does the following: 1. Attaches Gamma property to CRTC 3. Adds the core Gamma correction function for CHV/BSW 4. Adds Gamma correction

[PATCH 12/22] drm/i915: CHV: Load degamma color correction values

2015-10-10 Thread Shashank Sharma
DRM color manager allows the driver to showcase its best color correction capabilities using the specific query property cm_coeff_before_ctm_property. The driver must loads the no. of coefficients for color correction as per the platform capability during the init time. This patch adds no of

[PATCH 11/22] drm/i915: CHV: Load gamma color correction values

2015-10-10 Thread Shashank Sharma
DRM color manager allows the driver to showcase its best color correction capabilities using the specific query property cm_coeff_after_ctm_property. The driver must loads the no. of coefficients for color correction as per the platform capability during the init time. This patch adds no of

[PATCH 10/22] drm/i915: Register color correction capabilities

2015-10-10 Thread Shashank Sharma
>From DRM color management: DRM color manager supports these color properties: 1. "ctm": Color transformation matrix property, where a color transformation matrix of 9 correction values gets applied as correction. 2. "palette_before_ctm": for corrections which

[PATCH 09/22] drm/i915: Create color management files

2015-10-10 Thread Shashank Sharma
This patch create new files intel_color_manager.c which will contain the core color correction code for I915 driver and its header intel_color_manager.h The per color property patches coming up in this patch series will fill the appropriate functions in this file. Signed-off-by: Shashank Sharma

[PATCH 08/22] drm/i915: Add set property interface for CRTC

2015-10-10 Thread Shashank Sharma
This patch adds set property interface for intel CRTC. This interface will be used for set operation on any DRM properties. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- drivers/gpu/drm/i915/intel_display.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 07/22] drm: Add structure to set/get a CTM color property

2015-10-10 Thread Shashank Sharma
Color Manager framework defines a DRM property for color space transformation and Gamut mapping. This property is called CTM (Color Transformation Matrix). This patch adds a new structure in DRM layer for CTM. This structure can be used by all user space agents to configure CTM coefficients for

[PATCH 06/22] drm: Add drm structures for palette color property

2015-10-10 Thread Shashank Sharma
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 | 26

[PATCH 05/22] drm: Add get property support for color manager

2015-10-10 Thread Shashank Sharma
As per the DRM get_property implementation for a blob, framework is supposed to return the blob_id to the caller. All the color management blobs are saved in CRTC state during the set call. This patch adds get_property support for color management properties, by referring to the existing blob for

[PATCH 04/22] drm: Add set property support for color manager

2015-10-10 Thread Shashank Sharma
As per DRM color manager design, if a userspace wants to set a correction blob, it prepares it and sends the blob_id to kernel via set_property call. DRM framework takes this blob_id, gets the blob, and saves it in the CRTC state, so that, during the atomic_commit, the color correction values from

[PATCH 03/22] drm: Add color correction blobs in CRTC state

2015-10-10 Thread Shashank Sharma
This patch adds new variables in CRTC state, to hold respective color correction blobs. These blobs will be required during the atomic commit for writing the color correction values in correction registers. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi ---

[PATCH 02/22] drm: Create Color Management query properties

2015-10-10 Thread Shashank Sharma
DRM color management is written to extract the color correction capabilities of various platforms, and every platform can showcase its capabilities using the query properties. Different hardwares can have different no of coefficients for palette correction. Also the correction can be applied

[PATCH 01/22] drm: Create Color Management DRM properties

2015-10-10 Thread Shashank Sharma
Color Management is an extension to DRM framework. It allows abstraction of hardware color correction and enhancement capabilities by virtue of DRM properties. There are two major types of color correction supported by DRM color manager: - CTM: color transformation matrix, properties where a

[PATCH 00/22] Color Management for DRM

2015-10-10 Thread Shashank Sharma
This patch set adds Color Manager implementation in DRM layer. Color Manager is an extension in DRM framework to support color correction/enhancement. Various Hardware platforms can support several color correction capabilities. Color Manager provides abstraction of these capabilities and allows

[PATCH 22/22] drm/i915: BDW: Pipe level CSC correction

2015-10-10 Thread Emil Velikov
Hi Shashank, On 9 October 2015 at 20:29, Shashank Sharma wrote: > BDW/SKL/BXT support Color Space Conversion (CSC) using a 3x3 matrix > that needs to be programmed into respective CSC registers. > > This patch does the following: > 1. Adds the core function to program CSC correction values for

[PATCH 21/22] drm/i915: BDW: Pipe level degamma correction

2015-10-10 Thread Emil Velikov
Hi Shashank, On 9 October 2015 at 20:29, Shashank Sharma wrote: > BDW/SKL/BXT supports Degamma color correction feature, which > linearizes the non-linearity due to gamma encoded color values. > This will be applied before Color Transformation. > > This patch does the following: > 1. Adds the

[PATCH 17/22] drm/i915: Attach color properties to CRTC

2015-10-10 Thread Emil Velikov
On 9 October 2015 at 20:29, Shashank Sharma wrote: > Function intel_attach_color_properties_to_crtc attaches a > color property to its CRTC object. This patch calls this > function from crtc initialization sequence. > > Signed-off-by: Shashank Sharma > Signed-off-by: Kausal Malladi Maybe

[PATCH 15/22] drm/i915: CHV: Pipe level CSC correction

2015-10-10 Thread Emil Velikov
On 9 October 2015 at 20:29, Shashank Sharma wrote: > CHV/BSW supports Color Space Conversion (CSC) using a 3x3 matrix > that needs to be programmed into CGM (Color Gamut Mapping) registers. > > This patch does the following: > 1. Attaches CSC property to CRTC > 2. Adds the core function to

[PATCH 19/22] drm/i915: BDW: Pipe level Gamma correction

2015-10-10 Thread Emil Velikov
Hi Shashank, On 9 October 2015 at 20:29, Shashank Sharma wrote: [snip] > diff --git a/drivers/gpu/drm/i915/intel_color_manager.c > b/drivers/gpu/drm/i915/intel_color_manager.c > index d5315b2..74f8fc3 100644 > --- a/drivers/gpu/drm/i915/intel_color_manager.c > +++

[PATCH 16/22] drm/i915: Commit color correction to CRTC

2015-10-10 Thread Emil Velikov
Hi Shashank, On 9 October 2015 at 20:29, Shashank Sharma wrote: > The color correction blob values are loaded during set_property > calls. This patch adds a function to find the blob and apply the > correction values to the display registers, during the atomic > commit call. > > Signed-off-by:

[PATCH 14/22] drm/i915: CHV: Pipe level degamma correction

2015-10-10 Thread Emil Velikov
Hi Shashank, On 9 October 2015 at 20:29, Shashank Sharma wrote: > CHV/BSW supports Degamma color correction, which linearizes all > the non-linear color values. This will be applied before Color > Transformation. > > This patch does the following: > 1. Attach deGamma property to CRTC > 2. Add

[PATCH 13/22] drm/i915: CHV: Pipe level Gamma correction

2015-10-10 Thread Emil Velikov
Hi Shashank, On 9 October 2015 at 20:29, Shashank Sharma wrote: > CHV/BSW platform supports two different pipe level gamma > correction modes, which are: > 1. Legacy 8-bit mode > 2. 10-bit CGM (Color Gamut Mapping) mode > > This patch does the following: > 1. Attaches Gamma property to CRTC >

[PATCH] MAINTAINERS: add maintainer for the atmel-hlcdc DRM driver

2015-10-10 Thread Alexandre Belloni
On 09/10/2015 at 22:37:33 +0200, Boris Brezillon wrote : > Add myself as the maintainer of the atmel-hlcdc DRM driver. > > Signed-off-by: Boris Brezillon > --- > MAINTAINERS | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 797236b..11173b5

[PATCH 09/22] drm/i915: Create color management files

2015-10-10 Thread Emil Velikov
Hi Shashank, On 9 October 2015 at 20:28, Shashank Sharma wrote: [snip] > + > +/* Color management bit utilities */ > +#define GET_BIT_MASK(n) ((1 << n) - 1) > + > +/* Read bits of a word from bit no. 'start'(lsb) till 'n' bits */ > +#define GET_BITS(x, start, nbits) ((x >> start) &

[PATCH 04/22] drm: Add set property support for color manager

2015-10-10 Thread Emil Velikov
Hi Shashank, On 9 October 2015 at 20:28, Shashank Sharma wrote: > As per DRM color manager design, if a userspace wants to set a correction > blob, it prepares it and sends the blob_id to kernel via set_property > call. DRM framework takes this blob_id, gets the blob, and saves it > in the CRTC

[PATCH 03/22] drm: Add color correction blobs in CRTC state

2015-10-10 Thread Emil Velikov
Hi Shashank, On 9 October 2015 at 20:28, Shashank Sharma wrote: > This patch adds new variables in CRTC state, to hold respective color > correction blobs. These blobs will be required during the atomic commit > for writing the color correction values in correction registers. > > Signed-off-by:

[PATCH 10/22] drm/i915: Register color correction capabilities

2015-10-10 Thread Emil Velikov
Hi Shashank, On 9 October 2015 at 20:29, Shashank Sharma wrote: > From DRM color management: > > DRM color manager supports these color properties: > 1. "ctm": Color transformation matrix property, where a >color transformation matrix of 9 correction values gets

[PATCH v3 2/7] MAINTAINERS: Add myself for the new VC4 (RPi GPU) graphics driver.

2015-10-10 Thread Emil Velikov
Hi Eric, On 9 October 2015 at 22:27, Eric Anholt wrote: > Signed-off-by: Eric Anholt > --- > > v2: Mark it Supported, not Maintained. > > MAINTAINERS | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 7ba7ab7..e331e46 100644 > --- a/MAINTAINERS >