drm/msm: avoid loading gpu components if qcom_kgsl present
Avoid loading gpu components from drm driver if qcom_kgsl driver present. Change-Id: I74c65634ce9260fba5bb871b3a9854d2c8173f4e Signed-off-by: Camus Wong <camusw@codeaurora.org> Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
This commit is contained in:
parent
bd20893138
commit
c38bb7f088
1 changed files with 2 additions and 0 deletions
|
@ -2146,7 +2146,9 @@ static int msm_pdev_probe(struct platform_device *pdev)
|
|||
|
||||
#ifdef CONFIG_OF
|
||||
add_components(&pdev->dev, &match, "connectors");
|
||||
#ifndef CONFIG_QCOM_KGSL
|
||||
add_components(&pdev->dev, &match, "gpus");
|
||||
#endif
|
||||
#else
|
||||
/* For non-DT case, it kinda sucks. We don't actually have a way
|
||||
* to know whether or not we are waiting for certain devices (or if
|
||||
|
|
Loading…
Add table
Reference in a new issue