drm/edid: move all internal declarations to drm_crtc_internal.h
The declarations for internal EDID functions are a bit scattered. Put them all in drm_crtc_internal.h. Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/9ae137ea51f9cc2ccb3899b0acda553e6a8ce2db.1713259151.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
44e030d8a5
commit
4e765920ee
@ -43,12 +43,14 @@ enum drm_color_range;
|
||||
enum drm_connector_force;
|
||||
enum drm_mode_status;
|
||||
|
||||
struct cea_sad;
|
||||
struct drm_atomic_state;
|
||||
struct drm_bridge;
|
||||
struct drm_connector;
|
||||
struct drm_crtc;
|
||||
struct drm_device;
|
||||
struct drm_display_mode;
|
||||
struct drm_edid;
|
||||
struct drm_file;
|
||||
struct drm_framebuffer;
|
||||
struct drm_mode_create_dumb;
|
||||
@ -297,6 +299,10 @@ void drm_mode_fixup_1366x768(struct drm_display_mode *mode);
|
||||
int drm_edid_override_show(struct drm_connector *connector, struct seq_file *m);
|
||||
int drm_edid_override_set(struct drm_connector *connector, const void *edid, size_t size);
|
||||
int drm_edid_override_reset(struct drm_connector *connector);
|
||||
const u8 *drm_find_edid_extension(const struct drm_edid *drm_edid,
|
||||
int ext_id, int *ext_index);
|
||||
void drm_edid_cta_sad_get(const struct cea_sad *cta_sad, u8 *sad);
|
||||
void drm_edid_cta_sad_set(struct cea_sad *cta_sad, const u8 *sad);
|
||||
|
||||
/* drm_edid_load.c */
|
||||
#ifdef CONFIG_DRM_LOAD_EDID_FIRMWARE
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include <drm/drm_edid.h>
|
||||
#include <drm/drm_print.h>
|
||||
|
||||
#include "drm_crtc_internal.h"
|
||||
#include "drm_displayid_internal.h"
|
||||
|
||||
static const struct displayid_header *
|
||||
|
@ -3,10 +3,12 @@
|
||||
* Copyright © 2023 Intel Corporation
|
||||
*/
|
||||
|
||||
#include <linux/export.h>
|
||||
|
||||
#include <drm/drm_edid.h>
|
||||
#include <drm/drm_eld.h>
|
||||
|
||||
#include "drm_internal.h"
|
||||
#include "drm_crtc_internal.h"
|
||||
|
||||
/**
|
||||
* drm_eld_sad_get - get SAD from ELD to struct cea_sad
|
||||
|
@ -35,7 +35,6 @@
|
||||
|
||||
#define DRM_IF_VERSION(maj, min) (maj << 16 | min)
|
||||
|
||||
struct cea_sad;
|
||||
struct dentry;
|
||||
struct dma_buf;
|
||||
struct iosys_map;
|
||||
@ -278,8 +277,4 @@ void drm_framebuffer_print_info(struct drm_printer *p, unsigned int indent,
|
||||
const struct drm_framebuffer *fb);
|
||||
void drm_framebuffer_debugfs_init(struct drm_device *dev);
|
||||
|
||||
/* drm_edid.c */
|
||||
void drm_edid_cta_sad_get(const struct cea_sad *cta_sad, u8 *sad);
|
||||
void drm_edid_cta_sad_set(struct cea_sad *cta_sad, const u8 *sad);
|
||||
|
||||
#endif /* __DRM_INTERNAL_H__ */
|
||||
|
@ -485,7 +485,4 @@ void drm_edid_get_product_id(const struct drm_edid *drm_edid,
|
||||
void drm_edid_print_product_id(struct drm_printer *p,
|
||||
const struct drm_edid_product_id *id, bool raw);
|
||||
|
||||
const u8 *drm_find_edid_extension(const struct drm_edid *drm_edid,
|
||||
int ext_id, int *ext_index);
|
||||
|
||||
#endif /* __DRM_EDID_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user