Files
linux/drivers/gpu/drm/amd/display/dc/inc/hw/dio.h
Bhuvanachandra Pinninti b82f075934 drm/amd/display: Migrate DIO registers access from hwseq to dio component.
[why]
Direct DIO registers access in hwseq layer was creating register conflicts.

[how]
Migrated DIO registers from hwseq to dio component.

Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Signed-off-by: Bhuvanachandra Pinninti <bpinnint@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2026-02-03 16:43:03 -05:00

23 lines
373 B
C

// SPDX-License-Identifier: MIT
//
// Copyright 2025 Advanced Micro Devices, Inc.
#ifndef __DC_DIO_H__
#define __DC_DIO_H__
#include "dc_types.h"
struct dc_context;
struct dio;
struct dio_funcs {
void (*mem_pwr_ctrl)(struct dio *dio, bool enable_i2c_light_sleep);
};
struct dio {
const struct dio_funcs *funcs;
struct dc_context *ctx;
};
#endif /* __DC_DIO_H__ */