mirror of https://gitee.com/openkylin/linux.git
drm/etnaviv: re-enable perfmon support
Now that the PMR lifetime issues are solved we can safely re-enable performance counter profiling support. Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
This commit is contained in:
parent
8bda1516fb
commit
a7cfa565d4
|
@ -459,9 +459,6 @@ static int etnaviv_ioctl_pm_query_dom(struct drm_device *dev, void *data,
|
|||
struct drm_etnaviv_pm_domain *args = data;
|
||||
struct etnaviv_gpu *gpu;
|
||||
|
||||
/* reject as long as the feature isn't stable */
|
||||
return -EINVAL;
|
||||
|
||||
if (args->pipe >= ETNA_MAX_PIPES)
|
||||
return -EINVAL;
|
||||
|
||||
|
@ -479,9 +476,6 @@ static int etnaviv_ioctl_pm_query_sig(struct drm_device *dev, void *data,
|
|||
struct drm_etnaviv_pm_signal *args = data;
|
||||
struct etnaviv_gpu *gpu;
|
||||
|
||||
/* reject as long as the feature isn't stable */
|
||||
return -EINVAL;
|
||||
|
||||
if (args->pipe >= ETNA_MAX_PIPES)
|
||||
return -EINVAL;
|
||||
|
||||
|
@ -556,7 +550,7 @@ static struct drm_driver etnaviv_drm_driver = {
|
|||
.desc = "etnaviv DRM",
|
||||
.date = "20151214",
|
||||
.major = 1,
|
||||
.minor = 1,
|
||||
.minor = 2,
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue