[PATCH 03/22] drm/i915/fb: convert parts of intel_fb.c to struct drm_gem_object
Jani Nikula
jani.nikula at intel.com
Wed Sep 18 06:26:08 UTC 2024
On Tue, 17 Sep 2024, Maarten Lankhorst <maarten.lankhorst at linux.intel.com> wrote:
> Den 2024-09-17 kl. 18:13, skrev Jani Nikula:
>> diff --git a/drivers/gpu/drm/xe/display/intel_bo.c b/drivers/gpu/drm/xe/display/intel_bo.c
>> index d564fb7d85e5..f57b684050da 100644
>> --- a/drivers/gpu/drm/xe/display/intel_bo.c
>> +++ b/drivers/gpu/drm/xe/display/intel_bo.c
>> @@ -10,3 +10,13 @@ bool intel_bo_is_tiled(struct drm_gem_object *obj)
>> /* legacy tiling is unused */
>> return false;
>> }
>> +
>> +bool intel_bo_is_userptr(struct drm_gem_object *obj)
>> +{
>> + /* legacy tiling is unused */
> This comment should be 'xe does not have userptr bos'. :)
Ack, I just copy-pasted this from compat i915_gem_object_is_userptr().
BR,
Jani.
>> + return false;
>> +}
>> +
>> +void intel_bo_flush_if_display(struct drm_gem_object *obj)
>> +{
>> +}
>
--
Jani Nikula, Intel
More information about the Intel-gfx
mailing list