Revert "Return error code for unsuported image arg in gen12lp"

This reverts commit bbc31e6aac


Signed-off-by: Maciej Plewka maciej.plewka@intel.com
This commit is contained in:
Maciej Plewka
2022-11-02 07:29:46 +00:00
committed by Compute-Runtime-Automation
parent 0353116964
commit 7f38c5e633
24 changed files with 126 additions and 624 deletions

View File

@@ -35,7 +35,7 @@ struct AllocationProperties;
struct EncodeSurfaceStateArgs;
struct RootDeviceEnvironment;
struct PipeControlArgs;
enum GFX3DSTATE_SURFACEFORMAT : unsigned short;
class HwHelper {
public:
static HwHelper &get(GFXCORE_FAMILY gfxCore);
@@ -161,7 +161,6 @@ class HwHelper {
virtual bool copyThroughLockedPtrEnabled() const = 0;
virtual uint32_t getAmountOfAllocationsToFill() const = 0;
virtual bool isChipsetUniqueUUIDSupported() const = 0;
virtual bool isSurfaceFormatSupportedForMediaBlockOperation(NEO::GFX3DSTATE_SURFACEFORMAT format) const = 0;
virtual bool isTimestampShiftRequired() const = 0;
protected:
@@ -406,7 +405,6 @@ class HwHelperHw : public HwHelper {
bool copyThroughLockedPtrEnabled() const override;
uint32_t getAmountOfAllocationsToFill() const override;
bool isChipsetUniqueUUIDSupported() const override;
bool isSurfaceFormatSupportedForMediaBlockOperation(NEO::GFX3DSTATE_SURFACEFORMAT format) const override;
bool isTimestampShiftRequired() const override;
protected: