mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-16 13:34:30 +00:00
drm/radeon: include drm/drm_edid.h only where needed
Including drm_edid.h from radeon_mode.h causes the rebuild of more than a hundred files when drm_edid.h is modified, while there are only a handful of files that actually need to include drm_edid.h. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
91963397c4
commit
e747235ef3
@ -29,6 +29,7 @@
|
||||
#include <linux/pci.h>
|
||||
|
||||
#include <drm/drm_crtc_helper.h>
|
||||
#include <drm/drm_edid.h>
|
||||
#include <drm/drm_file.h>
|
||||
#include <drm/drm_modeset_helper_vtables.h>
|
||||
#include <drm/radeon_drm.h>
|
||||
|
@ -21,6 +21,7 @@
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
#include <linux/hdmi.h>
|
||||
#include <drm/drm_edid.h>
|
||||
|
||||
#include "radeon.h"
|
||||
#include "radeon_asic.h"
|
||||
|
@ -21,6 +21,7 @@
|
||||
*
|
||||
*/
|
||||
#include <linux/hdmi.h>
|
||||
#include <drm/drm_edid.h>
|
||||
|
||||
#include "dce6_afmt.h"
|
||||
#include "radeon.h"
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include <linux/pci.h>
|
||||
#include <linux/slab.h>
|
||||
|
||||
#include <drm/drm_edid.h>
|
||||
#include <drm/drm_vblank.h>
|
||||
#include <drm/radeon_drm.h>
|
||||
#include <drm/drm_fourcc.h>
|
||||
|
@ -26,6 +26,7 @@
|
||||
*/
|
||||
#include <linux/hdmi.h>
|
||||
|
||||
#include <drm/drm_edid.h>
|
||||
#include <drm/radeon_drm.h>
|
||||
#include "evergreen_hdmi.h"
|
||||
#include "radeon.h"
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include <linux/pci.h>
|
||||
|
||||
#include <drm/drm_device.h>
|
||||
#include <drm/drm_edid.h>
|
||||
#include <drm/radeon_drm.h>
|
||||
|
||||
#include "radeon.h"
|
||||
|
@ -27,6 +27,7 @@
|
||||
|
||||
#include <drm/drm_crtc.h>
|
||||
#include <drm/drm_eld.h>
|
||||
#include <drm/drm_edid.h>
|
||||
#include "dce6_afmt.h"
|
||||
#include "evergreen_hdmi.h"
|
||||
#include "radeon.h"
|
||||
|
@ -27,7 +27,9 @@
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
#define RREG32_ENDPOINT(block, reg) \
|
||||
struct cea_sad;
|
||||
|
||||
#define RREG32_ENDPOINT(block, reg) \
|
||||
radeon_audio_endpoint_rreg(rdev, (block), (reg))
|
||||
#define WREG32_ENDPOINT(block, reg, v) \
|
||||
radeon_audio_endpoint_wreg(rdev, (block), (reg), (v))
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include <linux/pci.h>
|
||||
|
||||
#include <drm/drm_device.h>
|
||||
#include <drm/drm_edid.h>
|
||||
#include <drm/radeon_drm.h>
|
||||
|
||||
#include "radeon.h"
|
||||
|
@ -26,6 +26,7 @@
|
||||
|
||||
#include <linux/pci.h>
|
||||
|
||||
#include <drm/drm_edid.h>
|
||||
#include <drm/drm_device.h>
|
||||
#include <drm/radeon_drm.h>
|
||||
|
||||
|
@ -32,13 +32,13 @@
|
||||
|
||||
#include <drm/display/drm_dp_helper.h>
|
||||
#include <drm/drm_crtc.h>
|
||||
#include <drm/drm_edid.h>
|
||||
#include <drm/drm_encoder.h>
|
||||
#include <drm/drm_fixed.h>
|
||||
#include <drm/drm_modeset_helper_vtables.h>
|
||||
#include <linux/i2c.h>
|
||||
#include <linux/i2c-algo-bit.h>
|
||||
|
||||
struct edid;
|
||||
struct radeon_bo;
|
||||
struct radeon_device;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user