[Freedreno] [PATCH 1/2] drm/sched: Rename priority MIN to LOW
Luben Tuikov
ltuikov89 at gmail.com
Mon Nov 27 14:13:33 UTC 2023
On 2023-11-27 08:55, Christian König wrote:
> Hi Luben,
>
> Am 24.11.23 um 08:57 schrieb Christian König:
>> Am 24.11.23 um 06:27 schrieb Luben Tuikov:
>>> Rename DRM_SCHED_PRIORITY_MIN to DRM_SCHED_PRIORITY_LOW.
>>>
>>> This mirrors DRM_SCHED_PRIORITY_HIGH, for a list of DRM scheduler
>>> priorities
>>> in ascending order,
>>> DRM_SCHED_PRIORITY_LOW,
>>> DRM_SCHED_PRIORITY_NORMAL,
>>> DRM_SCHED_PRIORITY_HIGH,
>>> DRM_SCHED_PRIORITY_KERNEL.
>>>
>>> Cc: Rob Clark <robdclark at gmail.com>
>>> Cc: Abhinav Kumar <quic_abhinavk at quicinc.com>
>>> Cc: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
>>> Cc: Danilo Krummrich <dakr at redhat.com>
>>> Cc: Alex Deucher <alexander.deucher at amd.com>
>>> Cc: Christian König <christian.koenig at amd.com>
>>> Cc: linux-arm-msm at vger.kernel.org
>>> Cc: freedreno at lists.freedesktop.org
>>> Cc: dri-devel at lists.freedesktop.org
>>> Signed-off-by: Luben Tuikov <ltuikov89 at gmail.com>
>>
>> Reviewed-by: Christian König <christian.koenig at amd.com>
>
> Looks like you missed one usage in Nouveau:
>
> drivers/gpu/drm/nouveau/nouveau_sched.c:21:41: error:
> ‘DRM_SCHED_PRIORITY_MIN’ undeclared here (not in a function); did you
> mean ‘DRM_SCHED_PRIORITY_LOW’?
> 21 | NOUVEAU_SCHED_PRIORITY_SINGLE = DRM_SCHED_PRIORITY_MIN,
> | ^~~~~~~~~~~~~~~~~~~~~~
> | DRM_SCHED_PRIORITY_LOW
>
> This now results in a build error on drm-misc-next.
I'm waiting for someone to R-B the fix I posted two days ago:
https://lore.kernel.org/r/20231125192246.87268-2-ltuikov89@gmail.com
--
Regards,
Luben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x4C15479431A334AF.asc
Type: application/pgp-keys
Size: 664 bytes
Desc: OpenPGP public key
URL: <https://lists.freedesktop.org/archives/freedreno/attachments/20231127/3e3f895c/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/freedreno/attachments/20231127/3e3f895c/attachment.sig>
More information about the Freedreno
mailing list