Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/22615 )
Change subject: soc/intel/skylake: Make use of Intel common Graphics block
......................................................................
Patch Set 1:
(3 comments)
https://review.coreboot.org/#/c/22615/1/src/soc/intel/skylake/graphics.c
File src/soc/intel/skylake/graphics.c:
https://review.coreboot.org/#/c/22615/1/src/soc/intel/skylake/graphics.c@17
PS1, Line 17: #include <arch/io.h>
Is this required?
https://review.coreboot.org/#/c/22615/1/src/soc/intel/skylake/graphics.c@39
PS1, Line 39: graphics_gtt_read
Before this change, igd_init checked to ensure that the base was not 0 before doing any other operation. The behavior now is not the same.
Do we want to return a success/error for the read/write operations here and bail out early if any of those fail?
https://review.coreboot.org/#/c/22615/1/src/soc/intel/skylake/graphics.c@86
PS1, Line 86: return 0;
This function always returns 0. Is it really useful to have a return type for the function?
--
To view, visit https://review.coreboot.org/22615
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I416226d0374700cea6eea602f839c3d17f1f39a6
Gerrit-Change-Number: 22615
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 28 Nov 2017 20:54:21 +0000
Gerrit-HasComments: Yes