[PATCH 3/9] drm/vmwgfx: Fix subresource updates with new contexts

Thomas Hellström (Intel) thomas_os at shipmail.org
Thu Jun 10 06:49:00 UTC 2021


Hi,

On 6/9/21 7:23 PM, Zack Rusin wrote:
> The has_dx variable was only set during the initialization which
> meant that UPDATE_SUBRESOURCE was never used. We were emulating it
> with UPDATE_GB_IMAGE but that's always been a stop-gap. Instead
> of has_dx which has been deprecated a long time ago we need to check
> for whether shader model 4.0 or newer is available to the device.

Stupid question perhaps, but isn't UPDATE_SUBRESOURCE available with 
SVGA_CAP_DX regardless of the SM capabilities of the underlying device?

Thanks,

Thomas




More information about the dri-devel mailing list