Re: [PATCH 03/22] drm/i915/fb: convert parts of intel_fb.c to struct drm_gem_object

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 17 Sep 2024, Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx> 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



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux