]> asedeno.scripts.mit.edu Git - linux.git/commit
drm: aspeed: Clean up Kconfig options
authorJoel Stanley <joel@jms.id.au>
Fri, 5 Apr 2019 08:11:17 +0000 (18:41 +1030)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 16 Apr 2019 14:39:24 +0000 (16:39 +0200)
commit76356a966e332fa0f70d10fd74a66d518af8ce0a
tree065e898d1b9c63d2461ae621052684d8cf443f5e
parent5e498abf14858945f1249d9cc4ff1e8715a307e3
drm: aspeed: Clean up Kconfig options

The GFX IP is inside of the ASPEED BMC SoC so there is little use
enabling it on a kernel that does not support ASPEED.

When building with COMPILE_TEST the architecture many not have CMA
support, so to avoid breaking the build we only select these options if
the architecture supports the contiguous allocator.

I suspect the DRM_PANEL came from a cut/paste error.

Fixes: 4f2a8f5898ec ("drm: Add ASPEED GFX driver")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190405081117.27339-1-joel@jms.id.au
drivers/gpu/drm/aspeed/Kconfig