mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
drm: Rename drm_utils.h to drm_panel_quirks.h
Now that the timeout-related functions were removed from drm_utils.h, the header has exclusively panel orientation and backlight quirk getters. Therefore, rename the header accordingly and update all files that include it. The files amdgpu_dm.c, amdgpu_dm_connector.c and panthor_drv.c include the header but don't use it, so drop the include there. No functional change. Suggested-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Christian König <christian.koenig@amd.com> Link: https://patch.msgid.link/20260915-drm-timeout-helpers-v3-7-f2ae987d861f@igalia.com Signed-off-by: Maíra Canal <mcanal@igalia.com>
This commit is contained in:
parent
88b7a9fb64
commit
1628e34ee6
|
|
@ -98,7 +98,6 @@
|
|||
#include <drm/drm_edid.h>
|
||||
#include <drm/drm_eld.h>
|
||||
#include <drm/drm_mode.h>
|
||||
#include <drm/drm_utils.h>
|
||||
#include <drm/drm_vblank.h>
|
||||
#include <drm/drm_colorop.h>
|
||||
#include <drm/drm_gem_atomic_helper.h>
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
#include <linux/backlight.h>
|
||||
#include <linux/power_supply.h>
|
||||
#include <drm/drm_edid.h>
|
||||
#include <drm/drm_utils.h>
|
||||
#include <drm/drm_panel_quirks.h>
|
||||
|
||||
#include <acpi/video.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -62,7 +62,6 @@
|
|||
#include <drm/drm_fixed.h>
|
||||
#include <drm/drm_mode.h>
|
||||
#include <drm/drm_probe_helper.h>
|
||||
#include <drm/drm_utils.h>
|
||||
#include <drm/display/drm_dp_mst_helper.h>
|
||||
#include <drm/display/drm_hdmi_helper.h>
|
||||
#include <drm/drm_privacy_screen_consumer.h>
|
||||
|
|
|
|||
|
|
@ -28,10 +28,10 @@
|
|||
#include <drm/drm_file.h>
|
||||
#include <drm/drm_managed.h>
|
||||
#include <drm/drm_panel.h>
|
||||
#include <drm/drm_panel_quirks.h>
|
||||
#include <drm/drm_print.h>
|
||||
#include <drm/drm_privacy_screen_consumer.h>
|
||||
#include <drm/drm_sysfs.h>
|
||||
#include <drm/drm_utils.h>
|
||||
|
||||
#include <linux/export.h>
|
||||
#include <linux/platform_device.h>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
#include <linux/export.h>
|
||||
#include <linux/module.h>
|
||||
#include <drm/drm_edid.h>
|
||||
#include <drm/drm_utils.h>
|
||||
#include <drm/drm_panel_quirks.h>
|
||||
|
||||
struct drm_panel_match {
|
||||
enum dmi_field field;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
#include <linux/export.h>
|
||||
#include <linux/module.h>
|
||||
#include <drm/drm_connector.h>
|
||||
#include <drm/drm_utils.h>
|
||||
#include <drm/drm_panel_quirks.h>
|
||||
|
||||
#ifdef CONFIG_DMI
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
#include <drm/drm_ioctl.h>
|
||||
#include <drm/drm_print.h>
|
||||
#include <drm/drm_syncobj.h>
|
||||
#include <drm/drm_utils.h>
|
||||
#include <drm/gpu_scheduler.h>
|
||||
#include <drm/panthor_drm.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@
|
|||
#include <linux/sysfb.h>
|
||||
#include <video/vga.h>
|
||||
#include <asm/efi.h>
|
||||
#include <drm/drm_utils.h> /* For drm_get_panel_orientation_quirk */
|
||||
#include <drm/drm_connector.h> /* For DRM_MODE_PANEL_ORIENTATION_* */
|
||||
#include <drm/drm_panel_quirks.h> /* For drm_get_panel_orientation_quirk */
|
||||
|
||||
struct bmp_file_header {
|
||||
u16 id;
|
||||
|
|
|
|||
|
|
@ -1,14 +1,12 @@
|
|||
/* SPDX-License-Identifier: MIT */
|
||||
/*
|
||||
* Function prototypes for misc. drm utility functions.
|
||||
* Specifically this file is for function prototypes for functions which
|
||||
* may also be used outside of drm code (e.g. in fbdev drivers).
|
||||
* Function prototypes for panel-related quirks.
|
||||
*
|
||||
* Copyright (C) 2017 Hans de Goede <hdegoede@redhat.com>
|
||||
*/
|
||||
|
||||
#ifndef __DRM_UTILS_H__
|
||||
#define __DRM_UTILS_H__
|
||||
#ifndef __DRM_PANEL_QUIRKS_H__
|
||||
#define __DRM_PANEL_QUIRKS_H__
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user