Commit f0feb1b9a225185b540e8ebdcdbe97e908a31e8e
Committed by
Jacob Stiffler
1 parent
f2978651e3
Exists in
smarc-ti-linux-3.14.y
and in
1 other branch
drm: remove automatic load of omapdrm_pvr
omapdrm plugin patch automatically tries to load the SGX (omapdrm_pvr) kernel module as part of dev_open. The name of SGX kernel module in Android is pvrsrvkm. This patch removes the auto-load of omapdrm_pvr kernel module to ensure common code base across Linux and Android. Change-Id: I03d7e92b9e6f9addd41e83614e8878d8cfc244b7 Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
Showing 1 changed file with 0 additions and 13 deletions Side-by-side Diff
drivers/gpu/drm/omapdrm/omap_drv.c
... | ... | @@ -624,24 +624,11 @@ |
624 | 624 | static int dev_open(struct drm_device *dev, struct drm_file *file) |
625 | 625 | { |
626 | 626 | struct omap_drm_plugin *plugin; |
627 | - bool found_pvr = false; | |
628 | 627 | int ret; |
629 | 628 | |
630 | 629 | file->driver_priv = kzalloc(sizeof(void *) * MAX_MAPPERS, GFP_KERNEL); |
631 | 630 | |
632 | 631 | DBG("open: dev=%p, file=%p", dev, file); |
633 | - | |
634 | - list_for_each_entry(plugin, &plugin_list, list) { | |
635 | - if (!strcmp(DRIVER_NAME "_pvr", plugin->name)) { | |
636 | - found_pvr = true; | |
637 | - break; | |
638 | - } | |
639 | - } | |
640 | - | |
641 | - if (!found_pvr) { | |
642 | - DBG("open: PVR submodule not loaded.. let's try now"); | |
643 | - request_module(DRIVER_NAME "_pvr"); | |
644 | - } | |
645 | 632 | |
646 | 633 | list_for_each_entry(plugin, &plugin_list, list) { |
647 | 634 | ret = plugin->open(dev, file); |