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

Side by Side Diff: platform/armemu/display.c

Issue 1951403002: Stub display_present (Closed) Base URL: https://github.com/littlekernel/lk.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « dev/virtio/gpu/virtio-gpu.c ('k') | target/qemu-m4/m4display.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010 Travis Geiselbrecht 2 * Copyright (c) 2010 Travis Geiselbrecht
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining 4 * Permission is hereby granted, free of charge, to any person obtaining
5 * a copy of this software and associated documentation files 5 * a copy of this software and associated documentation files
6 * (the "Software"), to deal in the Software without restriction, 6 * (the "Software"), to deal in the Software without restriction,
7 * including without limitation the rights to use, copy, modify, merge, 7 * including without limitation the rights to use, copy, modify, merge,
8 * publish, distribute, sublicense, and/or sell copies of the Software, 8 * publish, distribute, sublicense, and/or sell copies of the Software,
9 * and to permit persons to whom the Software is furnished to do so, 9 * and to permit persons to whom the Software is furnished to do so,
10 * subject to the following conditions: 10 * subject to the following conditions:
11 * 11 *
12 * The above copyright notice and this permission notice shall be 12 * The above copyright notice and this permission notice shall be
13 * included in all copies or substantial portions of the Software. 13 * included in all copies or substantial portions of the Software.
14 * 14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 17 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 18 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
19 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 19 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
20 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 20 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
21 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 */ 22 */
23 #include <err.h> 23 #include <err.h>
24 #include <debug.h> 24 #include <debug.h>
25 #include <trace.h>
25 #include <platform.h> 26 #include <platform.h>
26 #include "platform_p.h" 27 #include "platform_p.h"
27 #include <platform/armemu.h> 28 #include <platform/armemu.h>
28 #include <dev/display.h> 29 #include <dev/display.h>
29 #include <lib/gfx.h> 30 #include <lib/gfx.h>
30 #include <reg.h> 31 #include <reg.h>
31 #include <assert.h> 32 #include <assert.h>
32 33
33 #define DRAW_TEST_PATTERN 0 34 #define DRAW_TEST_PATTERN 0
34 35
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 if (!has_display()) 79 if (!has_display())
79 return ERR_NOT_FOUND; 80 return ERR_NOT_FOUND;
80 81
81 info->format = DISPLAY_FORMAT_RGB_x888; 82 info->format = DISPLAY_FORMAT_RGB_x888;
82 info->width = display_w; 83 info->width = display_w;
83 info->height = display_h; 84 info->height = display_h;
84 85
85 return NO_ERROR; 86 return NO_ERROR;
86 } 87 }
87 88
89 status_t display_present(struct display_image *image, uint starty, uint endy)
90 {
91 TRACEF("display_present - not implemented");
92 DEBUG_ASSERT(false);
93 return NO_ERROR;
94 }
OLDNEW
« no previous file with comments | « dev/virtio/gpu/virtio-gpu.c ('k') | target/qemu-m4/m4display.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698