Skip to contentSkip to conversation

drm-exynos-next 2014-12-22

GIT PULL Gustavo Padovan 2 participants 5 messages Dec 22, 2014 – Jan 8, 2015 Arm Samsung Exynos

lore
Share & tools
lore
#0 lore raw

Hi Dave,

Here goes a bunch of clean up for the exynos driver. I've posted this work in the mailing list twice but never got a review on it, first time was about a month ago. This work is the first building block for the atomic modesetting on exynos.

In the pull request we have:

- removal of struct exynos_drm_overlay and struct exynos_drm_manager. exynos_drm_overlay was merged with exynos_drm_plane and exynos_drm_manager with exynos_drm_crtc removing two extra and unnecessary abstractions levels from the exynos code. It also makes understanding of the code easier since now we talk using known names like CRTC and Planes instead of manager and overlay.

- removal of DPMS operations from places where it is not need, e.g., updating planes.

- unification of plane update on exynos_update_plane(). Now all pieces of code that wants to update a plane should be using this function.

There are also some smalls fixes and clean ups.

Gustavo

---
The following changes since commit 4e0cd68115620bc3236ff4e58e4c073948629b41:

drm: sti: fix module compilation issue (2014-12-15 17:07:57 +1000)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/padovan/drm-exynos-next.git master

for you to fetch changes up to 31dd160f42138fff62a7c9ba71cd0f47b678fe4d:

drm/exynos: create exynos_check_plane() (2014-12-19 15:41:05 -0200)

----------------------------------------------------------------
Gustavo Padovan (21):
drm/exynos: move to_exynos_crtc() macro to main header drm/exynos: expose struct exynos_drm_crtc
drm/exynos: remove exynos_drm_crtc_plane_* wrappers drm/exynos: remove struct exynos_drm_overlay drm/exynos/fimd: don't initialize 'ret' variable in fimd_probe() drm/exynos/vidi: remove useless ops->commit() drm/exynos: Don't touch DPMS when updating overlay planes drm/exynos: don't do any DPMS operation while updating planes drm/exynos: remove exynos_plane_commit() wrapper drm/exynos: unify plane update on exynos_update_plane() drm/exynos: call exynos_update_plane() directly on page flips drm/exynos: remove exynos_drm_crtc_mode_set_commit() drm/exynos: rename base object of struct exynos_drm_crtc to 'base' drm/exynos: add pipe param to exynos_drm_crtc_create() drm/exynos: remove pipe member of struct exynos_drm_manager drm/exynos: move 'type' from manager to crtc struct drm/exynos: remove drm_dev from struct exynos_drm_manager drm/exynos: remove struct exynos_drm_manager drm/exynos: don't duplicate drm_display_mode in fimd context drm/exynos: remove mode_set() ops from exynos_crtc drm/exynos: create exynos_check_plane()

 drivers/gpu/drm/exynos/exynos_drm_crtc.c  | 185 +++++++++++++++++--------------------------------------
 drivers/gpu/drm/exynos/exynos_drm_crtc.h  |   8 ++-
 drivers/gpu/drm/exynos/exynos_drm_drv.h   |  83 +++++++++++++++----------
 drivers/gpu/drm/exynos/exynos_drm_fimd.c  | 181 +++++++++++++++++++++++++----------------------------
 drivers/gpu/drm/exynos/exynos_drm_plane.c | 138 +++++++++++++++++++++--------------------
 drivers/gpu/drm/exynos/exynos_drm_plane.h |  17 +++--
 drivers/gpu/drm/exynos/exynos_drm_vidi.c  | 135 +++++++++++++++++-----------------------
 drivers/gpu/drm/exynos/exynos_mixer.c     | 159 +++++++++++++++++++++++------------------------
 8 files changed, 412 insertions(+), 494 deletions(-)
#1 lore raw
Quoted 4 lines · Gustavo Padovan

Hi Dave,

Here goes a bunch of clean up for the exynos driver. I've posted this work in the mailing list twice but never got a review on it, first time was about a

Never no. I already had a review and they - your first time patch set - had been merged to exynos-drm-next-todo. I was moving them to exynos-drm-next locally but one of your patch set was not reasonable to me so I gave you one comment. After that, you posted next patch set which include new changes and patches just 9 days ago. So they should also be reviewed enough at least for two weeks.

Please, do not hurry. Such big changes should really be reviewed enough. I will wait for other reviews and them merge them if reviewed enough. If nobody have reviews then I will merge them. So please, don't worry about that.

Thanks,
Inki Dae

Quoted 59 lines

month ago. This work is the first building block for the atomic modesetting on exynos.

In the pull request we have:

- removal of struct exynos_drm_overlay and struct exynos_drm_manager. exynos_drm_overlay was merged with exynos_drm_plane and exynos_drm_manager with exynos_drm_crtc removing two extra and unnecessary abstractions levels from the exynos code. It also makes understanding of the code easier since now we talk using known names like CRTC and Planes instead of manager and overlay.

- removal of DPMS operations from places where it is not need, e.g., updating planes.

- unification of plane update on exynos_update_plane(). Now all pieces of code that wants to update a plane should be using this function.

There are also some smalls fixes and clean ups.

Gustavo

---
The following changes since commit 4e0cd68115620bc3236ff4e58e4c073948629b41:

drm: sti: fix module compilation issue (2014-12-15 17:07:57 +1000)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/padovan/drm-exynos-next.git master

for you to fetch changes up to 31dd160f42138fff62a7c9ba71cd0f47b678fe4d:

drm/exynos: create exynos_check_plane() (2014-12-19 15:41:05 -0200)

----------------------------------------------------------------
Gustavo Padovan (21):
drm/exynos: move to_exynos_crtc() macro to main header drm/exynos: expose struct exynos_drm_crtc
drm/exynos: remove exynos_drm_crtc_plane_* wrappers drm/exynos: remove struct exynos_drm_overlay drm/exynos/fimd: don't initialize 'ret' variable in fimd_probe() drm/exynos/vidi: remove useless ops->commit() drm/exynos: Don't touch DPMS when updating overlay planes drm/exynos: don't do any DPMS operation while updating planes drm/exynos: remove exynos_plane_commit() wrapper drm/exynos: unify plane update on exynos_update_plane() drm/exynos: call exynos_update_plane() directly on page flips drm/exynos: remove exynos_drm_crtc_mode_set_commit() drm/exynos: rename base object of struct exynos_drm_crtc to 'base' drm/exynos: add pipe param to exynos_drm_crtc_create() drm/exynos: remove pipe member of struct exynos_drm_manager drm/exynos: move 'type' from manager to crtc struct drm/exynos: remove drm_dev from struct exynos_drm_manager drm/exynos: remove struct exynos_drm_manager drm/exynos: don't duplicate drm_display_mode in fimd context drm/exynos: remove mode_set() ops from exynos_crtc drm/exynos: create exynos_check_plane()

Quoted 10 lines
 drivers/gpu/drm/exynos/exynos_drm_crtc.c  | 185 +++++++++++++++++--------------------------------------
 drivers/gpu/drm/exynos/exynos_drm_crtc.h  |   8 ++-
 drivers/gpu/drm/exynos/exynos_drm_drv.h   |  83 +++++++++++++++----------
 drivers/gpu/drm/exynos/exynos_drm_fimd.c  | 181 +++++++++++++++++++++++++----------------------------
 drivers/gpu/drm/exynos/exynos_drm_plane.c | 138 +++++++++++++++++++++--------------------
 drivers/gpu/drm/exynos/exynos_drm_plane.h |  17 +++--
 drivers/gpu/drm/exynos/exynos_drm_vidi.c  | 135 +++++++++++++++++-----------------------
 drivers/gpu/drm/exynos/exynos_mixer.c     | 159 +++++++++++++++++++++++------------------------
 8 files changed, 412 insertions(+), 494 deletions(-)

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

2014-12-26 Inki Dae <[email protected]>:

Quoted 6 lines · Gustavo Padovan
Quoted 4 lines

Hi Dave,

Here goes a bunch of clean up for the exynos driver. I've posted this work in the mailing list twice but never got a review on it, first time was about a

Quoted 6 lines

Never no. I already had a review and they - your first time patch set - had been merged to exynos-drm-next-todo. I was moving them to exynos-drm-next locally but one of your patch set was not reasonable to me so I gave you one comment. After that, you posted next patch set which include new changes and patches just 9 days ago. So they should also be reviewed enough at least for two weeks.

So please notify on the mailing list what you are doing. To me it looked that all patches but one didn't get any review. I have a lot of pending work to do on top of this pull request and review on them is quite important for me to keep working on new changes.

Quoted 5 lines

Please, do not hurry. Such big changes should really be reviewed enough. I will wait for other reviews and them merge them if reviewed enough. If nobody have reviews then I will merge them. So please, don't worry about that.

It is been a way more than two weeks now, can you please merge all my patches but the 3 ones you had commented on? I'll send updated patches for those.

Also can you add you tree to the linux-next build?

Gustavo
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
Quoted 21 lines · Gustavo Padovan

2014-12-26 Inki Dae <[email protected]>:

Quoted 6 lines · Gustavo Padovan
Quoted 4 lines

Hi Dave,

Here goes a bunch of clean up for the exynos driver. I've posted this work in the mailing list twice but never got a review on it, first time was about a

Quoted 6 lines

Never no. I already had a review and they - your first time patch set - had been merged to exynos-drm-next-todo. I was moving them to exynos-drm-next locally but one of your patch set was not reasonable to me so I gave you one comment. After that, you posted next patch set which include new changes and patches just 9 days ago. So they should also be reviewed enough at least for two weeks.

So please notify on the mailing list what you are doing. To me it looked that all patches but one didn't get any review. I have a lot of pending work to do on top of this pull request and review on them is quite important for me to keep working on new changes.

Quoted 1 line
Quoted 8 lines
Quoted 4 lines

Please, do not hurry. Such big changes should really be reviewed enough. I will wait for other reviews and them merge them if reviewed enough. If nobody have reviews then I will merge them. So please, don't worry about that.

It is been a way more than two weeks now, can you please merge all my patches but the 3 ones you had commented on? I'll send updated patches for those.

Actually, I am waiting for your reply because your second patch series includes the changes and updates related to atomic page flip and mode setting, which doesn't have consistency with your first patch series. Anyway, I'll merge the only cleanup parts to exynos-drm-next. Please, post atomic parts after updating later. In addition, I'll not merge '[PATCH 01/29] drm/exynos/fimd: only finish pageflip if START == START_S' because not clear to me as I already mentioned before.

And lastly, thanks for your contribution. :)
Inki Dae

Quoted 5 lines

Also can you add you tree to the linux-next build?

Gustavo

#4 lore raw

2015-01-08 Inki Dae <[email protected]>:

Quoted 31 lines · Gustavo Padovan
Quoted 21 lines

2014-12-26 Inki Dae <[email protected]>:

Quoted 6 lines · Gustavo Padovan
Quoted 4 lines

Hi Dave,

Here goes a bunch of clean up for the exynos driver. I've posted this work in the mailing list twice but never got a review on it, first time was about a

Quoted 6 lines

Never no. I already had a review and they - your first time patch set - had been merged to exynos-drm-next-todo. I was moving them to exynos-drm-next locally but one of your patch set was not reasonable to me so I gave you one comment. After that, you posted next patch set which include new changes and patches just 9 days ago. So they should also be reviewed enough at least for two weeks.

So please notify on the mailing list what you are doing. To me it looked that all patches but one didn't get any review. I have a lot of pending work to do on top of this pull request and review on them is quite important for me to keep working on new changes.

Quoted 1 line
Quoted 8 lines
Quoted 4 lines

Please, do not hurry. Such big changes should really be reviewed enough. I will wait for other reviews and them merge them if reviewed enough. If nobody have reviews then I will merge them. So please, don't worry about that.

It is been a way more than two weeks now, can you please merge all my patches but the 3 ones you had commented on? I'll send updated patches for those.

Quoted 7 lines

Actually, I am waiting for your reply because your second patch series includes the changes and updates related to atomic page flip and mode setting, which doesn't have consistency with your first patch series. Anyway, I'll merge the only cleanup parts to exynos-drm-next. Please, post atomic parts after updating later. In addition, I'll not merge '[PATCH 01/29] drm/exynos/fimd: only finish pageflip if START == START_S' because not clear to me as I already mentioned before.

Thank you. Yes, If you merge all the patches on this pull request I'll be fine with it. It has only the clean ups.

Gustavo
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel