[PATCH v3 2/2] drm: bridge/dw_hdmi: add dw hdmi i2c bus adapter support

2015-09-16 Thread Vladimir Zapolskiy
Hi Doug, On 16.09.2015 23:04, Doug Anderson wrote: > Hi, > > On Sun, Aug 30, 2015 at 2:34 PM, Vladimir Zapolskiy > wrote: >> The change adds support of internal HDMI I2C master controller, this >> subdevice is used by default, if "ddc-i2c-bus" DT property is omitted. >> >> The main purpose of th

[PATCH 0/3] RFC: Add a drm_aux-dev module.

2015-09-16 Thread Ville Syrjälä
On Wed, Sep 16, 2015 at 01:09:54PM -0700, Daniel Vetter wrote: > On Tue, Sep 15, 2015 at 10:03:09AM -0700, Rafael Antognolli wrote: > > On Tue, Sep 15, 2015 at 07:46:55PM +0300, Ville Syrjälä wrote: > > > On Tue, Sep 15, 2015 at 07:41:06PM +0300, Ville Syrjälä wrote: > > > > On Tue, Sep 15, 201

[PATCH 2/3] drm: fix kernel-doc warnings in drm_crtc.h

2015-09-16 Thread Geliang Tang
Fix the following 'make htmldocs' warning: .//include/drm/drm_crtc.h:929: warning: Excess struct/union/enum/typedef member 'base' description in 'drm_bridge' Signed-off-by: Geliang Tang --- include/drm/drm_crtc.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/drm/drm_crtc.h b/inc

[PATCH v3 2/2] drm: bridge/dw_hdmi: add dw hdmi i2c bus adapter support

2015-09-16 Thread Russell King - ARM Linux
On Wed, Sep 16, 2015 at 02:56:57PM -0700, Doug Anderson wrote: > Yes, I'd expect 100kHz and 400kHz. > > I agree that 50ms is non-trivial, but it's also not something you're > doing lots of. I'd expect that the EDID is read over this channel at > cable plugin time and then not used much after that

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

2015-09-16 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 2

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

2015-09-16 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 21/23] drm/i915: BDW: Pipe level Gamma correction

2015-09-16 Thread Shashank Sharma
BDW/SKL/BXT platforms support various Gamma correction modes which are: 1. Legacy 8-bit mode 2. 10-bit mode 3. 10-bit Split Gamma mode 4. 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 ma

[PATCH 20/23] drm/i915: BDW: Load gamma correction values

2015-09-16 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 info

[PATCH 19/23] drm/i915: Attach color properties to CRTC

2015-09-16 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 + drivers/gpu/drm/i915/intel_

[PATCH 18/23] drm/i915: Commit color changes to CRTC

2015-09-16 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 --- drivers/gpu/drm/i915/intel

[PATCH 17/23] drm/i915: CHV: Pipe level CSC correction

2015-09-16 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 Signed-of

[PATCH 16/23] drm/i915: CHV: Pipe level degamma correction

2015-09-16 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 15/23] drm/i915: CHV: Pipe level Gamma correction

2015-09-16 Thread Shashank Sharma
From: Kausal Malladi 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. Add

[PATCH 14/23] drm/i915: CHV: Load degamma color correction values

2015-09-16 Thread Shashank Sharma
DRM color manager allows the driver to showcase its best color correction capabilities using the cm_crtc_palette_capabilities_property. This patch adds no of coefficitents for degamma color correction modes possible in CHV, in device info structure, which is: CGM Degamma(10 bit, CGM HW unit):- 65

[PATCH 13/23] drm/i915: CHV: Load gamma color correction values

2015-09-16 Thread Shashank Sharma
DRM color manager allows the driver to showcase its best color correction capabilities using the cm_crtc_palette_capabilities_property. Driver loads the no. of coefficients for various color correction as per the platform, during the init time. This patch adds no of coefficitents for best gamma co

[PATCH 12/23] drm/i915: Add pipe CSC correction handlers

2015-09-16 Thread Shashank Sharma
This patch adds set_property and get_property handlers for pipe level CSC color correction for 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 --- drivers/gpu/d

[PATCH 11/23] drm/i915: Add pipe deGamma correction handlers

2015-09-16 Thread Shashank Sharma
This patch adds set_property and get_property handlers for deGamma color correction capability at Pipe level. Set function just attaches the deGamma correction blob to CRTC state, which will be later committed in the atomic commit path. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Mallad

[PATCH 10/23] drm/i915: Add gamma correction handlers

2015-09-16 Thread Shashank Sharma
I915 driver registers gamma correction as palette correction property with DRM layer. This patch adds set_property() and get_property() handlers for pipe level gamma correction. The set function attaches the Gamma correction blob to CRTC state, these values will be committed during atomic commit.

[PATCH 09/23] drm/i915: Register pipe color capabilities

2015-09-16 Thread Shashank Sharma
DRM color manager contains these color properties: 1. "crtc_palette_capabilities_property": to allow a core driver to load and showcase its color correction capabilities to user space. 2. "ctm": Color transformation matrix property, where a color transformation matrix of 9 correction values gets a

[PATCH 08/23] drm/i915: Create color management files

2015-09-16 Thread Shashank Sharma
From: Kausal Malladi 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-of

[PATCH 07/23] drm/i915: Add atomic get property interface for CRTC

2015-09-16 Thread Shashank Sharma
From: Kausal Malladi This patch adds atomic get property interface for Intel CRTC. This interface will be used for get operation on any non-core DRM properties. Signed-off-by: Shashank Sharma Signed-off-by: Kausal Malladi --- drivers/gpu/drm/i915/intel_atomic.c | 9 + drivers/gpu/drm

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

2015-09-16 Thread Shashank Sharma
From: Kausal Malladi This patch adds atomic 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_atomic.c | 9 + drivers/gpu/drm/i915/int

[PATCH 05/23] drm: Add structure to set/get a CTM color property

2015-09-16 Thread Shashank Sharma
From: Kausal Malladi Color Manager framework defines a color correction 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

[PATCH 04/23] drm: Add drm structures for palette color property

2015-09-16 Thread Shashank Sharma
From: 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/

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

2015-09-16 Thread Shashank Sharma
From: Kausal Malladi 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/23] drm: Add structure for querying palette color capabilities

2015-09-16 Thread Shashank Sharma
From: Kausal Malladi The DRM color management framework is targeting various hardware platforms and drivers. Different platforms can have different color correction and enhancement capabilities. A commom user space application can query these capabilities using the DRM property interface. Each d

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

2015-09-16 Thread Shashank Sharma
From: Kausal Malladi Color Management is an extension to Kernel display framework. It allows abstraction of hardware color correction and enhancement capabilities by virtue of DRM properties. This patch initializes color management framework by : 1. Introducing new pointers in DRM mode_config st

[PATCH 00/23] Color Management for DRM

2015-09-16 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 a

[PATCH v3] pci: Handle 5-bit and 8-bit tag field

2015-09-16 Thread Pierre Moreau
If the hardware supports extended tag field (8-bit ones), then enabled it. This is usually done by the VBIOS, but not on some MBPs (see fdo#86537). In case extended tag field is not supported, 5-bit tag field is used which limits the possible values to 32. Apparently bits 7:0 of 0x8841c stores some

[PATCH v2] pci: Handle 5-bit and 8-bit tag field

2015-09-16 Thread Pierre Moreau
If the hardware supports extended tag field (8-bit ones), then enabled it. This is usually done by the VBIOS, but not on some MBPs (see fdo#86537). In case extended tag field is not supported, 5-bit tag field is used which limits the possible values to 32. Apparently bits 7:0 of 0x8841c stores some

[PATCH] drm: Allow also control clients to check the drm version

2015-09-16 Thread David Herrmann
Hi On Wed, Sep 16, 2015 at 5:03 PM, Thomas Hellstrom wrote: > Hi, David, > > On 09/16/2015 04:35 PM, David Herrmann wrote: >> Hi >> >> On Tue, Sep 15, 2015 at 10:11 AM, Thomas Hellstrom >> wrote: >>> This should be harmless. >>> Vmware will, due to old infrastructure reasons, be using a privile

[PATCH 12/31] drm/amdgpu: use kmemdup rather than duplicating its implementation

2015-09-16 Thread Christian König
On 16.09.2015 11:56, Andrzej Hajda wrote: > Ping. > > Regards > Andrzej > > On 08/07/2015 09:59 AM, Andrzej Hajda wrote: >> The patch was generated using fixed coccinelle semantic patch >> scripts/coccinelle/api/memdup.cocci [1]. >> >> [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 >> >

[PATCH] [rfc] drm/mst: split connector registration into two parts

2015-09-16 Thread Dave Airlie
From: Dave Airlie In order to cache the EDID properly for tiled displays, we need to retrieve it before we register the connector with userspace, otherwise userspace can call get resources and try and get the edid before we've even cached it. This fixes some problems when hotplugging mst monitor

[PATCH RFCv2 3/4] staging: etnaviv: add drm driver

2015-09-16 Thread Russell King - ARM Linux
On Wed, Sep 16, 2015 at 11:05:11AM -0400, Eric Anholt wrote: > Lucas Stach writes: > > > From: Christian Gmeiner > > > +static bool etnaviv_validate_load_state(struct etnaviv_gpu *gpu, u32 *buf, > > + unsigned int state, unsigned int num) > > +{ > > + return true; ... > > +} > > I was brow

[PATCH RFC 6/8] drm: hisilicon: Add support for fbdev

2015-09-16 Thread Xinliang Liu
isi_drm_fbdev.h > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150916/2b0517ac/attachment.html>

[PATCH] drm/i915: fix kernel-doc warnings in i915_gem_gtt.c

2015-09-16 Thread Jani Nikula
On Tue, 15 Sep 2015, Geliang Tang wrote: > Fix the following 'make htmldocs' warnings: > > .//drivers/gpu/drm/i915/i915_gem_gtt.c:758: warning: No description found > for parameter 'length' > .//drivers/gpu/drm/i915/i915_gem_gtt.c:818: warning: No description found > for parameter 'length' >

[PATCH] drm/i915: fix kernel-doc warnings in intel_lrc.c

2015-09-16 Thread Jani Nikula
On Tue, 15 Sep 2015, Geliang Tang wrote: > Fix the following 'make htmldocs' warnings: > > .//drivers/gpu/drm/i915/intel_lrc.c:780: warning: No description found for > parameter 'req' > .//drivers/gpu/drm/i915/intel_lrc.c:780: warning: Excess function parameter > 'request' description in 'in

[PATCH] drm: Allow also control clients to check the drm version

2015-09-16 Thread Thomas Hellstrom
Hi, David, On 09/16/2015 04:35 PM, David Herrmann wrote: > Hi > > On Tue, Sep 15, 2015 at 10:11 AM, Thomas Hellstrom > wrote: >> This should be harmless. >> Vmware will, due to old infrastructure reasons, be using a privileged >> control client to supply GUI layout information rather than obtaini

[PATCH] drm: Allow also control clients to check the drm version

2015-09-16 Thread David Herrmann
Hi On Tue, Sep 15, 2015 at 10:11 AM, Thomas Hellstrom wrote: > This should be harmless. > Vmware will, due to old infrastructure reasons, be using a privileged > control client to supply GUI layout information rather than obtaining > it from the device. That control client will be needing access

[PATCH RFC 1/8] dt-bindings: Document the hi6220 bindings for DRM driver

2015-09-16 Thread Xinwei Kong
hi architt On 2015/9/16 2:11, Rob Herring wrote: > On 09/15/2015 04:37 AM, Xinwei Kong wrote: >> This adds documentation of device tree bindings for the >> Graphics Processing Unit of hi6220 SOC. >> >> Signed-off-by: Xinliang Liu >> Signed-off-by: Xinwei Kong >> Signed-off-by: Andy Green >> Sig

[PATCH RFC 0/8] Add New DRM Driver for Hisilicon's Hi6220 SoC

2015-09-16 Thread Daniel Stone
Hi Xinwei, Thanks for this contribution! We look forward to seeing support for these devices. This isn't an exhaustive review, but two very high-level comments which should result in a lot of changes ... On 15 September 2015 at 10:37, Xinwei Kong wrote: > 1. Hardware Detail > The display subsy

[PATCH v3 RESEND 0/5] Remaining part of kill off set_irq_flags usage

2015-09-16 Thread Thomas Gleixner
On Wed, 16 Sep 2015, Rob Herring wrote: > On 08/29/2015 06:01 PM, Rob Herring wrote: > > Thomas, > > > > As requested, here are the remaining patches for killing off > > set_irq_flags which have not been picked up. The rest of the > > series has been picked up and are in -next. > > Thomas, ar

[Nouveau] [PATCH v2] pci: Handle 5-bit and 8-bit tag field

2015-09-16 Thread Ilia Mirkin
On Wed, Sep 16, 2015 at 3:52 PM, Pierre Moreau wrote: > If the hardware supports extended tag field (8-bit ones), then enabled it. > This > is usually done by the VBIOS, but not on some MBPs (see fdo#86537). > In case extended tag field is not supported, 5-bit tag field is used which > limits the

[Intel-gfx] [PATCH 02/11] drm: Move timestamping constants into drm_vblank_crtc

2015-09-16 Thread Maarten Lankhorst
Op 14-09-15 om 21:43 schreef ville.syrjala at linux.intel.com: > From: Ville Syrjälä > > Collect the timestamping constants alongside the rest of the relevant > stuff under drm_vblank_crtc. > > We can now get rid of the 'refcrtc' parameter to > drm_calc_vbltimestamp_from_scanoutpos(). > > Signed

[PATCH v3 2/2] drm: bridge/dw_hdmi: add dw hdmi i2c bus adapter support

2015-09-16 Thread Doug Anderson
Hi, On Wed, Sep 16, 2015 at 2:16 PM, Vladimir Zapolskiy wrote: > Hi Doug, > > On 03.09.2015 02:19, Doug Anderson wrote: >> Russell, >> >> On Wed, Sep 2, 2015 at 4:04 PM, Russell King - ARM Linux >> wrote: > Also, is it appropriate to hook non-DDC devices to a DDC bus? I suspect > that's

[PATCH v3 2/2] drm: bridge/dw_hdmi: add dw hdmi i2c bus adapter support

2015-09-16 Thread Doug Anderson
Vladimir, On Wed, Sep 16, 2015 at 1:58 PM, Vladimir Zapolskiy wrote: >>> +static void dw_hdmi_i2c_init(struct dw_hdmi *hdmi) >>> +{ >>> + /* Set Fast Mode speed */ >>> + hdmi_writeb(hdmi, 0x0b, HDMI_I2CM_DIV); >> >> If you're going to hardcode to something, it seems like hardcoding to

[PATCH RFCv2 3/4] staging: etnaviv: add drm driver

2015-09-16 Thread Eric Anholt
user/kernel API is sorted, this can be resolved. OK. Validation code is painful to write, so I was just browsing what was in here to see if I could pick up anything useful. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/

[PATCH] drm/exynos: get event time from ktime

2015-09-16 Thread Joonyoung Shim
On 09/16/2015 02:31 PM, Joonyoung Shim wrote: > G2D and IPP drivers get event time from do_gettimeofday(), but drm > vblank event gets it from ktime. Use ktime for consistency. Oops, this causes build errors, please ignore, i will retry. Thanks. > > Signed-off-by: Joonyoung Shim > --- > drive

[PATCH RFC 1/8] dt-bindings: Document the hi6220 bindings for DRM driver

2015-09-16 Thread Archit Taneja
Hi, On 09/16/2015 02:04 PM, Xinwei Kong wrote: > hi architt > > On 2015/9/16 2:11, Rob Herring wrote: >> On 09/15/2015 04:37 AM, Xinwei Kong wrote: >>> This adds documentation of device tree bindings for the >>> Graphics Processing Unit of hi6220 SOC. >>> >>> Signed-off-by: Xinliang Liu >>> Signe

[PATCH] drm/exynos: get event time from ktime

2015-09-16 Thread Joonyoung Shim
G2D and IPP drivers get event time from do_gettimeofday(), but drm vblank event gets it from ktime. Use ktime for consistency. Signed-off-by: Joonyoung Shim --- drivers/gpu/drm/exynos/exynos_drm_g2d.c | 4 +++- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 4 +++- 2 files changed, 6 insertions(+), 2

[PATCH 4/4] drm/exynos: cleanup line feed in exynos_drm_gem_get_ioctl

2015-09-16 Thread Joonyoung Shim
The beginning of statement in function is next line of a brace. Signed-off-by: Joonyoung Shim --- drivers/gpu/drm/exynos/exynos_drm_gem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_gem.c index

[PATCH 3/4] drm/exynos: cleanup function calling written twice

2015-09-16 Thread Joonyoung Shim
By if statment, some function callings are written twice. It needs several line feed by indentation in if statment. Make to one function calling from outside if statment. Signed-off-by: Joonyoung Shim --- drivers/gpu/drm/exynos/exynos_drm_gem.c | 56 ++--- 1 file chan

[PATCH 2/4] drm/exynos: staticize exynos_drm_gem_init()

2015-09-16 Thread Joonyoung Shim
The exynos_drm_gem_init() is used only in exynos_drm_gem.c file. Make it static and don't export it. Signed-off-by: Joonyoung Shim --- drivers/gpu/drm/exynos/exynos_drm_gem.c | 3 +-- drivers/gpu/drm/exynos/exynos_drm_gem.h | 4 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/

[PATCH 1/4] drm/exynos: remove unnecessary NULL assignment

2015-09-16 Thread Joonyoung Shim
They will be freed right or was freed already, so NULL assignment is unnecessary. Signed-off-by: Joonyoung Shim --- drivers/gpu/drm/exynos/exynos_drm_gem.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_gem.c ind

[PATCH 0/4] drm/exynos: small cleanup for exynos_drm_gem

2015-09-16 Thread Joonyoung Shim
Hi, This patchset is small cleanup about exynos_drm_gem codes of exynos-drm driver. This removes unnecessary and redundant codes, and staticize a local function. Thanks. Joonyoung Shim (4): drm/exynos: remove unnecessary NULL assignment drm/exynos: staticize exynos_drm_gem_init()

[PATCH] drm/exynos: fix layering violation of address

2015-09-16 Thread Joonyoung Shim
There is no guarantee that DMA addresses are the same as physical addresses, but dma_to_pfn() knows how to convert a dma_addr_t to a PFN which can then be converted to a struct page. Suggested-by: Russell King Signed-off-by: Joonyoung Shim --- drivers/gpu/drm/exynos/exynos_drm_gem.c | 3 ++- 1

[PATCH] drm/exynos: fix missed calling of drm_prime_gem_destroy()

2015-09-16 Thread Joonyoung Shim
When obj->import_attach is existed, code calling drm_prime_gem_destroy() was removed from commit 67e93c808b48 ("drm/exynos: stop copying sg table"), and it's a fault. The drm_prime_gem_destroy() is cleanup function which GEM drivers need to call when they use drm_gem_prime_import() to import dma-b

[PATCH 4/4] drm/msm: Use exynos's model for handling component driver matching.

2015-09-16 Thread Eric Anholt
This eliminates the need for the "connectors" and "gpus" nodes in the devicetree, which we were doing nothing connector- or gpu-specific with. Signed-off-by: Eric Anholt --- drivers/gpu/drm/msm/msm_drv.c | 65 +-- include/drm/drmP.h| 2 +- 2 f

[PATCH 3/4] drm: Move exynos "match_add all devices matching my drivers" to core.

2015-09-16 Thread Eric Anholt
This is a really nice way to handle the component setup. The subsystem driver knows that it's got a bunch of component drivers, and for any devices that matched its component drivers, it wants all of those to bind to it as master. Signed-off-by: Eric Anholt --- drivers/gpu/drm/drm_platform_help

[PATCH 2/4] drm/msm: Use drm_platform_register/unregister_drivers().

2015-09-16 Thread Eric Anholt
This matches how exynos handles the registration of its component drivers. Signed-off-by: Eric Anholt --- drivers/gpu/drm/msm/adreno/adreno_device.c | 12 +--- drivers/gpu/drm/msm/dsi/dsi.c | 16 +--- drivers/gpu/drm/msm/dsi/dsi.h | 2 -- drivers/gp

[PATCH 1/4] drm: Put platform driver registration/unregistration loops in core.

2015-09-16 Thread Eric Anholt
This is mostly just a move of the code from exynos, with a slight reformat. I wanted to do a similar thing for vc4, and msm looks like a good candidate as well. Signed-off-by: Eric Anholt --- drivers/gpu/drm/Makefile| 3 ++- drivers/gpu/drm/drm_platform_helpers.c | 45

drm: Platform helpers for exynos-style component registration.

2015-09-16 Thread Eric Anholt
I had previously modeled vc4 off of msm's component driver registration, but on further investigation exynos has an even cleaner way of doing it. Here's a series to turn exynos's style into core helpers, and use it from msm. The patches are build tested, but I don't have either of the platforms t

[PATCH 0/3] RFC: Add a drm_aux-dev module.

2015-09-16 Thread Rafael Antognolli
On Wed, Sep 16, 2015 at 11:47:21PM +0300, Ville Syrjälä wrote: > On Wed, Sep 16, 2015 at 01:09:54PM -0700, Daniel Vetter wrote: > > On Tue, Sep 15, 2015 at 10:03:09AM -0700, Rafael Antognolli wrote: > > > On Tue, Sep 15, 2015 at 07:46:55PM +0300, Ville Syrjälä wrote: > > > > On Tue, Sep 15, 201

[PATCH] CHROMIUM: drm: bridge/dw_hdmi: Eliminate unused cable_plugin

2015-09-16 Thread Douglas Anderson
There's a member in 'struct dw_hdmi' called cable_plugin. It's never set to anything anywhere so thus is always false. There's a bit of code checking it, but since it's always false this must be dead code. Eliminate it. Note: if someone wants to figure out the intention of the original code and

[Intel-gfx] Contribute to DRM

2015-09-16 Thread Jani Nikula
On Tue, 15 Sep 2015, Lucas Tanure wrote: > Hi, > > I would like to start to contribute to drm part of kernel. I tried a few > things: > > - Compiled linux-next tree using C=1 (sparse) to find things to improve. > But couldn't find any problem or issue. > - I looked in "www.x.org/wiki/DRMJanitors/"

[PATCH RFC 0/8] Add New DRM Driver for Hisilicon's Hi6220 SoC

2015-09-16 Thread Daniel Vetter
On Wed, Sep 16, 2015 at 04:23:35PM +0100, Daniel Stone wrote: > The biggest issue though, is that this driver should become an atomic > modesetting driver. Atomic modesetting, rather than sending small > individual commands (enable CRTC, change plane position, etc) is based > on validating and pass

[PATCH 0/3] RFC: Add a drm_aux-dev module.

2015-09-16 Thread Daniel Vetter
On Tue, Sep 15, 2015 at 10:03:09AM -0700, Rafael Antognolli wrote: > On Tue, Sep 15, 2015 at 07:46:55PM +0300, Ville Syrjälä wrote: > > On Tue, Sep 15, 2015 at 07:41:06PM +0300, Ville Syrjälä wrote: > > > On Tue, Sep 15, 2015 at 09:34:15AM -0700, Rafael Antognolli wrote: > > > > On Tue, Sep 15,

[PATCH 1/3] drm/dp: Keep a list of drm_dp_aux helper.

2015-09-16 Thread Daniel Vetter
On Tue, Sep 15, 2015 at 07:57:19PM +0300, Ville Syrjälä wrote: > On Tue, Sep 15, 2015 at 09:27:27AM -0700, Rafael Antognolli wrote: > > On Tue, Sep 15, 2015 at 10:46:43AM +0300, Ville Syrjälä wrote: > > > On Mon, Sep 14, 2015 at 04:12:30PM -0700, Rafael Antognolli wrote: > > > > This list will

[PATCH v3 2/2] drm: bridge/dw_hdmi: add dw hdmi i2c bus adapter support

2015-09-16 Thread Doug Anderson
Hi, On Sun, Aug 30, 2015 at 2:34 PM, Vladimir Zapolskiy wrote: > The change adds support of internal HDMI I2C master controller, this > subdevice is used by default, if "ddc-i2c-bus" DT property is omitted. > > The main purpose of this functionality is to support reading EDID from > an HDMI monit

[PATCH RFCv2 3/4] staging: etnaviv: add drm driver

2015-09-16 Thread Christian Gmeiner
2015-09-16 10:04 GMT+02:00 Russell King - ARM Linux : > On Fri, Sep 11, 2015 at 04:10:13PM +0200, Lucas Stach wrote: >> From: Christian Gmeiner >> >> This is a squashed commit of the complete etnaviv DRM driver in order >> to make it easy for people to review the code by seeing the driver as a >>

[PATCH 1/4] drm: Put platform driver registration/unregistration loops in core.

2015-09-16 Thread Daniel Vetter
On Wed, Sep 16, 2015 at 11:14 AM, Eric Anholt wrote: > This is mostly just a move of the code from exynos, with a slight > reformat. I wanted to do a similar thing for vc4, and msm looks like > a good candidate as well. > > Signed-off-by: Eric Anholt > --- > drivers/gpu/drm/Makefile

[PATCH 0/4] drm: atomic fb-helper support

2015-09-16 Thread Daniel Vetter
On Tue, Aug 25, 2015 at 12:35 PM, Rob Clark wrote: > Convert fb-helper, or at least the two code-paths which potentially > trigger more than a single update, to use atomic API if the driver > supports it. > > The first patch is slightly unrelated, but I needed to add kerneldoc > for 'struct drm_fb

[PATCH 12/31] drm/amdgpu: use kmemdup rather than duplicating its implementation

2015-09-16 Thread Andrzej Hajda
Ping. Regards Andrzej On 08/07/2015 09:59 AM, Andrzej Hajda wrote: > The patch was generated using fixed coccinelle semantic patch > scripts/coccinelle/api/memdup.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 > > Signed-off-by: Andrzej Hajda > --- > drivers/gpu/drm/a

[PATCH] drm/mgag200: Fix calling drm_fb_helper_fini() twice

2015-09-16 Thread Ingo Molnar
* Archit Taneja wrote: > From: Archit Taneja > Date: Mon, 14 Sep 2015 20:11:43 +0530 > Subject: [PATCH] drm/mgag200: Prevent calling drm_fb_helper_fini twice > > mgag200_fbdev_init's error handling path calls drm_fb_helper_fini before > bailing out. The error handling path of mgag200_driver_lo

[PATCH RFCv2 3/4] staging: etnaviv: add drm driver

2015-09-16 Thread Lucas Stach
Am Mittwoch, den 16.09.2015, 09:04 +0100 schrieb Russell King - ARM Linux: > On Fri, Sep 11, 2015 at 04:10:13PM +0200, Lucas Stach wrote: > > From: Christian Gmeiner > > > > This is a squashed commit of the complete etnaviv DRM driver in > > order > > to make it easy for people to review the code

[PATCH RFC 6/8] drm: hisilicon: Add support for fbdev

2015-09-16 Thread Xinwei Kong
hi rob On 2015/9/16 2:25, Rob Herring wrote: > On 09/15/2015 04:37 AM, Xinwei Kong wrote: >> If you config DRM_HISI_FBDEV optional, this patch will only support fbdev >> mode while also supporting double buffer. > > This is a lot of duplicated code from CMA fbdev. Is double buffering the > only r

[PATCH RFCv2 3/4] staging: etnaviv: add drm driver

2015-09-16 Thread Lucas Stach
Am Mittwoch, den 16.09.2015, 08:11 +0200 schrieb Christian Gmeiner: > Hi Lucas > > > 2015-09-11 16:10 GMT+02:00 Lucas Stach : > > From: Christian Gmeiner > > > > This is a squashed commit of the complete etnaviv DRM driver in > > order > > to make it easy for people to review the code by seeing

[PATCH 2/2] drm/dp/mst: fixup handling hotplug on port removal.

2015-09-16 Thread Dave Airlie
From: Dave Airlie output ports should always have a connector, unless in the rare case connector allocation fails in the driver. In this case we only need to teardown the pdt, and free the struct, and there is no need to send a hotplug msg. In the case were we add the port to the destroy list w

[PATCH 1/2] drm/dp/mst: don't pass port into the path builder function

2015-09-16 Thread Dave Airlie
From: Dave Airlie This is unnecessary and it makes it easier to see what is needed from port. also add blank line to make things nicer. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_dp_mst_topology.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/gpu

[PATCH RFCv2 3/4] staging: etnaviv: add drm driver

2015-09-16 Thread Eric Anholt
> +} I was browsing the code, and noticed that it looks like you've got a debugging early return in your validation function here. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 818 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150916/e05ca0b4/attachment-0001.sig>

[PATCH 02/23] drm: Add structure for querying palette color capabilities

2015-09-16 Thread Matt Roper
On Wed, Sep 16, 2015 at 11:06:59PM +0530, Shashank Sharma wrote: > From: Kausal Malladi > > The DRM color management framework is targeting various hardware > platforms and drivers. Different platforms can have different color > correction and enhancement capabilities. > > A commom user space ap

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

2015-09-16 Thread Matt Roper
On Wed, Sep 16, 2015 at 11:06:58PM +0530, Shashank Sharma wrote: > From: Kausal Malladi > > Color Management is an extension to Kernel display framework. It allows > abstraction of hardware color correction and enhancement capabilities by > virtue of DRM properties. > > This patch initializes co

[PATCH] drm/dp_mst: don't send hotplug if input ports change.

2015-09-16 Thread Dave Airlie
From: Dave Airlie I suspect we might need to rethink when we send hotplug callback but this at least stops us from sending them when we defintely don't need to. DP input port state changes aren't necessary to report. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_dp_mst_topology.c | 8 +++

[PATCH 1/1] signals: kill block_all_signals() and unblock_all_signals()

2015-09-16 Thread Dave Airlie
On 16 September 2015 at 02:41, Oleg Nesterov wrote: > ping ;) > > Andrew, should I re-send this patch? It was acked by Daniel and Dave > doesn't object. > > Dave, I'll appreciate it if you ack it explicitly. > > > On 08/27, Oleg Nesterov wrote: >> >> It is hardly possible to enumerate all problems

[PATCH v3 RESEND 0/5] Remaining part of kill off set_irq_flags usage

2015-09-16 Thread Rob Herring
On 08/29/2015 06:01 PM, Rob Herring wrote: > Thomas, > > As requested, here are the remaining patches for killing off > set_irq_flags which have not been picked up. The rest of the > series has been picked up and are in -next. Thomas, are you going to pick up these remaining patches? Rob >

[PATCH RFCv2 3/4] staging: etnaviv: add drm driver

2015-09-16 Thread Russell King - ARM Linux
On Fri, Sep 11, 2015 at 04:10:13PM +0200, Lucas Stach wrote: > From: Christian Gmeiner > > This is a squashed commit of the complete etnaviv DRM driver in order > to make it easy for people to review the code by seeing the driver as a > whole and is not intended for merging in this form. > > If

[PATCH RFCv2 3/4] staging: etnaviv: add drm driver

2015-09-16 Thread Russell King - ARM Linux
On Mon, Sep 14, 2015 at 09:16:01AM -0400, Rob Clark wrote: > On Fri, Sep 11, 2015 at 10:10 AM, Lucas Stach > wrote: > > From: Christian Gmeiner > > > > This is a squashed commit of the complete etnaviv DRM driver in order > > to make it easy for people to review the code by seeing the driver as

[PATCH RFCv2 3/4] staging: etnaviv: add drm driver

2015-09-16 Thread Russell King - ARM Linux
On Wed, Sep 16, 2015 at 08:11:54AM +0200, Christian Gmeiner wrote: > Hi Lucas > > > 2015-09-11 16:10 GMT+02:00 Lucas Stach : > > From: Christian Gmeiner > > > > This is a squashed commit of the complete etnaviv DRM driver in order > > to make it easy for people to review the code by seeing the d

[PATCH RFCv2 3/4] staging: etnaviv: add drm driver

2015-09-16 Thread Christian Gmeiner
Hi Lucas 2015-09-11 16:10 GMT+02:00 Lucas Stach : > From: Christian Gmeiner > > This is a squashed commit of the complete etnaviv DRM driver in order > to make it easy for people to review the code by seeing the driver as a > whole and is not intended for merging in this form. > > If you are int

[PULL] topic/drm-misc

2015-09-16 Thread Daniel Vetter
On Mon, Sep 14, 2015 at 8:22 AM, Daniel Vetter wrote: > Hi Dave, > > -rc1 is out the door and here's my first pull request for drm-next. It's > all over: > - better atomic helpers for runtime pm drivers > - atomic fbdev David Herrmann just pointed out to me that atomic fbdev isn't actually in th

[ANNOUNCE] libdrm 2.4.65

2015-09-16 Thread robdcl...@gmail.com
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alan Coopersmith (1): Include when needed before calling alloca Christian König (2): amdgpu: remove sequence mutex amdgpu: serialize drmPrimeFDToHandle Emil Velikov (20): drm: add interface to get drm devices on

[Bug 92005] Linux 4.2 DisplayPort MST deadlock?

2015-09-16 Thread bugzilla-dae...@freedesktop.org
signee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150916/61d2a9d6/attachment-0001.html>

[Bug 92005] Linux 4.2 DisplayPort MST deadlock?

2015-09-16 Thread bugzilla-dae...@freedesktop.org
You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150916/94054042/attachment.html>

[Bug 92005] Linux 4.2 DisplayPort MST deadlock?

2015-09-16 Thread bugzilla-dae...@freedesktop.org
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/20150916/d6cf5dbf/attachment.html>