Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72341af4 authored by Jani Nikula's avatar Jani Nikula
Browse files

drm/i915: hide away VBT private data in a separate header



We've been accumulating code across the driver that depends on the VBT
specific structures and defines. The VBT is an uncontrollable
beast. Encourage encapsulation of the VBT data by hiding the structures
and defines in a private header only to be included from intel_bios.c.

Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1458125015-7931-7-git-send-email-jani.nikula@intel.com
parent 52e2abb3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3334,7 +3334,7 @@ int num_ioctls;</synopsis>
	<title>Video BIOS Table (VBT)</title>
!Pdrivers/gpu/drm/i915/intel_bios.c Video BIOS Table (VBT)
!Idrivers/gpu/drm/i915/intel_bios.c
!Idrivers/gpu/drm/i915/intel_bios.h
!Idrivers/gpu/drm/i915/intel_vbt_defs.h
      </sect2>
    </sect1>

+3 −1
Original line number Diff line number Diff line
@@ -29,7 +29,9 @@
#include <drm/drmP.h>
#include <drm/i915_drm.h>
#include "i915_drv.h"
#include "intel_bios.h"

#define _INTEL_BIOS_PRIVATE
#include "intel_vbt_defs.h"

/**
 * DOC: Video BIOS Table (VBT)
+35 −826

File changed.

Preview size limit exceeded, changes collapsed.

+826 −0

File added.

Preview size limit exceeded, changes collapsed.