Skip to contentSkip to conversation

video: add support for the AUO-K190X epd controllers

PATCH Superseded Heiko Stübner 2 participants 4 messages Mar 28, 2012 – Apr 26, 2012 Framebuffer layer

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover video: add support for the AUO-K190X epd controllers

This series adds basic support for the AUO-K190X family of epaper controllers which consists at the moment of the K1900 and K1901.

These controllers are used mostly in the OEM line of Qisda ebook readers sold under different brands worldwide. Among those are the Medion/Thalia Oyo 1 + 2, the bq Avant and Avant 3, the Asus eeeReader DR-900, BenQ K60 and dozens more.

The _dpy_update, _dpy_update_pages and _need_refresh functions are intentional duplicated. Currently they do the same, but as the controllers emit a greatly different runtime behaviour there is a lot of room for future controller-specific performance improvements.

The series also includes the patch which adds a first_io callback to defio. This creates a nice way to parallelise the wakup when it is known that the controller is needed at the end of the defio cycle.

Heiko Stuebner (4):
fb_defio: add first_io callback
video: auo_k190x: add code shared by controller drivers
video: auo_k190x: add driver for AUO-K1900 variant
video: auo_k190x: add driver for the AUO-K1901 variant

 drivers/video/Kconfig       |   28 ++
 drivers/video/Makefile      |    3 +
 drivers/video/auo_k1900fb.c |  198 ++++++++
 drivers/video/auo_k1901fb.c |  251 +++++++++++
 drivers/video/auo_k190x.c   | 1038 +++++++++++++++++++++++++++++++++++++++++++
 drivers/video/auo_k190x.h   |  129 ++++++
 drivers/video/fb_defio.c    |    4 +
 include/linux/fb.h          |    1 +
 include/video/auo_k190xfb.h |  106 +++++
 9 files changed, 1758 insertions(+), 0 deletions(-)
 create mode 100644 drivers/video/auo_k1900fb.c
 create mode 100644 drivers/video/auo_k1901fb.c
 create mode 100644 drivers/video/auo_k190x.c
 create mode 100644 drivers/video/auo_k190x.h
 create mode 100644 include/video/auo_k190xfb.h
Signature · 1 line
1.7.5.4
#1 lore raw

Hi Florian,

Am Mittwoch, 28. März 2012, 19:32:54 schrieb Heiko Stübner:

Quoted 8 lines

This series adds basic support for the AUO-K190X family of epaper controllers which consists at the moment of the K1900 and K1901.

These controllers are used mostly in the OEM line of Qisda ebook readers sold under different brands worldwide. Among those are the Medion/Thalia Oyo 1 + 2, the bq Avant and Avant 3, the Asus eeeReader DR-900, BenQ K60 and dozens more.

Quoted 8 lines

The _dpy_update, _dpy_update_pages and _need_refresh functions are intentional duplicated. Currently they do the same, but as the controllers emit a greatly different runtime behaviour there is a lot of room for future controller-specific performance improvements.

The series also includes the patch which adds a first_io callback to defio. This creates a nice way to parallelise the wakup when it is known that the controller is needed at the end of the defio cycle.

ping on this series?

Is anything more needed?

Thanks
Heiko

Quoted 22 lines

Heiko Stuebner (4):
fb_defio: add first_io callback
video: auo_k190x: add code shared by controller drivers
video: auo_k190x: add driver for AUO-K1900 variant
video: auo_k190x: add driver for the AUO-K1901 variant

 drivers/video/Kconfig       |   28 ++
 drivers/video/Makefile      |    3 +
 drivers/video/auo_k1900fb.c |  198 ++++++++
 drivers/video/auo_k1901fb.c |  251 +++++++++++
 drivers/video/auo_k190x.c   | 1038
+++++++++++++++++++++++++++++++++++++++++++ drivers/video/auo_k190x.h   | 
129 ++++++
 drivers/video/fb_defio.c    |    4 +
 include/linux/fb.h          |    1 +
 include/video/auo_k190xfb.h |  106 +++++
 9 files changed, 1758 insertions(+), 0 deletions(-)
 create mode 100644 drivers/video/auo_k1900fb.c
 create mode 100644 drivers/video/auo_k1901fb.c
 create mode 100644 drivers/video/auo_k190x.c
 create mode 100644 drivers/video/auo_k190x.h
 create mode 100644 include/video/auo_k190xfb.h
#2 lore raw
In reply to Heiko Stübner

Hi Heiko,

Quoted 16 lines · Heiko Stübner

Hi Florian,

Am Mittwoch, 28. März 2012, 19:32:54 schrieb Heiko Stübner:

Quoted 13 lines

This series adds basic support for the AUO-K190X family of epaper controllers which consists at the moment of the K1900 and K1901.

These controllers are used mostly in the OEM line of Qisda ebook readers sold under different brands worldwide. Among those are the Medion/Thalia Oyo 1 + 2, the bq Avant and Avant 3, the Asus eeeReader DR-900, BenQ K60 and dozens more.

The _dpy_update, _dpy_update_pages and _need_refresh functions are intentional duplicated. Currently they do the same, but as the controllers emit a greatly different runtime behaviour there is a lot of room for future controller-specific performance improvements.

Quoted 7 lines
Quoted 3 lines

The series also includes the patch which adds a first_io callback to defio. This creates a nice way to parallelise the wakup when it is known that the controller is needed at the end of the defio cycle.

ping on this series?

Is anything more needed?

I wanted to do do a patch to show you what I want but didn't find the time to do so, so I'll try to explain it:

If I remember correctly the problem with the patches is the Kconfig menu structure as "make menuconfig" shows it: Your driver ends up in the graphics system and not in the framebuffer subsystem. The problem is the invisible entry you add, it has no dependency on the FB subsystem and therefore terminates the framebuffer menuconfig. The easy fix would be to make it depend on fb but I'd consider it nicer to change the hidden entry into a menunconfig one and let the individual drivers depend on it rather than select it.

Best regards,

Florian Tobias Schandinat

Quoted 29 lines

Thanks
Heiko

Quoted 22 lines

Heiko Stuebner (4):
fb_defio: add first_io callback
video: auo_k190x: add code shared by controller drivers
video: auo_k190x: add driver for AUO-K1900 variant
video: auo_k190x: add driver for the AUO-K1901 variant

 drivers/video/Kconfig       |   28 ++
 drivers/video/Makefile      |    3 +
 drivers/video/auo_k1900fb.c |  198 ++++++++
 drivers/video/auo_k1901fb.c |  251 +++++++++++
 drivers/video/auo_k190x.c   | 1038
+++++++++++++++++++++++++++++++++++++++++++ drivers/video/auo_k190x.h   | 
129 ++++++
 drivers/video/fb_defio.c    |    4 +
 include/linux/fb.h          |    1 +
 include/video/auo_k190xfb.h |  106 +++++
 9 files changed, 1758 insertions(+), 0 deletions(-)
 create mode 100644 drivers/video/auo_k1900fb.c
 create mode 100644 drivers/video/auo_k1901fb.c
 create mode 100644 drivers/video/auo_k190x.c
 create mode 100644 drivers/video/auo_k190x.h
 create mode 100644 include/video/auo_k190xfb.h
#3 lore raw
In reply to Heiko Stübner

Hi Florian,

Am Donnerstag, 26. April 2012, 08:44:11 schrieb Florian Tobias Schandinat:

Quoted 30 lines

Hi Heiko,

Quoted 16 lines · Heiko Stübner

Hi Florian,

Am Mittwoch, 28. März 2012, 19:32:54 schrieb Heiko Stübner:

Quoted 13 lines

This series adds basic support for the AUO-K190X family of epaper controllers which consists at the moment of the K1900 and K1901.

These controllers are used mostly in the OEM line of Qisda ebook readers sold under different brands worldwide. Among those are the Medion/Thalia Oyo 1 + 2, the bq Avant and Avant 3, the Asus eeeReader DR-900, BenQ K60 and dozens more.

The _dpy_update, _dpy_update_pages and _need_refresh functions are intentional duplicated. Currently they do the same, but as the controllers emit a greatly different runtime behaviour there is a lot of room for future controller-specific performance improvements.

Quoted 7 lines
Quoted 3 lines

The series also includes the patch which adds a first_io callback to defio. This creates a nice way to parallelise the wakup when it is known that the controller is needed at the end of the defio cycle.

ping on this series?

Is anything more needed?

I wanted to do do a patch to show you what I want but didn't find the time to do so, so I'll try to explain it:

Quoted 8 lines

If I remember correctly the problem with the patches is the Kconfig menu structure as "make menuconfig" shows it: Your driver ends up in the graphics system and not in the framebuffer subsystem. The problem is the invisible entry you add, it has no dependency on the FB subsystem and therefore terminates the framebuffer menuconfig. The easy fix would be to make it depend on fb but I'd consider it nicer to change the hidden entry into a menunconfig one and let the individual drivers depend on it rather than select it.

ok, will change it to work like this.

I was unsure on what was the correct way to do it. At first I had it implemented like you described but as the base driver does not provide any usable functionality in itself changed it to the invisible config node.

Personally I have no hard preference, and will resubmit the series with the change.

Thanks
Heiko

Quoted 25 lines
Quoted 25 lines
Quoted 25 lines

Heiko Stuebner (4):
fb_defio: add first_io callback
video: auo_k190x: add code shared by controller drivers
video: auo_k190x: add driver for AUO-K1900 variant
video: auo_k190x: add driver for the AUO-K1901 variant

 drivers/video/Kconfig       |   28 ++
 drivers/video/Makefile      |    3 +
 drivers/video/auo_k1900fb.c |  198 ++++++++
 drivers/video/auo_k1901fb.c |  251 +++++++++++
 drivers/video/auo_k190x.c   | 1038

+++++++++++++++++++++++++++++++++++++++++++ drivers/video/auo_k190x.h | 129 ++++++

 drivers/video/fb_defio.c    |    4 +
 include/linux/fb.h          |    1 +
 include/video/auo_k190xfb.h |  106 +++++
 9 files changed, 1758 insertions(+), 0 deletions(-)
 create mode 100644 drivers/video/auo_k1900fb.c
 create mode 100644 drivers/video/auo_k1901fb.c
 create mode 100644 drivers/video/auo_k190x.c
 create mode 100644 drivers/video/auo_k190x.h
 create mode 100644 include/video/auo_k190xfb.h