[PATCH] drm/radeon: add proper checking of RESOLVE_BOX command for r600-r700