提交 72341af4 编写于 作者: J Jani Nikula

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: NDaniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: NJani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1458125015-7931-7-git-send-email-jani.nikula@intel.com
上级 52e2abb3
...@@ -3334,7 +3334,7 @@ int num_ioctls;</synopsis> ...@@ -3334,7 +3334,7 @@ int num_ioctls;</synopsis>
<title>Video BIOS Table (VBT)</title> <title>Video BIOS Table (VBT)</title>
!Pdrivers/gpu/drm/i915/intel_bios.c Video BIOS Table (VBT) !Pdrivers/gpu/drm/i915/intel_bios.c Video BIOS Table (VBT)
!Idrivers/gpu/drm/i915/intel_bios.c !Idrivers/gpu/drm/i915/intel_bios.c
!Idrivers/gpu/drm/i915/intel_bios.h !Idrivers/gpu/drm/i915/intel_vbt_defs.h
</sect2> </sect2>
</sect1> </sect1>
......
...@@ -29,7 +29,9 @@ ...@@ -29,7 +29,9 @@
#include <drm/drmP.h> #include <drm/drmP.h>
#include <drm/i915_drm.h> #include <drm/i915_drm.h>
#include "i915_drv.h" #include "i915_drv.h"
#include "intel_bios.h"
#define _INTEL_BIOS_PRIVATE
#include "intel_vbt_defs.h"
/** /**
* DOC: Video BIOS Table (VBT) * DOC: Video BIOS Table (VBT)
......
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册