mirror of https://gitee.com/openkylin/linux.git
drm/nouveau: remove misleading comment from nouveau_prime_new
Copy/pasted from nouveau_gem_new. Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
ae4ba7371c
commit
3f69e7605d
|
@ -155,10 +155,6 @@ nouveau_prime_new(struct drm_device *dev,
|
||||||
return ret;
|
return ret;
|
||||||
nvbo = *pnvbo;
|
nvbo = *pnvbo;
|
||||||
|
|
||||||
/* we restrict allowed domains on nv50+ to only the types
|
|
||||||
* that were requested at creation time. not possibly on
|
|
||||||
* earlier chips without busting the ABI.
|
|
||||||
*/
|
|
||||||
nvbo->valid_domains = NOUVEAU_GEM_DOMAIN_GART;
|
nvbo->valid_domains = NOUVEAU_GEM_DOMAIN_GART;
|
||||||
nvbo->gem = drm_gem_object_alloc(dev, nvbo->bo.mem.size);
|
nvbo->gem = drm_gem_object_alloc(dev, nvbo->bo.mem.size);
|
||||||
if (!nvbo->gem) {
|
if (!nvbo->gem) {
|
||||||
|
|
Loading…
Reference in New Issue