Re: [PATCH 06/11] drm/tinydrm: Remove tinydrm_shutdown()

2019-01-20 Thread Sam Ravnborg
On Sun, Jan 20, 2019 at 12:43:13PM +0100, Noralf Trønnes wrote: > It's just a wrapper around drm_atomic_helper_shutdown() now. > Also store drm_device in the drvdata field, since that's what's used. > > Signed-off-by: Noralf Trønnes Reviewed-by: Sam Ravnborg _

Re: [PATCH 05/11] drm/tinydrm/mipi-dbi: Add drm_to_mipi_dbi()

2019-01-20 Thread Sam Ravnborg
On Sun, Jan 20, 2019 at 12:43:12PM +0100, Noralf Trønnes wrote: > Add a function to derive mipi_dbi from drm_device now that tinydrm_device > is going away. > > Signed-off-by: Noralf Trønnes Reviewed-by: Sam Ravnborg ___ dri-devel mailing list dri-deve

Re: [PATCH 04/11] drm/tinydrm: Remove tinydrm_display_pipe_init()

2019-01-20 Thread Sam Ravnborg
Hi Noralf. On Sun, Jan 20, 2019 at 12:43:11PM +0100, Noralf Trønnes wrote: > Further strip down tinydrm.ko and switch to drm_simple_connector_create(). It is nice how the tinydrm drivers goes from special drivers to small drivers with a little added to the core. Two minor comments below. With th

Re: [PATCH 01/11] drm: Add devm_drm_dev_init/register

2019-01-20 Thread Sam Ravnborg
Hi Noralf. On Sun, Jan 20, 2019 at 12:43:08PM +0100, Noralf Trønnes wrote: > This adds resource managed (devres) versions of drm_dev_init() and > drm_dev_register(). > > Also added is devm_drm_dev_register_with_fbdev() which sets up generic > fbdev emulation as well. > > devm_drm_dev_register()

[Bug 97055] Black screens on A10-8780P (Carrizo) + R7 M260/M265 (Topaz) Combo

2019-01-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97055 --- Comment #22 from Jack Ponting --- Read carefully entire description of this bug in which you followed another bug solutions and end up with few observation related to your issues in operating HP Pavilion 17-g133cl with A10 Carrizo+Topaz. Jac

[PATCH] vgacon: unconfuse vc_origin when using soft scrollback

2019-01-20 Thread Nicolas Pitre
When CONFIG_VGACON_SOFT_SCROLLBACK is selected, the VGA display memory index and vc_visible_origin don't change when scrollback is activated. The actual screen content is saved away and the scrollbackdata is copied over it. However the vt code, and /dev/vcs devices in particular, still expect vc_or

Re: [PATCH v8] arm64: dts: sdm845: Add gpu and gmu device nodes

2019-01-20 Thread kbuild test robot
Hi Jordan, Thank you for the patch! Yet something to improve: [auto build test ERROR on v5.0-rc2] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Jordan-Crouse/arm64-dts-sdm845-Add-gpu-and-gmu-d

Re: [PATCH 07/11] drm/tinydrm/repaper: Use devm_drm_dev_*()

2019-01-20 Thread Sam Ravnborg
On Sun, Jan 20, 2019 at 11:22:36PM +0100, Sam Ravnborg wrote: > Hi Noralf. > > On Sun, Jan 20, 2019 at 12:43:14PM +0100, Noralf Trønnes wrote: > > Use devm_drm_dev_init(), devm_drm_dev_register_with_fbdev() and drop > > using tinydrm_device. > > > > Signed-off-by: Noralf Trønnes > > --- > > dri

Re: [PATCH 07/11] drm/tinydrm/repaper: Use devm_drm_dev_*()

2019-01-20 Thread Sam Ravnborg
Hi Noralf. On Sun, Jan 20, 2019 at 12:43:14PM +0100, Noralf Trønnes wrote: > Use devm_drm_dev_init(), devm_drm_dev_register_with_fbdev() and drop > using tinydrm_device. > > Signed-off-by: Noralf Trønnes > --- > drivers/gpu/drm/tinydrm/repaper.c | 63 --- > 1 file ch

Re: [PATCH 03/11] drm/simple-kms-helper: Add drm_simple_connector_create()

2019-01-20 Thread Sam Ravnborg
Hi Noralf. On Sun, Jan 20, 2019 at 12:43:10PM +0100, Noralf Trønnes wrote: > This adds a function that creates a simple connector that has only one > static mode. Additionally add a helper to set &drm_mode_config width > and height from the static mode. > > Signed-off-by: Noralf Trønnes > --- >

[Bug 201815] Mouse Pointer Disappears when touching top of the screen

2019-01-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201815 --- Comment #13 from siyia (eutychio...@gmail.com) --- regression is still present at linux 4.20.3 -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel mailin

[Bug 109162] Bugs Bunny: Lost in Time

2019-01-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109162 smoki changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [PATCH 02/11] drm/modes: Add DRM_SIMPLE_MODE()

2019-01-20 Thread Noralf Trønnes
Den 20.01.2019 17.37, skrev Ilia Mirkin: > You don't appear to set the mm in the new macro. Not sure if it's on > purpose. > Not intentional, that was a slip. I copied the DRM_MODE macro and forgot about setting the size. Thanks, Noralf. > On Sun, Jan 20, 2019, 06:43 Noralf Trønnes

[PATCH v1 1/1] drm: fix drm_can_sleep() comment

2019-01-20 Thread Sam Ravnborg
Reversed logic when writing the original comment, now fixed. Fixes: e9eafcb58921 ("drm: move drm_can_sleep() to drm_util.h") Reported-by: Laurent Pinchart Signed-off-by: Sam Ravnborg Cc: Laurent Pinchart Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vette

Re: [PATCH] video/hdmi: Change strncpy() into memcpy() in hdmi_spd_infoframe_init

2019-01-20 Thread Mathieu Malaterre
On Fri, Jan 18, 2019 at 8:51 PM Joe Perches wrote: > > On Fri, 2019-01-18 at 20:32 +0100, Mathieu Malaterre wrote: > > Using strncpy() is less than perfect since the destination buffers do not > > need to be NUL terminated. Replace strncpy() with memcpy() to address a > > warning triggered by gcc

Re: [PATCH 3/4] dma-buf: add support for mapping with dma mapping attributes

2019-01-20 Thread Liam Mark
On Fri, 18 Jan 2019, Laura Abbott wrote: > On 1/18/19 10:37 AM, Liam Mark wrote: > > Add support for configuring dma mapping attributes when mapping > > and unmapping memory through dma_buf_map_attachment and > > dma_buf_unmap_attachment. > > > > Signed-off-by: Liam Mark > > --- > > include/li

Re: [PATCH v6] drm/msm/a6xx: Add support for an interconnect path

2019-01-20 Thread Evan Green
On Fri, Jan 18, 2019 at 12:24 PM Jordan Crouse wrote: > > Try to get the interconnect path for the GPU and vote for the maximum > bandwidth to support all frequencies. This is needed for performance. > Later we will want to scale the bandwidth based on the frequency to > also optimize for power bu

Re: Aw: [PATCH 2/2] drm/mediatek: Add Mediatek framebuffer device

2019-01-20 Thread Matthias Brugger
On 18/01/2019 02:46, CK Hu wrote: > Hi, Frank: > > On Thu, 2019-01-17 at 15:14 +0100, Frank Wunderlich wrote: >> Hi, >> >> this Patchset does not hang on Bananapi R2, but does not show anything on >> FB-Console...seems anything is missing >> >> https://github.com/frank-w/BPI-R2-4.14/tree/4.20-f

[PATCH] drm/bridge: lvds-encoder: remove surplus NULL checks

2019-01-20 Thread Peter Rosin
The gpio API explicitly allows skipping the NULL check, precisely to allow for neat support for optional gpios. Which is exactly what is at play here. Reported-by: Andrzej Hajda Signed-off-by: Peter Rosin --- drivers/gpu/drm/bridge/lvds-encoder.c | 6 ++ 1 file changed, 2 insertions(+), 4 d

Aw: Re: [PATCH 2/2] drm/mediatek: Add Mediatek framebuffer device

2019-01-20 Thread Frank Wunderlich
I have tested same codebase where my FBDev-Patch works (4.20-hdmiv5), only without it and CK Hu's 2 Patches does generic fbdev depend on the mmsys-Patch? regards Frank > Gesendet: Freitag, 18. Januar 2019 um 09:39 Uhr > Von: "Matthias Brugger" > may it be the not yet fixed mmsys compatible pr

[PATCH] drm/komeda: Remove unused variable

2019-01-20 Thread Gustavo A. R. Silva
Remove unused variable *pdev* in komeda_parse_dt(): drivers/gpu/drm/arm/display/komeda//komeda_dev.c: In function ‘komeda_parse_dt’: drivers/gpu/drm/arm/display/komeda//komeda_dev.c:52:26: warning: unused variable ‘pdev’ [-Wunused-variable] struct platform_device *pdev = to_platform_device(dev)

[PATCH 3/4] dma-buf: add support for mapping with dma mapping attributes

2019-01-20 Thread Liam Mark
Add support for configuring dma mapping attributes when mapping and unmapping memory through dma_buf_map_attachment and dma_buf_unmap_attachment. Signed-off-by: Liam Mark --- include/linux/dma-buf.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/dma-buf.h b/include/linux/dm

[PATCH 1/2] drm/omap: panel-tpo-td028ttec1: add backlight support

2019-01-20 Thread Andreas Kemnade
This panel has a backlight, so fetch it from devicetree using the as documented in panel-common.txt. It is implemented the same way as in panel-dpi.c This ensures the backlight is also disabled when the display is turned off like when doing xset dpms force off. Signed-off-by: Andreas Kemnade ---

Re: [linux-sunxi] Re: HDMI/DVI spurious failure

2019-01-20 Thread Priit Laes
On Thu, Jan 17, 2019 at 12:33:40PM +0100, Maxime Ripard wrote: > On Wed, Jan 16, 2019 at 08:35:16PM +, Priit Laes wrote: > > On Wed, Jan 16, 2019 at 08:24:42PM +0100, Maxime Ripard wrote: > > > Hi Priit, > > > > > > On Wed, Jan 16, 2019 at 07:58:54AM +, Priit Laes wrote: > > > > > On Mon,

Re: [PATCH 2/4] staging: android: ion: Restrict cache maintenance to dma mapped memory

2019-01-20 Thread Liam Mark
On Fri, 18 Jan 2019, Andrew F. Davis wrote: > On 1/18/19 12:37 PM, Liam Mark wrote: > > The ION begin_cpu_access and end_cpu_access functions use the > > dma_sync_sg_for_cpu and dma_sync_sg_for_device APIs to perform cache > > maintenance. > > > > Currently it is possible to apply cache maintenan

Re: [PATCH v2] drm/xen-front: Make shmem backed display buffer coherent

2019-01-20 Thread Oleksandr Andrushchenko
On 1/17/19 11:18 AM, Christoph Hellwig wrote: > On Wed, Jan 16, 2019 at 06:43:29AM +, Oleksandr Andrushchenko wrote: >>> This whole issue keeps getting more and more confusing. >> Well, I don't really do DMA here, but instead the buffers in >> question are shared with other Xen domain, so effec

[PATCH] video/hdmi: Change strncpy() into memcpy() in hdmi_spd_infoframe_init

2019-01-20 Thread Mathieu Malaterre
Using strncpy() is less than perfect since the destination buffers do not need to be NUL terminated. Replace strncpy() with memcpy() to address a warning triggered by gcc using W=1 and optimize the code a bit. This commit removes the following warnings: drivers/video/hdmi.c:234:2: warning: 'str

[PATCH 0/2] drm/omap: panel-tpo-td028ttec1: add backlight support

2019-01-20 Thread Andreas Kemnade
This panel has a backlight, so add a property describing that and add the code to use that. This makes things like xset dpms force off also turn off the backlight, so we do not need to rely on additional userspace programs to do that. Andreas Kemnade (2): drm/omap: panel-tpo-td028ttec1: add back

Re: [PATCH v6] drm/msm/a6xx: Add support for an interconnect path

2019-01-20 Thread Evan Green
On Fri, Jan 18, 2019 at 3:27 PM Jordan Crouse wrote: > > On Fri, Jan 18, 2019 at 03:04:34PM -0800, Evan Green wrote: > > On Fri, Jan 18, 2019 at 12:24 PM Jordan Crouse > > wrote: > > > > > > Try to get the interconnect path for the GPU and vote for the maximum > > > bandwidth to support all freq

[PATCH 2/4] staging: android: ion: Restrict cache maintenance to dma mapped memory

2019-01-20 Thread Liam Mark
The ION begin_cpu_access and end_cpu_access functions use the dma_sync_sg_for_cpu and dma_sync_sg_for_device APIs to perform cache maintenance. Currently it is possible to apply cache maintenance, via the begin_cpu_access and end_cpu_access APIs, to ION buffers which are not dma mapped. The dma s

[PATCH/RFC] drm: Remove unused Renesas SH Mobile DRM driver

2019-01-20 Thread Geert Uytterhoeven
Since its incarnation in v3.7 almost 7 years ago, no users of the SH Mobile DRM driver have appeared. Hence remove the driver. It can be resurrected from git history, if/when needed. Signed-off-by: Geert Uytterhoeven --- Against drm/drm-next MAINTAINERS | 2

[PATCH] drm/vkms: Fix flush_work() without INIT_WORK().

2019-01-20 Thread Tetsuo Handa
syzbot is hitting a lockdep warning [1] because flush_work() is called without INIT_WORK() after kzalloc() at vkms_atomic_crtc_reset(). Commit 6c234fe37c57627a ("drm/vkms: Implement CRC debugfs API") added INIT_WORK() to only vkms_atomic_crtc_duplicate_state() side. Assuming that lifecycle of crc_

[PATCH 2/2] dt-bindings: panel: td028ttec1: add backlight property

2019-01-20 Thread Andreas Kemnade
This add an additional backlight property as described in panel-common.txt Signed-off-by: Andreas Kemnade --- Documentation/devicetree/bindings/display/panel/tpo,td028ttec1.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/tpo,td028ttec1.tx

[PATCH 4/4] staging: android: ion: Support for mapping with dma mapping attributes

2019-01-20 Thread Liam Mark
Add support for configuring dma mapping attributes when mapping and unmapping memory through dma_buf_map_attachment and dma_buf_unmap_attachment. For example this will allow ION clients to skip cache maintenance, by using DMA_ATTR_SKIP_CPU_SYNC, for buffers which are clean and haven't been accesse

Re: [PATCH 13/14] staging: android: ion: Do not sync CPU cache on map/unmap

2019-01-20 Thread Liam Mark
On Fri, 18 Jan 2019, Andrew F. Davis wrote: > On 1/17/19 7:04 PM, Liam Mark wrote: > > On Thu, 17 Jan 2019, Andrew F. Davis wrote: > > > >> On 1/16/19 4:48 PM, Liam Mark wrote: > >>> On Wed, 16 Jan 2019, Andrew F. Davis wrote: > >>> > On 1/15/19 1:05 PM, Laura Abbott wrote: > > On 1/15/1

Re: [linux-sunxi] Re: HDMI/DVI spurious failure

2019-01-20 Thread Priit Laes
On Fri, Jan 18, 2019 at 03:04:18PM +0100, Maxime Ripard wrote: > On Fri, Jan 18, 2019 at 10:10:53AM +, Priit Laes wrote: > > > > > > > It doesn't look related to the clock rate itself, since it doesn't > > > > > > > change between the two cases. However, in one case the DDC clock > > > > > > >

[PATCH 1/4] staging: android: ion: Support cpu access during dma_buf_detach

2019-01-20 Thread Liam Mark
Often userspace doesn't know when the kernel will be calling dma_buf_detach on the buffer. If userpace starts its CPU access at the same time as the sg list is being freed it could end up accessing the sg list after it has been freed. Thread AThread B - DMA_BUF_IOCT

[PATCH] drm: rcar-du: Fix build error

2019-01-20 Thread Nathan Chancellor
On arm{32,64} allyesconfig builds: drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c:40:1: error: incomplete result type 'enum drm_mode_status' in function definition drivers/gpu/drm/rcar-du/rcar_dw_hdmi.c:47:10: error: incomplete definition of type 'struct drm_display_mode' drivers/gpu/drm/rcar-du/rcar_dw

[PATCH 0/4] ION stability and perf changes

2019-01-20 Thread Liam Mark
Some stability changes to improve ION robustness and a perf related change to make it easier for clients to avoid unnecessary cache maintenance, such as when buffers are clean and haven't had any CPU access. Liam Mark (4): staging: android: ion: Support cpu access during dma_buf_detach staging

Aw: Re: [PATCH 2/2] drm/mediatek: Add Mediatek framebuffer device

2019-01-20 Thread Frank Wunderlich
Tested with mmsys-Patch, but same result, no fbcon, tft is switched on but i see no kernel-log after boot is finished, i see X-server, until this point i see only black screen regards Frank > Gesendet: Freitag, 18. Januar 2019 um 09:39 Uhr > Von: "Matthias Brugger" > may it be the not yet fix

Re: [linux-sunxi] [PATCH v3 02/28] clk: sunxi-ng: Adjust MP clock parent rate when allowed

2019-01-20 Thread Jernej Škrabec
Dne četrtek, 17. januar 2019 ob 08:24:02 CET je Priit Laes napisal(a): > On Wed, Jan 16, 2019 at 06:00:32PM +0100, Jernej Škrabec wrote: > > Dne sreda, 16. januar 2019 ob 13:09:58 CET je Priit Laes napisal(a): > > > On Thu, Jan 10, 2019 at 06:10:59PM +0100, Jernej Škrabec wrote: > > > > Dne četrtek

[PATCH] iommu/intel: quirk to disable DMAR for QM57 igfx

2019-01-20 Thread Eric Wong
Joonas Lahtinen wrote: > Quoting Eric Wong (2019-01-04 03:06:26) > > Yeah, so the Debian bpo 4.17(.17) kernel did not set > > CONFIG_INTEL_IOMMU_DEFAULT_ON, so I didn't encounter problems. > > My self-built kernels all set CONFIG_INTEL_IOMMU_DEFAULT_ON. > > So it's the case that IOMMU never worke

Re: [Xen-devel] [PATCH v2] drm/xen-front: Make shmem backed display buffer coherent

2019-01-20 Thread Julien Grall
(+ Stefano) Hi, Sorry for jumping late in the conversation. On 18/01/2019 09:40, Oleksandr Andrushchenko wrote: On 1/17/19 11:18 AM, Christoph Hellwig wrote: On Wed, Jan 16, 2019 at 06:43:29AM +, Oleksandr Andrushchenko wrote: This whole issue keeps getting more and more confusing. Well

Re: [PATCH 02/11] drm/modes: Add DRM_SIMPLE_MODE()

2019-01-20 Thread Ilia Mirkin
You don't appear to set the mm in the new macro. Not sure if it's on purpose. On Sun, Jan 20, 2019, 06:43 Noralf Trønnes This adds a helper macro to specify modes that only contain info about > resolution. > > Signed-off-by: Noralf Trønnes > --- > drivers/gpu/drm/tinydrm/hx8357d.c | 2 +- > d

[PATCH 10/11] drm/tinydrm: Use drm_dev_enter/exit()

2019-01-20 Thread Noralf Trønnes
This protects device resources from use after device removal. There are 3 ways for driver-device unbinding to happen: - The driver module is unloaded causing the driver to be unregistered. This can't happen as long as there are open file handles because a reference is taken on the module. - Th

[PATCH 05/11] drm/tinydrm/mipi-dbi: Add drm_to_mipi_dbi()

2019-01-20 Thread Noralf Trønnes
Add a function to derive mipi_dbi from drm_device now that tinydrm_device is going away. Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/tinydrm/hx8357d.c | 3 +-- drivers/gpu/drm/tinydrm/ili9225.c | 11 --- drivers/gpu/drm/tinydrm/ili9341.c | 3 +-- drivers/gpu/drm/tinydrm/mi0283

[PATCH 08/11] drm/tinydrm: Use devm_drm_dev_*()

2019-01-20 Thread Noralf Trønnes
Use devm_drm_dev_init(), devm_drm_dev_register_with_fbdev() and drop using tinydrm_device. Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/tinydrm/hx8357d.c | 25 +-- drivers/gpu/drm/tinydrm/ili9225.c | 25 +-- drivers/gpu/drm/tinydrm/ili9341.c | 25 +-- drivers/gpu/drm/tinyd

[PATCH 02/11] drm/modes: Add DRM_SIMPLE_MODE()

2019-01-20 Thread Noralf Trønnes
This adds a helper macro to specify modes that only contain info about resolution. Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/tinydrm/hx8357d.c | 2 +- drivers/gpu/drm/tinydrm/ili9225.c | 2 +- drivers/gpu/drm/tinydrm/ili9341.c | 2 +- drivers/gpu/drm/tinydrm/mi0283qt.c | 2 +- dri

[PATCH 01/11] drm: Add devm_drm_dev_init/register

2019-01-20 Thread Noralf Trønnes
This adds resource managed (devres) versions of drm_dev_init() and drm_dev_register(). Also added is devm_drm_dev_register_with_fbdev() which sets up generic fbdev emulation as well. devm_drm_dev_register() isn't exported since there are no users. Signed-off-by: Noralf Trønnes --- Documentatio

[PATCH 11/11] drm/fb-helper: generic: Don't take module ref for fbcon

2019-01-20 Thread Noralf Trønnes
It's now safe to let fbcon unbind automatically on fbdev unregister. The crash problem was fixed in commit 2122b40580dd ("fbdev: fbcon: Fix unregister crash when more than one framebuffer") Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/drm_fb_helper.c | 6 -- 1 file changed, 4 insertions

[PATCH 06/11] drm/tinydrm: Remove tinydrm_shutdown()

2019-01-20 Thread Noralf Trønnes
It's just a wrapper around drm_atomic_helper_shutdown() now. Also store drm_device in the drvdata field, since that's what's used. Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/tinydrm/core/tinydrm-core.c | 14 -- drivers/gpu/drm/tinydrm/hx8357d.c | 7 +++ drivers/

[PATCH 07/11] drm/tinydrm/repaper: Use devm_drm_dev_*()

2019-01-20 Thread Noralf Trønnes
Use devm_drm_dev_init(), devm_drm_dev_register_with_fbdev() and drop using tinydrm_device. Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/tinydrm/repaper.c | 63 --- 1 file changed, 40 insertions(+), 23 deletions(-) diff --git a/drivers/gpu/drm/tinydrm/repaper.c

[PATCH 04/11] drm/tinydrm: Remove tinydrm_display_pipe_init()

2019-01-20 Thread Noralf Trønnes
Further strip down tinydrm.ko and switch to drm_simple_connector_create(). Signed-off-by: Noralf Trønnes --- Documentation/gpu/tinydrm.rst | 3 - drivers/gpu/drm/tinydrm/core/Makefile | 2 +- drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c | 183 drivers/

[PATCH 09/11] drm/tinydrm: Remove tinydrm_device

2019-01-20 Thread Noralf Trønnes
No more users left so it can go alongside its helpers. Update the tinydrm docs description and remove todo entry. Signed-off-by: Noralf Trønnes --- Documentation/gpu/tinydrm.rst | 26 +-- Documentation/gpu/todo.rst| 4 - drivers/gpu/drm/tinydrm/core/Makefil

[PATCH 00/11] drm/tinydrm: Remove tinydrm_device

2019-01-20 Thread Noralf Trønnes
This patchset is part of the effort to remove tinydrm.ko. It removes struct tinydrm_device and tinydrm.h. While doing this refactoring I have ensured that device unplug is working. The generic fbdev emulation has now been verified that it properly handles device unplug with open file handles and

[PATCH 03/11] drm/simple-kms-helper: Add drm_simple_connector_create()

2019-01-20 Thread Noralf Trønnes
This adds a function that creates a simple connector that has only one static mode. Additionally add a helper to set &drm_mode_config width and height from the static mode. Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/drm_simple_kms_helper.c | 122 include/drm/drm_s