mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 11:06:10 +00:00
Kernel: Move all Graphics-related code into Devices/GPU directory
Like the HID, Audio and Storage subsystem, the Graphics subsystem (which handles GPUs technically) exposes unix device files (typically in /dev). To ensure consistency across the repository, move all related files to a new directory under Kernel/Devices called "GPU". Also remove the redundant "GPU" word from the VirtIO driver directory, and the word "Graphics" from GraphicsManagement.{h,cpp} filenames.
This commit is contained in:
parent
31a7dabf02
commit
9ee098b119
Notes:
sideshowbarker
2024-07-17 00:23:42 +09:00
Author: https://github.com/supercomputer7
Commit: 9ee098b119
Pull-request: https://github.com/SerenityOS/serenity/pull/19241
Reviewed-by: https://github.com/gmta ✅
69 changed files with 167 additions and 167 deletions
16
Kernel/Devices/GPU/Definitions.h
Normal file
16
Kernel/Devices/GPU/Definitions.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* Copyright (c) 2021-2022, Liav A. <liavalb@hotmail.co.il>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/Types.h>
|
||||
|
||||
namespace Kernel::Graphics {
|
||||
|
||||
// Note: Address 0x50 is expected to be the DDC2 (EDID) i2c address.
|
||||
static constexpr u8 ddc2_i2c_address = 0x50;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue