drm/panfrost: Skip speed binning on EOPNOTSUPP
authorDavid Michael <fedora.dm0@gmail.com>
Wed, 16 Aug 2023 01:42:41 +0000 (21:42 -0400)
committerSteven Price <steven.price@arm.com>
Mon, 21 Aug 2023 14:38:54 +0000 (15:38 +0100)
commitf19df6e4de64b7fc6d71f192aa9ff3b701e4bade
tree24886fdef89be53bb4a14d06a5749cc2c925a38e
parent20c827683de05a6c7e7ae7fae586899690693251
drm/panfrost: Skip speed binning on EOPNOTSUPP

Encountered on an ARM Mali-T760 MP4, attempting to read the nvmem
variable can also return EOPNOTSUPP instead of ENOENT when speed
binning is unsupported.

Cc: <stable@vger.kernel.org>
Fixes: 7d690f936e9b ("drm/panfrost: Add basic support for speed binning")
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/87msyryd7y.fsf@gmail.com
drivers/gpu/drm/panfrost/panfrost_devfreq.c