MGS-2730 gpu-viv : Set Unique for Vivante DRM Driver
authorPrabhu Sundararaj <prabhu.sundararaj@nxp.com>
Fri, 10 Mar 2017 23:10:29 +0000 (17:10 -0600)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:10:53 +0000 (15:10 -0500)
commit05c27cb978f7d293a020220f57f3c9934a28cc8b
tree9b8b334fad8e295a099bb891f868895c80e8a9cd
parentb59a74472ac27cf007e75e52df796baf225fa62f
MGS-2730 gpu-viv : Set Unique for Vivante DRM Driver

1. unique need to be set to get proper busid.
   Vivante driver is very simple and does not use drm_dev_alloc
   which in turn calls drm_dev_set_unique.
   Use set_busid to set the unique.

   https://patchwork.kernel.org/patch/9182749/

2. driver_features = DRIVER_LEGACY added to do mmap of SHM.
   https://patchwork.kernel.org/patch/8694561/

fix the problem that X11 cannot work with 4.9 kernel upgrade

Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@nxp.com>
drivers/gpu/drm/vivante/vivante_drv.c