Re: [PATCH] drm/amd/display: Expose support for DRM_FORMAT_RGB565

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

 



On 4/16/19 9:28 AM, Wentland, Harry wrote:
> On 2019-04-15 10:27 a.m., Nicholas Kazlauskas wrote:
>> DC and DM already support DRM_FORMAT_RGB565, it's just missing from the
>> list of valid formats.
>>
>> Cc: Harry Wentland <harry.wentland@xxxxxxx>
>> Cc: Leo Li <sunpeng.li@xxxxxxx>
>> Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@xxxxxxx>
> 
> Reviewed-by: Harry Wentland <harry.wentland@xxxxxxx>
> 
> Harry

Thanks. I'll go ahead and push this one for now.

Regarding Michel's comments, if we want to expose DRM_FORMAT_ARGB1555 
I'll do that in separate patch after some testing.

Nicholas Kazlauskas

> 
>> ---
>>    drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 1 +
>>    1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
>> index 44a8bf8ead79..a5cacf846e1b 100644
>> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
>> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
>> @@ -4274,6 +4274,7 @@ static const uint32_t rgb_formats[] = {
>>    	DRM_FORMAT_ABGR2101010,
>>    	DRM_FORMAT_XBGR8888,
>>    	DRM_FORMAT_ABGR8888,
>> +	DRM_FORMAT_RGB565,
>>    };
>>    
>>    static const uint32_t overlay_formats[] = {
>>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> 

_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx




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

  Powered by Linux