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

Side by Side Diff: target/stm32746g-eval2/lcd.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 | « target/qemu-m4/m4display.c ('k') | target/stm32f746g-disco/lcd.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) 2015 Travis Geiselbrecht 2 * Copyright (c) 2015 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:
(...skipping 30 matching lines...) Expand all
41 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 41 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
42 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 42 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
43 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 43 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
44 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 44 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
45 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 45 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
46 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 46 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
47 * 47 *
48 ****************************************************************************** 48 ******************************************************************************
49 */ 49 */
50 50
51 #include <assert.h>
51 #include <err.h> 52 #include <err.h>
52 #include <debug.h> 53 #include <debug.h>
53 #include <trace.h> 54 #include <trace.h>
54 #include <target.h> 55 #include <target.h>
55 #include <compiler.h> 56 #include <compiler.h>
56 #include <string.h> 57 #include <string.h>
57 #include <dev/gpio.h> 58 #include <dev/gpio.h>
58 #include <dev/display.h> 59 #include <dev/display.h>
59 #include <arch/ops.h> 60 #include <arch/ops.h>
60 #include <platform/stm32.h> 61 #include <platform/stm32.h>
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 } else { 423 } else {
423 panic("unhandled pixel format\n"); 424 panic("unhandled pixel format\n");
424 return ERR_NOT_FOUND; 425 return ERR_NOT_FOUND;
425 } 426 }
426 427
427 info->width = BSP_LCD_GetXSize(); 428 info->width = BSP_LCD_GetXSize();
428 info->height = BSP_LCD_GetYSize(); 429 info->height = BSP_LCD_GetYSize();
429 430
430 return NO_ERROR; 431 return NO_ERROR;
431 } 432 }
433
434 status_t display_present(struct display_image *image, uint starty, uint endy)
435 {
436 TRACEF("display_present - not implemented");
437 DEBUG_ASSERT(false);
438 return NO_ERROR;
439 }
OLDNEW
« no previous file with comments | « target/qemu-m4/m4display.c ('k') | target/stm32f746g-disco/lcd.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698