Re: [PATCH] drm/exynos: remove unnecessary codes

2017-01-16 Thread Inki Dae
2017년 01월 16일 18:37에 Andrzej Hajda 이(가) 쓴 글: > On 16.01.2017 10:13, Inki Dae wrote: >> This patch removes exynos_drm_crtc_cancel_page_flip call >> when drm is closed because at that time, events will be released >> by drm_events_release func

Re: [PATCH] drm/exynos: use atomic helper commit

2017-01-16 Thread Inki Dae
2017년 01월 16일 20:22에 Tobias Jakobi 이(가) 쓴 글: > Inki Dae wrote: >> This patch relpaces specific atomic commit function >> with atomic helper commit one, which also includes >> atomic_commit_tail callback for Exynos SoC becasue >> crtc devices on Exynos SoC use

Re: [PATCH] drm/exynos: use atomic helper commit

2017-01-16 Thread Inki Dae
2017년 01월 17일 05:34에 Laurent Pinchart 이(가) 쓴 글: > Hi Inki, > > Thank you for the patch. > > On Monday 16 Jan 2017 18:13:22 Inki Dae wrote: >> This patch relpaces specific atomic commit function >> with atomic helper commit one, which also includes >> atomic_co

Re: [PATCH] drm/exynos: use atomic helper commit

2017-01-17 Thread Inki Dae
2017년 01월 17일 04:08에 Gustavo Padovan 이(가) 쓴 글: > Hi Inki, > > 2017-01-16 Inki Dae : > >> This patch relpaces specific atomic commit function >> with atomic helper commit one, which also includes >> atomic_commit_tail callback for Exynos SoC becasue >> c

Re: [PATCH 0/3] Fix DECON_UPDATE for TV

2017-01-17 Thread Inki Dae
Hi Andrzej, 2017년 01월 17일 23:15에 Andrzej Hajda 이(가) 쓴 글: > Hi Inki, > > This is my final fight with DECON_UPDATE issues (I hope). My two previous > patches > fixed problems on panel path, this patchset fixes also TV path. > The root cause of all evil was in incorrect DECON_CMU programming. > >

Re: [PATCH] drm/exynos: use atomic helper commit

2017-01-17 Thread Inki Dae
Hi Laurent, 2017년 01월 17일 18:17에 Laurent Pinchart 이(가) 쓴 글: > Hi Inki, > > Thank you for the patch. > > On Monday 16 Jan 2017 18:13:22 Inki Dae wrote: >> This patch relpaces specific atomic commit function >> with atomic helper commit one, which also includes >>

[PATCH v2] drm/exynos: use atomic helper commit

2017-01-19 Thread Inki Dae
ivial things - revive existing comment which explains why plane commit should be called after crtc and encoder device are enabled. Signed-off-by: Inki Dae Reviewed-by: Gustavo Padovan --- drivers/gpu/drm/exynos/exynos_drm_crtc.c | 10 ++- drivers/gpu/drm/exynos/exynos_drm_drv.c

Re: [PATCH v2] drm/exynos: use atomic helper commit

2017-01-19 Thread Inki Dae
2017년 01월 19일 20:53에 Gustavo Padovan 이(가) 쓴 글: > Hi Inki, > > 2017-01-19 Inki Dae : > >> This patch replaces specific atomic commit function >> with atomic helper commit one. >> >> For this, it removes existing atomic commit function >> and rele

Re: [PATCH v2] drm/exynos: use atomic helper commit

2017-01-19 Thread Inki Dae
just for review not merge. So if there is any critical problem with this patch, I will stop to merge it. This would be my role, maintainer. Thanks. > > The commit message looks much better now. Still some spelling issues remain: > implemention -> implementation > > > With b

Re: [PATCH 1/3] drm/exynos/decon5433: do not disable video after reset

2017-01-19 Thread Inki Dae
Applied including other two patches. Thanks. 2017년 01월 17일 23:15에 Andrzej Hajda 이(가) 쓴 글: > decon_commit is called just after reset so video is disabled anyway. > > Signed-off-by: Andrzej Hajda > --- > drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 2 -- > 1 file changed, 2 deletions(-) > >

Re: [PATCH v2] drm/exynos: use atomic helper commit

2017-01-23 Thread Inki Dae
2017년 01월 20일 22:05에 Tobias Jakobi 이(가) 쓴 글: > Inki Dae wrote: >> Hi Tobias, >> >> 2017년 01월 19일 21:49에 Tobias Jakobi 이(가) 쓴 글: >>> What about Laurent's comment stating that drm_atomic_helper_commit() is >>> broken at the moment? Shouldn't there

Re: [PATCH] drm/exynos: g2d: fix overflow of cmdlist size

2017-01-23 Thread Inki Dae
2017년 01월 23일 17:22에 Joonyoung Shim 이(가) 쓴 글: > Hi Tobias, > > On 01/21/2017 01:05 AM, Tobias Jakobi wrote: >> Hello Joonyoung, >> >> >> Joonyoung Shim wrote: >>> Hi Tobias, >>> >>> On 01/19/2017 10:16 PM, Tobias Jakobi wrote: Hello Joonyoung, Joonyoung Shim wrote: > Hi Tobias

Re: [PATCH] drm/exynos: fix a timeout loop

2017-01-23 Thread Inki Dae
2017년 01월 21일 01:54에 Tobias Jakobi 이(가) 쓴 글: > From: Dan Carpenter > > We were trying to print an error message if we timed out here, but the > loop actually ends with "tries" set to UINT_MAX and not zero. Fix this > by changing from tries-- to --tries. Sorry but I already know this patch fro

Re: [PATCH v2] drm/exynos: use atomic helper commit

2017-01-23 Thread Inki Dae
2017년 01월 23일 23:55에 Sean Paul 이(가) 쓴 글: > > > As of now, I don't see any case. even without Maarten's patch set, it > works well - actually, I had a test with atomic test app more than 10 > hours.. Can you provide this test application? In particular I'm asking this beca

Re: [PATCH] drm/exynos: fix a timeout loop

2017-01-23 Thread Inki Dae
2017년 01월 23일 18:41에 Chris Wilson 이(가) 쓴 글: > On Mon, Jan 23, 2017 at 06:32:16PM +0900, Inki Dae wrote: >> >> >> 2017년 01월 21일 01:54에 Tobias Jakobi 이(가) 쓴 글: >>> From: Dan Carpenter >>> >>> We were trying to print an error message if we timed out

[RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Inki Dae
2016년 03월 29일 22:23에 Rob Clark 이(가) 쓴 글: > On Mon, Mar 28, 2016 at 10:18 PM, Inki Dae wrote: >> >> In addition, I wonder how explicit and implicit fences could coexist >> together. >> Rob said, >> "Implicit sync ofc remains the

[RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Inki Dae
Hi Daniel, 2016년 03월 31일 18:35에 Daniel Stone 이(가) 쓴 글: > Hi Inki, > > On 31 March 2016 at 08:45, Inki Dae wrote: >> 2016년 03월 29일 22:23에 Rob Clark 이(가) 쓴 글: >>> On Mon, Mar 28, 2016 at 10:18 PM, Inki Dae wrote: >>>> In

[RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Inki Dae
Hi Daniel, 2016-03-31 19:56 GMT+09:00 Daniel Stone : > Hi Inki, > > On 31 March 2016 at 11:05, Inki Dae wrote: >> 2016년 03월 31일 18:35에 Daniel Stone 이(가) 쓴 글: >>> On 31 March 2016 at 08:45, Inki Dae wrote: >>>> As of now, it seems that this w

[RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Inki Dae
is should only be used for shared buffers, e.g. > explicit syncing in an android client running on top of implicitly synced > ozone/kms. Good idea. I hope fence things of mainline would be more discussed so could be considered for many cases. Thanks, Inki Dae > -Daniel > -- >

[PATCH 3/6] drm/exynos/hdmi: expose HDMI-PHY clock as pipeline clock

2016-05-09 Thread Inki Dae
ld you queue it to next pull request? > Got it. Thanks, Inki Dae > Regards > Andrzej > > On 03/23/2016 02:25 PM, Andrzej Hajda wrote: >> HDMI-PHY clock should be accessible from other components in the pipeline. >> >> Signed-off-by: Andrze

drm/exynos: fimd: pagefault when restarting X

2016-05-09 Thread Inki Dae
uess there is a way to >> write directly without using the shadow registers. > > My knowledge about fimd is also limited, but it seems it is not possible Right, not possible to update registers directly in Exynos SoC. > to update registers directly - it looks for me reasonable - update on > vsyn

[PATCH 3/3] drm/exynos/decon5433: fix trigger configuration

2016-05-10 Thread Inki Dae
x); Shouldn't it be configured in case of using SW trigger mode also? Thanks, Inki Dae > + > /* lcd on and use command if */ > val = VIDOUT_LCD_ON; > if (ctx->out_type & IFTYPE_I80) { > val |= VIDOUT_COMMAND_IF; > - decon_setup

[PATCH 3/3] drm/exynos/decon5433: fix trigger configuration

2016-05-10 Thread Inki Dae
Hi Andrzej, 2016년 05월 10일 15:08에 Andrzej Hajda 이(가) 쓴 글: > Hi Inki, > > > On 05/10/2016 07:31 AM, Inki Dae wrote: >> Hi Andrzej, >> >> 2016년 04월 29일 22:42에 Andrzej Hajda 이(가) 쓴 글: >>> It seems trigger cannot be configure

[PATCH 2/3] drm/exynos: Nuke dummy fb->dirty callback

2016-05-10 Thread Inki Dae
support but not now yet. Picked it up. Thanks, Inki Dae > > Cc: Inki Dae > Signed-off-by: Daniel Vetter > --- > drivers/gpu/drm/exynos/exynos_drm_fb.c | 11 --- > 1 file changed, 11 deletions(-) > > diff --git a/drivers/gpu/drm/exynos/exynos_drm_fb.c > b/

[PATCH 17/35] drm/exynos: Use lockless gem BO free callback

2016-05-10 Thread Inki Dae
2016년 04월 27일 02:29에 Daniel Vetter 이(가) 쓴 글: > No dev->struct_mutex anywhere to be seen. Acked-by: Inki Dae Thanks, Inki Dae > > Cc: Inki Dae > Signed-off-by: Daniel Vetter > --- > drivers/gpu/drm/exynos/exynos_drm_drv.c | 2 +- > 1 file ch

[PATCH] exynos: change the license to X11/MIT

2016-05-10 Thread Inki Dae
This patch changes GPL license to X11/MIT. Signed-off-by: Inki Dae --- exynos/exynos_fimg2d.c | 21 + exynos/exynos_fimg2d.h | 21 + exynos/fimg2d_reg.h| 21 + tests/exynos/exynos_fimg2d_event.c

[PATCH 3/3] drm/exynos/decon5433: fix trigger configuration

2016-05-10 Thread Inki Dae
2016년 05월 10일 16:08에 Andrzej Hajda 이(가) 쓴 글: > On 05/10/2016 08:24 AM, Inki Dae wrote: >> Hi Andrzej, >> >> 2016년 05월 10일 15:08에 Andrzej Hajda 이(가) 쓴 글: >>> Hi Inki, >>> >>> >>> On 05/10/2016 07:31 AM, Ink

[GIT PULL 2nd] exynos-drm-next

2016-05-10 Thread Inki Dae
is any problem. Thanks, Inki Dae The following changes since commit 2e726dc4b4e2dd3ae3fe675f9d3af88a2d593ee1: Merge tag 'mediatek-drm-2016-05-09' of git://git.pengutronix.de/git/pza/linux into drm-next (2016-05-10 15:01:47 +1000) are available in the git repository a

[PATCH 1/2] drm/exynos: add exynos5420 support for fimd

2016-02-23 Thread Inki Dae
Picked it up. Thanks, Inki Dae 2016년 02월 12일 22:31에 Chanho Park 이(가) 쓴 글: > This patch adds a exynos5420 driver data to support mic_bypass > option to bypass the mic from display out path. > The mic(Mobile image compressor) compresses RGB data from fimd > and send th

[PATCH v5 2/5] drm/exynos: use generic code for managing zpos plane property

2016-02-29 Thread Inki Dae
2016년 01월 27일 23:44에 Marek Szyprowski 이(가) 쓴 글: > This patch replaces zpos property handling custom code in Exynos DRM > driver with calls to generic DRM code. It'd be better to go to drm-misc. Acked-by: Inki Dae Thanks, Inki Dae > > Signed-off-by:

[PATCH v5 5/5] drm/exynos: add support for blending properties

2016-02-29 Thread Inki Dae
2016년 01월 27일 23:44에 Marek Szyprowski 이(가) 쓴 글: > This patch adds support for blending related properties to Exynos DRM > core and Exynos Mixer CRTC device. To drm-misc. Acked-by : Inki Dae Thanks, Inki Dae > > Signed-off-by: Marek Szyprowski > --- >

[PATCH 1/2] drm/exynos: refactor driver and device registration code

2016-02-29 Thread Inki Dae
For 1 and 2, picked it up. Thanks, Inki Dae 2016년 02월 18일 22:34에 Marek Szyprowski 이(가) 쓴 글: > This patch refactors driver and device registration by moving all drivers > to the common array. This way additional flags can be added later for > new features. #ifdef-based

[PATCH] drm/exynos/dsi: use core helper to create DSI packet

2016-02-29 Thread Inki Dae
Picked it up. Thanks, Inki Dae 2016년 02월 17일 22:33에 Andrzej Hajda 이(가) 쓴 글: > Core provides generic helper to create DSI packet, use it instead of > custom code. > > Signed-off-by: Andrzej Hajda > --- > drivers/gpu/drm/exynos/exy

[PATCH] drm/exynos: fix kernel panic issue at drm releasing

2016-01-04 Thread Inki Dae
Hi Daniel, 2015년 12월 24일 22:32에 Daniel Stone 이(가) 쓴 글: > Hi Inki, > > On 24 December 2015 at 09:10, Inki Dae wrote: >> +void exynos_drm_crtc_cancel_page_flip(struct drm_crtc *crtc) >> +{ >> + struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc

[PATCH v3 1/7] drm/exynos: rename zpos to index

2016-01-04 Thread Inki Dae
Hi Marek, 2015년 12월 28일 21:34에 Marek Szyprowski 이(가) 쓴 글: > Hello, > > On 2015-12-24 09:15, Inki Dae wrote: >> Seems this patch could be more cleaned up. >> >> Each ctx object of each crtc driver has its own plane config object which >> includes

[PATCH v2] drm/exynos: fix kernel panic issue at drm releasing

2016-01-05 Thread Inki Dae
event objects belonging to the request process, increment event space and decrease pending_update when cancelling the event Signed-off-by: Inki Dae Reviewed-by: Daniel Stone --- drivers/gpu/drm/exynos/exynos_drm_crtc.c | 18 ++ drivers/gpu/drm/exynos/exynos_drm_crtc.h | 4

[PATCH] drm/exynos: fix kernel panic issue at drm releasing

2016-01-05 Thread Inki Dae
Hi Daniel, 2016년 01월 05일 05:24에 Daniel Stone 이(가) 쓴 글: > Hi Inki, > > On 4 January 2016 at 12:57, Inki Dae wrote: >> 2015년 12월 24일 22:32에 Daniel Stone 이(가) 쓴 글: >>> On 24 December 2015 at 09:10, Inki Dae wrote: >>>> +void exy

[PATCH] drm/exynos: fix kernel panic issue at drm releasing

2016-01-05 Thread Inki Dae
+ Rob Clark, Hi Daniel and Rob, 2016년 01월 05일 20:08에 Daniel Vetter 이(가) 쓴 글: > On Tue, Jan 05, 2016 at 07:55:52PM +0900, Inki Dae wrote: >> Hi Daniel, >> >> 2016년 01월 05일 05:24에 Daniel Stone 이(가) 쓴 글: >>> Hi Inki, >>> &

[PATCH v3] drm/exynos: fix kernel panic issue at drm releasing

2016-01-08 Thread Inki Dae
event space. Signed-off-by: Inki Dae Reviewed-by: Daniel Stone --- drivers/gpu/drm/exynos/exynos_drm_crtc.c | 15 +++ drivers/gpu/drm/exynos/exynos_drm_crtc.h | 3 +++ drivers/gpu/drm/exynos/exynos_drm_drv.c | 5 + 3 files changed, 23 insertions(+) diff --git a/drivers/gpu/drm

[PATCH] drm/exynos: do not free pended event at postclose callback

2016-01-08 Thread Inki Dae
These events will be freed by drm_events_release of DRM core so it doesn't need to free these events in SoC specific driver. This patch removes relevant codes from Exynos DRM driver. Signed-off-by: Inki Dae --- drivers/gpu/drm/exynos/exynos_drm_drv.c | 11 --- 1 file change

[PATCH 0/4] drm/exynos: introduce generic zpos property

2016-01-08 Thread Inki Dae
n set of planes, > - well defined semantics: planes are sorted by zpos values and then plane > id value if zpos equals. > > Patches 2/4 and 3/4 are fixes for Exynos DRM driver, which are required Picked them up. Especially, 2/4 is a good patch. Thanks, Inki Dae > to properly impl

[PATCH 13/22] drm/exynos: Remove event cancelling from postclose

2016-01-12 Thread Inki Dae
Hi Daniel, It seems your patch is exactly same as below my one I posted before, http://www.spinics.net/lists/dri-devel/msg97922.html Anyway, it's ok if this patch can go to mainline. Acked-by: Inki Dae 2016년 01월 12일 06:41에 Daniel Vetter 이(가) 쓴 글: > The core takes care

[PATCH v3] drm/exynos: fix kernel panic issue at drm releasing

2016-01-12 Thread Inki Dae
Hi Daniel, 2016년 01월 12일 04:00에 Daniel Stone 이(가) 쓴 글: > Hi Inki, > > On 8 January 2016 at 08:46, Inki Dae wrote: >> Changelog v3: >> - initialize only device specific things. Each page flip event object >> is created by DRM core so DRM core should r

[PATCH 0/7] drm/exynos/hdmi: add Exynos5433 support

2016-01-14 Thread Inki Dae
Hi Andrzej, Really sorry for missing this. I will merge them soon. Thanks, Inki Dae 2016년 01월 13일 23:01에 Andrzej Hajda 이(가) 쓴 글: > Hi Inki, > > Ping. > > Regards > Andrzej > > On 11/02/2015 02:16 PM, Andrzej Hajda wrote: >> Hi Inki, Krzysztof, &g

[PATCH 1/7] drm/exynos/hdmi: clock code re-factoring

2016-01-14 Thread Inki Dae
uot;); > - if (IS_ERR(hdata->sclk_hdmi)) { > - DRM_ERROR("failed to get clock 'sclk_hdmi'\n"); > - ret = PTR_ERR(hdata->sclk_hdmi); > - goto fail; > - } > - hdata->sclk_pixel = devm_clk_get(dev, "sclk_pi

[PATCH 0/7] drm/exynos/hdmi: add Exynos5433 support

2016-01-14 Thread Inki Dae
Dae 2016년 01월 14일 13:54에 Inki Dae 이(가) 쓴 글: > Hi Andrzej, > > Really sorry for missing this. > I will merge them soon. > > Thanks, > Inki Dae > > 2016년 01월 13일 23:01에 Andrzej Hajda 이(가) 쓴 글: >> Hi Inki, >> >> Ping. &g

[PATCH 0/7] drm/exynos/hdmi: add Exynos5433 support

2016-01-14 Thread Inki Dae
2016년 01월 14일 16:01에 Andrzej Hajda 이(가) 쓴 글: > On 01/14/2016 07:25 AM, Inki Dae wrote: >> Hi Andrzej, >> >> This patch series incurred merge conflicts at severial patches so I had to >> merge them manually. >> It looks good to me but it seems to

[PATCH v2 09/10] dt-bindings: video: exynos5433-decon: add bindings for DECON-TV

2016-01-14 Thread Inki Dae
me acked-by? Thanks, Inki Dae > > Regards > Andrzej > > On 10/26/2015 12:59 PM, Andrzej Hajda wrote: >> DECON-TV(Display and Enhancement Controller for TV) is a variation >> of DECON IP. Its main purpose is to produce video stream for HDMI IP. >> >> S

Re: [PATCH v7 08/36] drm: exynos: fix common struct sg_table related issues

2020-07-13 Thread Inki Dae
ways, hides references to the > nents and orig_nents entries, making the code robust, easier to follow > and copy/paste safe. > > Signed-off-by: Marek Szyprowski Acked-by : Inki Dae Thanks, Inki Dae > --- > drivers/gpu/drm/exynos/exynos_drm_g2d.c | 10 +- > 1 file

Re: [PATCH v7 07/36] drm: exynos: use common helper for a scatterlist contiguity check

2020-07-13 Thread Inki Dae
20. 6. 19. 오후 7:36에 Marek Szyprowski 이(가) 쓴 글: > Use common helper for checking the contiguity of the imported dma-buf. > > Signed-off-by: Marek Szyprowski Acked-by : Inki Dae Thanks, Inki Dae > --- > drivers/gpu/drm/exynos/exynos_drm_gem.c | 23 +++ &g

Re: [PATCH v2] drm/exynos: gem: Fix sparse warning

2020-07-13 Thread Inki Dae
one of the exynos maintianers (Inki?) to pick it up. Picked it up. Thanks, Inki Dae > > Sam > >> --- >> drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 2 +- >> drivers/gpu/drm/exynos/exynos_drm_gem.h | 2 +- >> 2 files changed, 2 insertions(+), 2 deletions

Re: [PATCH 1/3] drm/exynos: gem: Remove dead-code

2020-04-20 Thread Inki Dae
20. 4. 7. 오후 10:42에 Marek Szyprowski 이(가) 쓴 글: > The ExynosDRM page fault handler is never used, drm_gem_mmap() > always calls exynos_drm_gem_mmap() function, which perform > complete mapping for the given virtual address-space area. Right, never used. Picked it up. Thanks,

Re: [PATCH 2/3] drm/exynos: gem: Rework scatter-list contiguity check on Prime import

2020-04-21 Thread Inki Dae
is 0? I think length of s is 0 then it would be invalid because all entries of sgt should be mapped before sg_dma_len() is called. Thanks, Inki Dae > + if (sg_dma_address(s) != next_addr) { > +

Re: [PATCH 2/3] drm/exynos: gem: Rework scatter-list contiguity check on Prime import

2020-04-21 Thread Inki Dae
Hi Marek, 20. 4. 21. 오후 5:09에 Marek Szyprowski 이(가) 쓴 글: > Hi Inki, > > On 21.04.2020 09:38, Inki Dae wrote: >> 20. 4. 7. 오후 10:42에 Marek Szyprowski 이(가) 쓴 글: >>> Explicitly check if the imported buffer has been mapped as contiguous in >>> the DMA address spac

Re: [PATCH] drm/exynos: Delete an error message in three functions

2020-04-21 Thread Inki Dae
gt; > This issue was detected by using the Coccinelle software. Picked it up. Thanks, Inki Dae. > > Signed-off-by: Markus Elfring > --- > drivers/gpu/drm/exynos/exynos_drm_dsi.c | 4 +--- > drivers/gpu/drm/exynos/exynos_drm_rotator.c | 4 +--- > drivers/gpu/drm/exyno

Re: [PATCH 2/3] drm/exynos: gem: Rework scatter-list contiguity check on Prime import

2020-04-21 Thread Inki Dae
20. 4. 22. 오후 12:37에 Inki Dae 이(가) 쓴 글: > Hi Marek, > > 20. 4. 21. 오후 5:09에 Marek Szyprowski 이(가) 쓴 글: >> Hi Inki, >> >> On 21.04.2020 09:38, Inki Dae wrote: >>> 20. 4. 7. 오후 10:42에 Marek Szyprowski 이(가) 쓴 글: >>>> Explicitly check if the imported

Re: [PATCH 3/3] drm/exynos: gem: Get rid of the internal 'pages' array

2020-04-24 Thread Inki Dae
don't really need that array at all. Picked it up. Thanks, Inki Dae > > Suggested-by: Christian König > Signed-off-by: Marek Szyprowski > --- > drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 28 + > drivers/gpu/drm/exynos/exynos_drm_gem.c | 124 +++--

Re: [PATCH v2 2/3] drm/exynos: gem: rework scatter-list contiguity check on prime import

2020-04-24 Thread Inki Dae
Picked it up. Thanks, Inki Dae > > Signed-off-by: Marek Szyprowski > --- > v2: > - reworked a check for sgt->nents > - added a comment about a scatter-list contiguity check > - removed additional 'return ERR_PTR(-EINVAL)' accidentaly left after > debugging

Re: [PATCH] drm/exynos: dsi: Remove bridge node reference in error handling path in probe function

2020-05-12 Thread Inki Dae
call to the end of the probe function to handle the error simply. dsi->in_bridge_node is accessed in bind function and the probe function is called before the bind call. Could you rework and post it again? Thanks, Inki Dae > --- > drivers/gpu/drm/exynos/exynos_drm_dsi.c | 28 +++

Re: [PATCH] drm/exynos/hdmi: add support for 1920x1200@60Hz mode

2020-10-18 Thread Inki Dae
20. 10. 9. 오후 10:05에 Marek Szyprowski 이(가) 쓴 글: > Add clock configuration for 154MHz pixelclock to Exynos542x HDMIPHY, > which is required for 1920x1200@60Hz mode. The PLL configuration data > has been taken from the vendor's kernel tree for the Odroid XU4 board. Merged. Th

Re: [PATCH] drm/exynos: fix ref count leak in mic_pre_enable

2020-06-14 Thread Inki Dae
oto turn_off; How about just calling pm_runtime_put_noidle()? if (ret < 0) { pm_runtime_put_noidle(mic->dev); goto unlock; } Thanks, Inki Dae > > mic_set_path(mic, 1); > > ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v2] drm/exynos: fix ref count leak in mic_pre_enable

2020-06-15 Thread Inki Dae
Navid Emamdoost > --- > Changes in v2: > - reuse the unlock label and call pm_runtime_put_noidle Picked it up. Thanks, Inki Dae > --- > --- > drivers/gpu/drm/exynos/exynos_drm_mic.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/dr

[GIT PULL] exynos-drm-fixes

2020-06-28 Thread Inki Dae
Hi Dave, Just one cleanup and two fixups. Please kindly let me know if there is any problem. Thanks, Inki Dae The following changes since commit 687a0ed337367be5267652af5f6dbcfc954b8732: Merge tag 'drm-misc-fixes-2020-06-25' of git://anongit.freedesktop.org/drm/drm-mis

Re: [PATCH] drm/exynos: Drop local dma_parms

2020-09-20 Thread Inki Dae
kernel.org/dri-devel/20200707110827.3760-1-m.szyprow...@samsung.com/ > > Inki, could You queue it for merge? Oops, sorry. Reviewed already but forgot to merge. Thanks, Inki Dae > >> --- >> drivers/gpu/drm/exynos/exynos_drm_dma.c | 26 + >> 1

Re: [PATCH 14/18] drm/exynos: Consolidate IOMMU mapping code

2020-09-20 Thread Inki Dae
> --- > This is a cheeky revert of 07dc3678bacc ("drm/exynos: Fix cleanup of > IOMMU related objects"), plus removal of the remaining arm_iommu_* > references on top. Thanks for cleanup. Acked-by: Inki Dae Thanks, Inki Dae > --- > drivers/gpu/drm/exynos/exynos5433

Re: [PATCH] drm/exynos: Drop local dma_parms

2020-09-21 Thread Inki Dae
Hi Robin, As Marek said, he posted same patch[1] before so I merged it instead of you. I totally forgot to merge it. :( Sorry for confusing. [1] https://lore.kernel.org/dri-devel/20200707110827.3760-1-m.szyprow...@samsung.com/ Thanks, Inki Dae 20. 9. 4. 오전 5:51에 Robin Murphy 이(가) 쓴 글: > Si

[GIT PULL] exynos-drm-next

2020-09-22 Thread Inki Dae
Hi Dave, Just two cleanups. Please kindly let me know if there is any problem. Thanks, Inki Dae The following changes since commit b40be05ed255d9a0257fb66ab2728ecca2c9d597: Merge branch 'for-5.10-drm-sg-fix' of https://github.com/mszyprow/linux into drm-next (2020-09-1

[GIT PULL] exynos-drm-fixes

2020-08-26 Thread Inki Dae
Hi Dave, Just one fixup to fix sparse warning reported. Please kindly let me know if there is any problem. Thanks, Inki Dae The following changes since commit d012a7190fc1fd72ed48911e77ca97ba4521bccd: Linux 5.9-rc2 (2020-08-23 14:08:43 -0700) are available in the Git repository at

Re: [PATCH 3/3] drm/exynos-vidi: convert platform driver to use dev_groups

2020-05-17 Thread Inki Dae
Hi Email, 20. 5. 18. 오전 4:36에 Emil Velikov 이(가) 쓴 글: > Platform drivers now have the option to have the platform core create > and remove any needed sysfs attribute files. So take advantage of that > and do not register "by hand" a sysfs file. > > Cc: Inki Dae > Cc:

Re: [PATCH v2] drm/exynos: dsi: Remove bridge node reference in error handling path in probe function

2020-05-17 Thread Inki Dae
20. 5. 16. 오후 7:57에 Christophe JAILLET 이(가) 쓴 글: > 'exynos_dsi_parse_dt()' takes a reference to 'dsi->in_bridge_node'. > This must be released in the error handling path. Picked it up. Thanks, Inki Dae > > In order to do that, add an error handling path

Re: [PATCH] drm/exynos: mixer: Fix enabling of the runtime power management

2020-05-17 Thread Inki Dae
be function. static int mixer_remove(struct platform_device *pdev) { component_del(&pdev->dev, &mixer_component_ops); pm_runtime_disable(&pdev->dev); } It's a trivial thing and it would be no problem as-is - we don't touch HW in unbind - so picked

[GIT PULL] exynos-drm-next

2020-05-19 Thread Inki Dae
Hi Dave, Just several fixups and cleanups. Please kindly let me know if there is any problem. Thanks, Inki Dae The following changes since commit 1493bddcca4d601ca6f3dd27f2226f37a0f39732: Merge tag 'drm-misc-next-2020-05-14' of git://anongit.freedesktop.org/drm/drm-misc int

Re: [PATCH v2] drm/exynos: Remove dev_err() on platform_get_irq() failure

2020-05-19 Thread Inki Dae
Hi Tamseel, Same patch[1] has been merged. So could you re-post this patch after rebasing it on top of exynos-drm-next branch? After rebase, only g2d part would be valid. Thanks, Inki Dae [1] https://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git/commit/?h=exynos-drm-next&am

Re: [PATCH v3] drm/exynos: Remove dev_err() on platform_get_irq() failure

2020-06-01 Thread Inki Dae
20. 5. 21. 오후 11:22에 Tamseel Shams 이(가) 쓴 글: > platform_get_irq() will call dev_err() itself on failure, > so there is no need for the driver to also do this. > This is detected by coccinelle. Picked it up. Thanks, Inki Dae > > Signed-off-by: Tamseel Shams > --- &g

Re: [PATCH] drm/exynos: Properly propagate return value in drm_iommu_attach_device()

2020-06-01 Thread Inki Dae
20. 5. 22. 오후 3:03에 Marek Szyprowski 이(가) 쓴 글: > Propagate the proper error codes from the called functions instead of > unconditionally returning 0. > Picked it up. Thanks, Inki Dae > Reported-by: kbuild test robot > Signed-off-by: Marek Szyprowski > --- > d

[RFT PATCH v2 2/3] drm/exynos: Constify exynos_drm_crtc_ops

2015-05-11 Thread Inki Dae
rm_crtc.h:24: + const struct exynos_drm_crtc_ops *ops, I modified and merged all patches. Thanks, Inki Dae > > Signed-off-by: Krzysztof Kozlowski > > --- > Changes since v1: > New patch. > --- > drivers/gpu/drm/exynos/exynos7_drm_decon.c | 2 +- > drivers

[PATCH 2/2] drm/exynos: 'win' is always unsigned

2015-05-13 Thread Inki Dae
On 2015년 05월 12일 03:04, Tobias Jakobi wrote: > Hey Inki, > > Inki Dae wrote: >> On 2015년 05월 06일 21:10, Tobias Jakobi wrote: >>> The index for the hardware layer is always >=0. Previous >>> code that also used -1 as special index is now gone. &g

[PATCH 9/9] drm/exynos: Convert g2d_userptr_get_dma_addr() to use get_vaddr_frames()

2015-05-14 Thread Inki Dae
AGE_SHIFT; > - g2d_userptr->npages = npages; > - > - pages = drm_calloc_large(npages, sizeof(struct page *)); The declaration to pages isn't needed anymore because you removed it. > - if (!pages) { > - DRM_ERROR("failed to allocate pages.\n"); > - ret = -ENOMEM; > + vec = g2d_userptr->vec = frame_vector_create(npages); I think you can use g2d_userptr->vec so it seems that vec isn't needed. > + if (!vec) > goto err_free; > - } > > - down_read(¤t->mm->mmap_sem); > - vma = find_vma(current->mm, userptr); For vma, ditto. Thanks, Inki Dae [--SNIP--]

[PATCH v6 11/12] drm/exynos: atomic dpms support

2015-05-22 Thread Inki Dae
> -static void exynos_drm_crtc_prepare(struct drm_crtc *crtc) > -{ > - /* drm framework doesn't check NULL. */ > + if (exynos_crtc->ops->win_commit) > + exynos_crtc->ops->win_commit(exynos_crtc, exynos_plane->zpos); > + > + if (exynos_crtc->ops->commit) > + exynos_crtc->ops->commit(exynos_crtc); crtc commit already was called by mode_set_nofb callback as soon as it disables crtc and encoder devices so I think unnecessary. Please see the drm_atomic_helper_commit_modeset_disable function. <--snip--> Thanks, Inki Dae

[PATCH v7 12/13] drm/exynos: atomic dpms support

2015-05-27 Thread Inki Dae
atomic_flush callback to enable global dma like commit callback did. Is there any reason that you don't use atomic_begin and atomic_flush callbacks? atomic relevant codes I looked into do as follows, atomic_begin(); atomic_update(); /* this will call win_commit callback to set a overl

[PATCH v7 12/13] drm/exynos: atomic dpms support

2015-05-28 Thread Inki Dae
Hi Gustavo, On 2015년 05월 28일 05:27, Gustavo Padovan wrote: > Hi Inki, > > 2015-05-27 Inki Dae : > >> Hi Gustavo, >> >> On 2015년 05월 23일 00:40, Gustavo Padovan wrote: >>> From: Gustavo Padovan >>> >>> Run dpms operations thr

drm/exynos: when to call dma_map_sg() on a GEM object?

2015-11-02 Thread Inki Dae
oc_attrs function in case of Exynos DRM. This dma mapping API calls internally iommu_map function of iommu framework after allocating physical pages and iova space, and the iova space will be mapped with physical pages. Please, look into the dma mapping framework - arch/arm/mm/dma-mapping.c -

[GIT PULL] exynos-drm-next

2015-11-03 Thread Inki Dae
Hi Dave, 2015년 11월 03일 08:10에 Dave Airlie 이(가) 쓴 글: > On 28 October 2015 at 22:37, Inki Dae wrote: >> Hi Daniel, >> >> 2015년 10월 28일 20:52에 Daniel Stone 이(가) 쓴 글: >>> Hi Inki, >>> >>> On 28 October 2015 at 11:16,

[RESEND][GIT PULL] exynos-drm-next

2015-11-03 Thread Inki Dae
the Tizen consists of Wayland or Xorg, libtbm and its backend specific to Hardware. The libtbm backend uses libdrm. So we are wait for the libtbm backend uses DRM_EXYNOS_GEM_MAP interface. Please kindly let me know if there is any problem. Thanks, Inki Dae [1] http://www.spinics.net

[GIT PULL] exynos-drm-next

2015-11-03 Thread Inki Dae
Hi Daniel, 2015년 10월 28일 21:37에 Inki Dae 이(가) 쓴 글: > Hi Daniel, > > 2015년 10월 28일 20:52에 Daniel Stone 이(가) 쓴 글: >> Hi Inki, >> >> On 28 October 2015 at 11:16, Inki Dae wrote: >>> 2015년 10월 28일 20:00에 Daniel Stone

[PATCH v2 2/7] drm/exynos: add pm_runtime to DP

2015-11-03 Thread Inki Dae
From: Gustavo Padovan Let pm_runtime handle the enabling/disabling of the device with proper refcnt instead of rely on specific flags to track the enabled state. Changelog v2: - no change Signed-off-by: Gustavo Padovan Signed-off-by: Inki Dae --- drivers/gpu/drm/exynos/exynos_dp_core.c | 58

[PATCH v2 1/7] drm/exynos: do not start enabling DP at bind() phase

2015-11-03 Thread Inki Dae
From: Gustavo Padovan The DP device will be properly enabled at the enable() call just after the bind call finishes. Changelog v2: - no change Signed-off-by: Gustavo Padovan Signed-off-by: Inki Dae --- drivers/gpu/drm/exynos/exynos_dp_core.c | 107 +++- drivers

[PATCH v2 3/7] drm/exynos: add pm_runtime to HDMI

2015-11-03 Thread Inki Dae
From: Gustavo Padovan Let pm_runtime handle the enabling/disabling of the device with proper refcnt instead of rely on specific flags to track the enabled state. Changelog v2: - Mofidy CONFIG_PM_SLEEP -> CONFIG_PM Signed-off-by: Gustavo Padovan Signed-off-by: Inki Dae --- drivers/gpu/

[PATCH v2 7/7] drm/exynos: add pm_runtime to DECON 7

2015-11-03 Thread Inki Dae
From: Gustavo Padovan Let pm_runtime handle the enabling/disabling of the device with proper refcnt instead of rely on specific flags to track the enabled state. Changelog v2: - Modify CONFIG_PM_SLEEP -> CONFIG_PM Signed-off-by: Gustavo Padovan Signed-off-by: Inki Dae --- drivers/gpu/

[PATCH v2 0/7] drm/exynos: add pm runtime support

2015-11-03 Thread Inki Dae
This patch series adds pm runtime support for Exynos drm. Originally, this patch was posted by Gustavo but there was no any answer about some comments. So I rebased this patch series on top of exynos-drm-next, removed unnecessary patches and modified wrong macro. Changelog v2: - Remove patch 5 an

[PATCH v2 4/7] drm/exynos: add pm_runtime to Mixer

2015-11-03 Thread Inki Dae
From: Gustavo Padovan Let pm_runtime handle the enabling/disabling of the device with proper refcnt instead of rely on specific flags to track the enabled state. Signed-off-by: Gustavo Padovan Signed-off-by: Inki Dae --- drivers/gpu/drm/exynos/exynos_mixer.c | 125

[PATCH v2 5/7] drm/exynos: add pm_runtime to FIMD

2015-11-03 Thread Inki Dae
_PM Signed-off-by: Gustavo Padovan Signed-off-by: Inki Dae --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 91 +--- 1 file changed, 37 insertions(+), 54 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c in

[PATCH v2 6/7] drm/exynos: add pm_runtime to DECON 5433

2015-11-03 Thread Inki Dae
From: Gustavo Padovan Let pm_runtime handle the enabling/disabling of the device with proper refcnt instead of rely on specific flags to track the enabled state. Changelog v2: - Change CONFIG_PM_SLEEP -> CONFIG_PM Signed-off-by: Gustavo Padovan Signed-off-by: Inki Dae --- drivers/gpu/

[PATCH v2 0/7] drm/exynos: add pm runtime support

2015-11-04 Thread Inki Dae
2015-11-03 22:24 GMT+09:00 Andrzej Hajda : > Hi Inki, > > On 11/03/2015 11:47 AM, Inki Dae wrote: >> This patch series adds pm runtime support for Exynos drm. >> >> Originally, this patch was posted by Gustavo but there was no any >> answer about some comments.

[PATCH v2 0/7] drm/exynos: add pm runtime support

2015-11-04 Thread Inki Dae
2015년 11월 04일 16:24에 Andrzej Hajda 이(가) 쓴 글: > On 11/03/2015 04:38 PM, Inki Dae wrote: >> >> 2015-11-03 22:24 GMT+09:00 Andrzej Hajda > <mailto:a.hajda at samsung.com>>: >>> Hi Inki, >>> >>> On 11/03/2015 11:47 AM, Inki Dae

[PATCH v2 0/7] drm/exynos: add pm runtime support

2015-11-04 Thread Inki Dae
2015년 11월 04일 19:13에 Andrzej Hajda 이(가) 쓴 글: > On 11/04/2015 08:56 AM, Inki Dae wrote: >> >> 2015년 11월 04일 16:24에 Andrzej Hajda 이(가) 쓴 글: >>> On 11/03/2015 04:38 PM, Inki Dae wrote: >>>> >>>> 2015-11-03 22:2

[PATCH] drm/exynos: don't use HW trigger for Exynos5420/5422/5800

2016-06-09 Thread Inki Dae
pass_shift = 11, > - .trg_type = I80_HW_TRG, > .has_shadowcon = 1, > .has_vidoutcon = 1, > .has_vtsel = 1, > .has_mic_bypass = 1, > .has_dp_clk = 1, > - .has_hw_trigger = 1, > - .has_trigger_per_te = 1, We don't need to re

[PATCH] drm/exynos: don't use HW trigger for Exynos5420/5422/5800

2016-06-10 Thread Inki Dae
Hi Javier, 2016년 06월 09일 09:17에 Javier Martinez Canillas 이(가) 쓴 글: > Hello Inki, > > Thanks for your feedback. > > On 06/08/2016 07:09 PM, Inki Dae wrote: >> Hi Javier, >> >> 2016년 06월 02일 23:20에 Javier Martinez Canillas 이(가) 쓴 ê

[PATCH v2 4/9] drm/fb-helper: Push down modeset lock into FB helpers

2016-06-10 Thread Inki Dae
anyone not to call this function with mutex lock? If there is such case then, some_function() { mutex_lock(); ... mutex_unlock(); drm_fb_helper_add_one_connector(); ... } So in this case, other users should consider to make sure to unlock before calling this

[PATCH 07/26] drm/exynos: Use for_each_crtc_in_state

2016-06-13 Thread Inki Dae
2016년 05월 30일 03:35에 Daniel Vetter 이(가) 쓴 글: > We want to hide drm_atomic_state internals better. Acked-by: Inki Dae Thanks, Inki Dae > > Cc: Inki Dae > Signed-off-by: Daniel Vetter > --- > drivers/gpu/drm/exynos/exynos_drm_drv.c | 8 &g

<    1   2   3   4   5   6   7   8   9   10   >