mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-10 07:44:23 +08:00
drm/amd/display: clean up some header paths
[Why] Some include paths don't need to have relative paths And some types missing [How] make some changes to headers and modify include path Signed-off-by: Anthony Koo <Anthony.Koo@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
d561754132
commit
d3b18f8c6f
@ -27,7 +27,7 @@
|
||||
#define _DMUB_DC_SRV_H_
|
||||
|
||||
#include "os_types.h"
|
||||
#include "../dmub/inc/dmub_cmd.h"
|
||||
#include "dmub/inc/dmub_cmd.h"
|
||||
|
||||
struct dmub_srv;
|
||||
struct dmub_cmd_header;
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "dce_abm.h"
|
||||
#include "dc.h"
|
||||
#include "dc_dmub_srv.h"
|
||||
#include "../../dmub/inc/dmub_srv.h"
|
||||
#include "dmub/inc/dmub_srv.h"
|
||||
#include "core_types.h"
|
||||
#include "dm_services.h"
|
||||
#include "reg_helper.h"
|
||||
|
@ -26,8 +26,8 @@
|
||||
#include "dmub_psr.h"
|
||||
#include "dc.h"
|
||||
#include "dc_dmub_srv.h"
|
||||
#include "../../dmub/inc/dmub_srv.h"
|
||||
#include "../../dmub/inc/dmub_gpint_cmd.h"
|
||||
#include "dmub/inc/dmub_srv.h"
|
||||
#include "dmub/inc/dmub_gpint_cmd.h"
|
||||
#include "core_types.h"
|
||||
|
||||
#define MAX_PIPES 6
|
||||
|
@ -215,11 +215,6 @@ struct dmub_rb_cmd_dpphy_init {
|
||||
uint8_t reserved[60];
|
||||
};
|
||||
|
||||
struct dmub_psr_debug_flags {
|
||||
uint8_t visual_confirm : 1;
|
||||
uint8_t reserved : 7;
|
||||
};
|
||||
|
||||
struct dmub_cmd_psr_copy_settings_data {
|
||||
uint16_t psr_level;
|
||||
uint8_t dpp_inst;
|
||||
|
@ -49,6 +49,12 @@ extern "C" {
|
||||
#define dmub_udelay(microseconds) udelay(microseconds)
|
||||
#endif
|
||||
|
||||
/* Maximum number of streams on any ASIC. */
|
||||
#define DMUB_MAX_STREAMS 6
|
||||
|
||||
/* Maximum number of planes on any ASIC. */
|
||||
#define DMUB_MAX_PLANES 6
|
||||
|
||||
union dmub_addr {
|
||||
struct {
|
||||
uint32_t low_part;
|
||||
@ -57,6 +63,11 @@ union dmub_addr {
|
||||
uint64_t quad_part;
|
||||
};
|
||||
|
||||
struct dmub_psr_debug_flags {
|
||||
uint8_t visual_confirm : 1;
|
||||
uint8_t reserved : 7;
|
||||
};
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user