Attention is currently required from: Nico Huber, Martin L Roth, Angel Pons, Nicholas Chin, Patrick Rudolph. Evgeny Zinoviev has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32719 ) Change subject: drivers/apple: Add hybrid graphics driver ...................................................................... Patch Set 28: (10 comments) This change is ready for review. Commit Message: https://review.coreboot.org/c/coreboot/+/32719/comment/c18e2e94_acd264e5 PS14, Line 11: splitted
split Done
Commit Message: https://review.coreboot.org/c/coreboot/+/32719/comment/b608e273_bcbdfad5 PS20, Line 15: ih
hi Done
File src/drivers/apple/hybrid_graphics/acpi/gmux.asl: https://review.coreboot.org/c/coreboot/+/32719/comment/4615384c_fd91fb63 PS20, Line 12: 0x07FF, // Range Maximum
Is the allocator aware of this fixed I/O resource? Please check out hybrid_graphics.c. I'm not sure I'm doing it right.
File src/drivers/apple/hybrid_graphics/chip.h: https://review.coreboot.org/c/coreboot/+/32719/comment/9a117fe6_6b56de5e PS20, Line 14: gmux_indexed
I'd make this a Kconfig option. […] Will do in next iterations.
File src/drivers/apple/hybrid_graphics/chip.h: https://review.coreboot.org/c/coreboot/+/32719/comment/d6cb4a8b_e0756e04 PS8, Line 24: #define HYBRID_GRAPHICS_DEFAULT_GPU HYBRID_GRAPHICS_INTEGRATED
Make it a Kconfig? Will do in next iterations.
File src/drivers/apple/hybrid_graphics/gmux.h: https://review.coreboot.org/c/coreboot/+/32719/comment/49f45f88_9d294f9a PS8, Line 43: #define GMUX_IOSTART 0x700
It would be wise to reserve this for the allocator. For this, […] Please check out hybrid_graphics.c. I'm not sure I'm doing it right.
File src/drivers/apple/hybrid_graphics/hybrid_graphics.c: https://review.coreboot.org/c/coreboot/+/32719/comment/52f0218b_4a4c8725 PS7, Line 35: config = dev->chip_info;
ok Done
https://review.coreboot.org/c/coreboot/+/32719/comment/d1be7987_3a3d55ca PS7, Line 37: printk(BIOS_INFO, "Hybrid graphics: Not installed\n");
agreed. […] Done
File src/drivers/apple/hybrid_graphics/hybrid_graphics.c: https://review.coreboot.org/c/coreboot/+/32719/comment/d24c23e6_17b9c87b PS8, Line 32: /* Don't confuse anyone else and disable the fake device */
This is a copy-pasta from lenovo/hybrid_graphics driver, siro should know :) […] Done
File src/drivers/apple/hybrid_graphics/hybrid_graphics.c: https://review.coreboot.org/c/coreboot/+/32719/comment/5cee364e_f37a7862 PS23, Line 42: get_option
Needs update to use type safe option API Done
-- To view, visit https://review.coreboot.org/c/coreboot/+/32719 To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings Gerrit-Project: coreboot Gerrit-Branch: master Gerrit-Change-Id: I22b66622cd2da0e9951ee726d650d204fbb8a5bc Gerrit-Change-Number: 32719 Gerrit-PatchSet: 28 Gerrit-Owner: Evgeny Zinoviev <me@ch1p.io> Gerrit-Reviewer: Evgeny Zinoviev <me@ch1p.io> Gerrit-Reviewer: Martin L Roth <gaumless@gmail.com> Gerrit-Reviewer: Patrick Rudolph <siro@das-labor.org> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> Gerrit-CC: Angel Pons <th3fanbus@gmail.com> Gerrit-CC: Nicholas Chin <nic.c3.14@gmail.com> Gerrit-CC: Nico Huber <nico.h@gmx.de> Gerrit-CC: Paul Menzel <paulepanter@mailbox.org> Gerrit-Attention: Nico Huber <nico.h@gmx.de> Gerrit-Attention: Martin L Roth <gaumless@gmail.com> Gerrit-Attention: Angel Pons <th3fanbus@gmail.com> Gerrit-Attention: Nicholas Chin <nic.c3.14@gmail.com> Gerrit-Attention: Patrick Rudolph <siro@das-labor.org> Gerrit-Comment-Date: Sun, 15 Jan 2023 02:02:46 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: Nico Huber <nico.h@gmx.de> Comment-In-Reply-To: Angel Pons <th3fanbus@gmail.com> Comment-In-Reply-To: Evgeny Zinoviev <me@ch1p.io> Comment-In-Reply-To: Nicholas Chin <nic.c3.14@gmail.com> Comment-In-Reply-To: Patrick Rudolph <siro@das-labor.org> Gerrit-MessageType: comment