Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Issue 1777783003: [display] Refactor to avoid implicit framebuffer allocation. (Closed)

Created:
4 years, 9 months ago by cdotstout
Modified:
4 years, 9 months ago
Reviewers:
travisg1, gkalsi
Base URL:
https://github.com/littlekernel/lk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[display] Refactor to avoid implicit framebuffer allocation. Preparation to allow other images to be presented to the display. Separate definitions of display and image formats. display_get_info no longer provides a framebuffer. display_get_framebuffer allocates a framebuffer for convenience. Committed: c1255f7f471cab1024440e107faa63c5cf49262b

Patch Set 1 #

Patch Set 2 : formatted #

Patch Set 3 : update other targets #

Total comments: 23

Patch Set 4 : add DEBUG_ASSERETs #

Patch Set 5 : fix stride confusion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+323 lines, -162 lines) Patch
M dev/virtio/gpu/virtio-gpu.c View 1 2 3 4 2 chunks +22 lines, -7 lines 0 comments Download
M include/dev/display.h View 1 2 3 4 1 chunk +41 lines, -14 lines 0 comments Download
M include/lib/gfx.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M lib/gfx/gfx.c View 1 2 3 4 5 chunks +23 lines, -22 lines 0 comments Download
M lib/gfxconsole/gfxconsole.c View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M lib/text/text.c View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M platform/armemu/display.c View 1 2 3 4 2 chunks +21 lines, -4 lines 0 comments Download
M target/dartuinoP0/display/LS013B7DH06.c View 1 chunk +56 lines, -42 lines 0 comments Download
M target/dartuinoP0/display/memory_lcd_mono.c View 1 1 chunk +14 lines, -17 lines 0 comments Download
M target/dartuinoP0/include/target/display/LS013B7DH03.h View 1 chunk +5 lines, -4 lines 0 comments Download
M target/dartuinoP0/include/target/display/LS013B7DH06.h View 1 chunk +5 lines, -10 lines 0 comments Download
M target/dartuinoP0/include/target/display/LS027B7DH01.h View 1 chunk +5 lines, -4 lines 0 comments Download
M target/dartuinoP0/memory_lcd.c View 1 2 3 4 6 chunks +48 lines, -8 lines 0 comments Download
M target/qemu-m4/m4display.c View 1 2 3 4 2 chunks +20 lines, -5 lines 0 comments Download
M target/stm32746g-eval2/lcd.c View 1 2 3 4 3 chunks +27 lines, -8 lines 0 comments Download
M target/stm32f746g-disco/lcd.c View 1 2 3 4 3 chunks +27 lines, -8 lines 0 comments Download

Messages

Total messages: 18 (2 generated)
cdotstout
4 years, 9 months ago (2016-03-09 00:41:48 UTC) #2
travisg1
Looks pretty good. FYI over in the other project I just tweaked some code in ...
4 years, 9 months ago (2016-03-09 02:08:21 UTC) #3
cdotstout
On 2016/03/09 02:08:21, travisg1 wrote: > Looks pretty good. > > FYI over in the ...
4 years, 9 months ago (2016-03-09 17:04:58 UTC) #4
travisg1
./scripts/buildall will attempt to build everything. Also there's a travis-ci build on github that will ...
4 years, 9 months ago (2016-03-09 17:21:47 UTC) #5
cdotstout
scripts/buildall all pass except untested: pc-x86-test qemu-microblaze-test qemu-mips-test zybo-microblaze-test
4 years, 9 months ago (2016-03-09 19:17:17 UTC) #6
gkalsi
This patch is fine by me but I'd wait for travisg@ for the final word. ...
4 years, 9 months ago (2016-03-09 21:13:38 UTC) #7
cdotstout
On 2016/03/09 21:13:38, gkalsi wrote: > This patch is fine by me but I'd wait ...
4 years, 9 months ago (2016-03-09 21:56:13 UTC) #8
travisg1
https://codereview.chromium.org/1777783003/diff/40001/include/dev/display.h File include/dev/display.h (right): https://codereview.chromium.org/1777783003/diff/40001/include/dev/display.h#newcode72 include/dev/display.h:72: int rowbytes; is rowbytes in bytes or pixels? It ...
4 years, 9 months ago (2016-03-09 22:40:11 UTC) #9
cdotstout
https://codereview.chromium.org/1777783003/diff/40001/dev/virtio/gpu/virtio-gpu.c File dev/virtio/gpu/virtio-gpu.c (left): https://codereview.chromium.org/1777783003/diff/40001/dev/virtio/gpu/virtio-gpu.c#oldcode560 dev/virtio/gpu/virtio-gpu.c:560: status_t display_get_info(struct display_info *info) On 2016/03/09 21:13:37, gkalsi wrote: ...
4 years, 9 months ago (2016-03-09 22:48:00 UTC) #10
cdotstout
On 2016/03/09 22:40:11, travisg1 wrote: > https://codereview.chromium.org/1777783003/diff/40001/include/dev/display.h > File include/dev/display.h (right): > > https://codereview.chromium.org/1777783003/diff/40001/include/dev/display.h#newcode72 > ...
4 years, 9 months ago (2016-03-09 22:57:29 UTC) #11
travisg1
On 2016/03/09 22:57:29, cdotstout wrote: > On 2016/03/09 22:40:11, travisg1 wrote: > > https://codereview.chromium.org/1777783003/diff/40001/include/dev/display.h > ...
4 years, 9 months ago (2016-03-09 23:43:11 UTC) #12
cdotstout
On 2016/03/09 23:43:11, travisg1 wrote: > On 2016/03/09 22:57:29, cdotstout wrote: > > On 2016/03/09 ...
4 years, 9 months ago (2016-03-10 00:19:47 UTC) #13
travisg1
On 2016/03/10 00:19:47, cdotstout wrote: > On 2016/03/09 23:43:11, travisg1 wrote: > > On 2016/03/09 ...
4 years, 9 months ago (2016-03-10 00:22:00 UTC) #14
cdotstout
attempting self lgtm
4 years, 9 months ago (2016-03-10 17:48:42 UTC) #15
cdotstout
Committed patchset #5 (id:80001) manually as c1255f7f471cab1024440e107faa63c5cf49262b (presubmit successful).
4 years, 9 months ago (2016-03-10 17:49:32 UTC) #17
travisg1
4 years, 9 months ago (2016-03-10 18:47:35 UTC) #18
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698