Skip to content

Commit 0b93efc

Browse files
rddunlapzhenyw
authored andcommitted
drm/i915: move a Kconfig symbol to unbreak the menu presentation
Inserting a Kconfig symbol that does not have a dependency (DRM_I915_GVT) into a list of other symbols that do have a dependency (on DRM_I915) breaks the driver menu presentation in 'make *config'. Relocate the DRM_I915_GVT symbol so that it does not cause this problem. Fixes: 8b750bf ("drm/i915/gvt: move the gvt code into kvmgt.ko") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Christoph Hellwig <hch@lst.de> Cc: Zhi Wang <zhi.a.wang@intel.com> Cc: Jani Nikula <jani.nikula@linux.intel.com> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Cc: Zhenyu Wang <zhenyuw@linux.intel.com> Cc: intel-gfx@lists.freedesktop.org Cc: intel-gvt-dev@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Reviewed-by: Christoph Hellwig <hch@lst.de> Acked-by: Zhenyu Wang <zhenyuw@linux.intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20230215044533.4847-1-rdunlap@infradead.org
1 parent 9203a64 commit 0b93efc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/gpu/drm/i915/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,6 @@ config DRM_I915_USERPTR
118118

119119
If in doubt, say "Y".
120120

121-
config DRM_I915_GVT
122-
bool
123-
124121
config DRM_I915_GVT_KVMGT
125122
tristate "Enable KVM host support Intel GVT-g graphics virtualization"
126123
depends on DRM_I915
@@ -171,3 +168,6 @@ menu "drm/i915 Unstable Evolution"
171168
depends on DRM_I915
172169
source "drivers/gpu/drm/i915/Kconfig.unstable"
173170
endmenu
171+
172+
config DRM_I915_GVT
173+
bool

0 commit comments

Comments
 (0)