File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
drivers/gpu/drm/hisilicon/hibmc Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ config DRM_HISI_HIBMC
3
3
tristate "DRM Support for Hisilicon Hibmc"
4
4
depends on DRM && PCI && (ARM64 || COMPILE_TEST)
5
5
depends on MMU
6
+ select DRM_CLIENT_SELECTION
6
7
select DRM_KMS_HELPER
7
8
select DRM_VRAM_HELPER
8
9
select DRM_TTM
Original file line number Diff line number Diff line change 16
16
17
17
#include <drm/drm_aperture.h>
18
18
#include <drm/drm_atomic_helper.h>
19
+ #include <drm/drm_client_setup.h>
19
20
#include <drm/drm_drv.h>
20
21
#include <drm/drm_fbdev_ttm.h>
21
22
#include <drm/drm_gem_framebuffer_helper.h>
@@ -63,6 +64,7 @@ static const struct drm_driver hibmc_driver = {
63
64
.debugfs_init = drm_vram_mm_debugfs_init ,
64
65
.dumb_create = hibmc_dumb_create ,
65
66
.dumb_map_offset = drm_gem_ttm_dumb_map_offset ,
67
+ DRM_FBDEV_TTM_DRIVER_OPS ,
66
68
};
67
69
68
70
static int __maybe_unused hibmc_pm_suspend (struct device * dev )
@@ -339,7 +341,7 @@ static int hibmc_pci_probe(struct pci_dev *pdev,
339
341
goto err_unload ;
340
342
}
341
343
342
- drm_fbdev_ttm_setup (dev , 32 );
344
+ drm_client_setup (dev , NULL );
343
345
344
346
return 0 ;
345
347
You can’t perform that action at this time.
0 commit comments